Class EXTShadowSamplers

java.lang.Object
org.lwjgl.opengles.EXTShadowSamplers

public final class EXTShadowSamplers extends Object
Native bindings to the EXT_shadow_samplers extension.

This extension supports comparing the texture R coordinate to a depth texture value returning the result as a float value in the range [0,1]. This can be used to implement shadow maps.

Requires GLES 2.0.

  • Field Details

    • GL_TEXTURE_COMPARE_MODE_EXT

      public static final int GL_TEXTURE_COMPARE_MODE_EXT
      Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
      See Also:
    • GL_TEXTURE_COMPARE_FUNC_EXT

      public static final int GL_TEXTURE_COMPARE_FUNC_EXT
      Accepted by the pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.
      See Also:
    • GL_COMPARE_REF_TO_TEXTURE_EXT

      public static final int GL_COMPARE_REF_TO_TEXTURE_EXT
      Accepted by the param parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the pname parameter is TEXTURE_COMPARE_MODE_EXT.
      See Also:
    • GL_SAMPLER_2D_SHADOW_EXT

      public static final int GL_SAMPLER_2D_SHADOW_EXT
      Returned in type by glGetActiveUniform.
      See Also: