Class GroundShader

    • Field Detail

      • fAlpha

        public final int fAlpha
      • fCameraHeight

        public final int fCameraHeight
      • fCameraHeight2

        public final int fCameraHeight2
      • fOuterRadius

        public final int fOuterRadius
      • fOuterRadius2

        public final int fOuterRadius2
      • fInnerRadius

        public final int fInnerRadius
      • fInnerRadius2

        public final int fInnerRadius2
      • fKrESun

        public final int fKrESun
      • fKmESun

        public final int fKmESun
      • fKr4PI

        public final int fKr4PI
      • fKm4PI

        public final int fKm4PI
      • fScale

        public final int fScale
      • fScaleDepth

        public final int fScaleDepth
      • fScaleOverScaleDepth

        public final int fScaleOverScaleDepth
      • nSamples

        public final int nSamples
      • fSamples

        public final int fSamples
      • fogDensity

        public final int fogDensity
      • fogColor

        public final int fogColor
      • g

        public final int g
      • g2

        public final int g2
      • v3PlanetPos

        public final int v3PlanetPos
      • v3LightPos

        public final int v3LightPos
      • v3CameraPos

        public final int v3CameraPos
      • v3InvWavelength

        public final int v3InvWavelength
    • Method Detail

      • canRender

        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.