Full-screen fragment shader run on the finished frame. It always sees uColorTex, uInvScreenSize, uProjInvScale and uFar; uTerrainDepthTex only exists when terrainDepthRequired is set.
uColorTex
uInvScreenSize
uProjInvScale
uFar
uTerrainDepthTex
terrainDepthRequired
the fragment shader source, void main(void) and all
void main(void)
a new name forces a shader rebuild
Full-screen fragment shader run on the finished frame. It always sees
uColorTex,uInvScreenSize,uProjInvScaleanduFar;uTerrainDepthTexonly exists whenterrainDepthRequiredis set.