Class TextureClipmap

java.lang.Object
com.ardor3d.extension.terrain.client.TextureClipmap

public class TextureClipmap extends Object
An implementation of texture clipmapping
  • Constructor Details

  • Method Details

    • update

      public void update(Renderer renderer, ReadOnlyVector3 position)
    • regenerate

      public void regenerate(Renderer renderer)
    • getTexture

      public Texture getTexture()
    • reloadShader

      public void reloadShader()
    • getShaderState

      public GLSLShaderObjectsState getShaderState()
    • setShaderState

      public void setShaderState(GLSLShaderObjectsState textureClipmapShader)
    • clamp

      public static int clamp(int x, int low, int high)
    • getScale

      public float getScale()
    • setScale

      public void setScale(float scale)
    • isShowDebug

      public boolean isShowDebug()
    • setShowDebug

      public void setShowDebug(boolean showDebug)
    • getTextureSize

      public int getTextureSize()
    • getTextureLevels

      public int getTextureLevels()
    • getValidLevels

      public int getValidLevels()
    • setMinVisibleLevel

      public void setMinVisibleLevel(int level)
      set the minimum (highest resolution) clipmap level visible
      Parameters:
      level - clamped to valid range
    • getMinVisibleLevel

      public int getMinVisibleLevel()
    • shutdown

      public void shutdown()