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..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_COMPARE_R_TO_TEXTURE_ARB
Accepted by the |
| public static final int | GL_TEXTURE_COMPARE_FUNC_ARB
Accepted by the |
| public static final int | GL_TEXTURE_COMPARE_MODE_ARB
Accepted by the |
| Access | Constructor and Description |
|---|---|
| private |
| GL_COMPARE_R_TO_TEXTURE_ARB | back to summary |
|---|---|
| public static final int GL_COMPARE_R_TO_TEXTURE_ARB Accepted by the | |
| GL_TEXTURE_COMPARE_FUNC_ARB | back to summary |
|---|---|
| public static final int GL_TEXTURE_COMPARE_FUNC_ARB Accepted by the | |
| GL_TEXTURE_COMPARE_MODE_ARB | back to summary |
|---|---|
| public static final int GL_TEXTURE_COMPARE_MODE_ARB Accepted by the | |
| ARBShadow | back to summary |
|---|---|
| private ARBShadow() | |