public final class ARBShadow
extends java.lang.Object
This extension supports comparing the texture R coordinate to a depth texture value in order to produce a boolean texture value. This can be used to implement shadow maps.
The extension is written in generic terms such that other texture comparison modes can be accommodated in the future.
Requires ARB_depth_texture. Promoted to core in OpenGL 1.4.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_COMPARE_R_TO_TEXTURE_ARB
Accepted by the
param parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the pname parameter is
TEXTURE_COMPARE_MODE_ARB. |
static int |
GL_TEXTURE_COMPARE_FUNC_ARB
Accepted by the
pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv. |
static int |
GL_TEXTURE_COMPARE_MODE_ARB
Accepted by the
pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv. |
public static final int GL_TEXTURE_COMPARE_MODE_ARB
pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.public static final int GL_TEXTURE_COMPARE_FUNC_ARB
pname parameter of TexParameterf, TexParameteri, TexParameterfv, TexParameteriv, GetTexParameterfv, and GetTexParameteriv.public static final int GL_COMPARE_R_TO_TEXTURE_ARB
param parameter of TexParameterf, TexParameteri, TexParameterfv, and TexParameteriv when the pname parameter is
TEXTURE_COMPARE_MODE_ARB.Copyright LWJGL. All Rights Reserved. License terms.