Replacing ARB shaders
This table should summarize the current state for every ARB shader.
Filename | Type | Status | Replacement | Testing instructions & Comments | ||
---|---|---|---|---|---|---|
heatHazeWithDepth.vfp | Material | OK (2019.05.26) | heatHazeWithDepth.?s | map test/glass
everything behind glass should be warped as you strafe along it | ||
environment.vfp | Ambient | OK (2019.05.26) | environment.?s | map test/glass
fake yellow reflections should be visible on the windows | ||
bumpyEnvironment.vfp | Ambient | OK (2019.05.27) | bumpyEnvironment.?s | PD2: All the Way Up / setviewpos 4700 -250 -250 / link
Potions should look properly: see t_useGLSL 0, r_uniformTransforms 0 for reference Be sure to check that fake reflection texture is oriented the same way. | ||
(fixed pipeline) | Designed for use in the 'old stage' routine (draw_common.cpp) but at some point became the 'default' shader for GUI's, etc | OK (2019.05.26) | oldStage.?s | Check any map (e.g. test/glass) + main menu
| ||
(extra material stages) | Replacement for material stage frob highlight. The ARB2 version does not seem to be used anywhere? | WIP (2019.05.26) | frob.?s | Any map +r_newFrob 1
| ||
(legacy gl texgen's) | Replacement for deprecated texgen code. Material stages TG_SKYBOX_CUBE/TG_WOBBLESKY_CUBE | Stable in 2.07 | cubemap.?s | (insert map name here - Hidden Hands 1?)
| ||
(legacy gl texgen's) | Replacement for deprecated texgen code. Light material "fogLight" | Stable in 2.07 | fog.?s | (insert map name here - Heart of Lone Salvation?)
| ||
(legacy gl texgen's) | Replacement for deprecated texgen code. Light material "blendLight" | Stable in 2.07 | blend.?s | (insert map name here - Closemouthed Shadows?)
| ||
shadow.vp | ARB2 to GLSL manual conversion | Stable in 2.07 | stencilshadow.?s | (insert map name here - Closemouthed Shadows?)
| ||
ambientInteraction.vfp/ambient_cubic_light.vfp | ARB2 to GLSL manual conversion | Stable in 2.07 | ambientInteraction.?s | (insert map name here - Closemouthed Shadows?)
| ||
test_direct.vfp/interaction_direct.vfp/cubic_light_point.vfp/cubic_light_proj.vfp/test_cubic_light_point.vfp/test_cubic_light_proj.vfp | ARB2 to GLSL manual conversion | Stable in 2.07 | interaction.?s | (insert map name here - Closemouthed Shadows?)
| ||
(fixed pipeline) | DepthPass | OK (2019.05.27) | depthAlpha.?s | Check any map (e.g. test/glass).
Used for depth prepass, so if it uses incompatible vertex transform, everything would depth-fight like crazy. |
||
Unused (?) ARB2 shaders | ||||||
test.vfp | interaction.vfp | |||||
Shaders to check | ||||||
soft_particle.vfp | cookMath_pass1.vfp | cookMath_pass2.vfp | brightPass_opt.vfp | blurx.vfp | blury.vfp | finalScenePass_opt.vfp
}
Also set the date when you checked it.
|