Class GroundShader

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, IntShader
Direct Known Subclasses:
TessellationShader

public class GroundShader extends RelativisticShader
  • Field Details Link icon

    • fAlpha Link icon

      public final int fAlpha
    • fCameraHeight Link icon

      public final int fCameraHeight
    • fOuterRadius Link icon

      public final int fOuterRadius
    • fInnerRadius Link icon

      public final int fInnerRadius
    • fKrESun Link icon

      public final int fKrESun
    • fKmESun Link icon

      public final int fKmESun
    • fKr4PI Link icon

      public final int fKr4PI
    • fKm4PI Link icon

      public final int fKm4PI
    • fScale Link icon

      public final int fScale
    • fScaleDepth Link icon

      public final int fScaleDepth
    • fScaleOverScaleDepth Link icon

      public final int fScaleOverScaleDepth
    • nSamples Link icon

      public final int nSamples
    • fogDensity Link icon

      public final int fogDensity
    • fogColor Link icon

      public final int fogColor
    • g Link icon

      public final int g
    • v3PlanetPos Link icon

      public final int v3PlanetPos
    • v3LightPos Link icon

      public final int v3LightPos
    • v3CameraPos Link icon

      public final int v3CameraPos
    • v3InvWavelength Link icon

      public final int v3InvWavelength
  • Constructor Details Link icon

  • Method Details Link icon

    • createPrefix Link icon

      public static String createPrefix(IntRenderable renderable, DefaultIntShader.Config config)
    • canRender Link icon

      public boolean canRender(IntRenderable renderable)
      Description copied from interface: IntShader
      Checks whether this shader is intended to render the IntRenderable. Use this to make sure a call to the IntShader.render(IntRenderable) method will succeed. This is expected to be a fast, non-blocking method. Note that this method will only return true if it is intended to be used. Even when it returns false the IntShader might still be capable of rendering, but it's not preferred to do so.
      Specified by:
      canRender in interface IntShader
      Overrides:
      canRender in class DefaultIntShader
      Parameters:
      renderable - The renderable to check against this shader.
      Returns:
      true if this shader is intended to render the IntRenderable, false otherwise.