mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 16:20:21 +00:00
remove commented code
This commit is contained in:
parent
16d9773c6c
commit
c43baf6e94
@ -195,15 +195,6 @@ void main(void)
|
|||||||
|
|
||||||
#if REFRACTION
|
#if REFRACTION
|
||||||
gl_FragData[0].w = 1.0;
|
gl_FragData[0].w = 1.0;
|
||||||
|
|
||||||
/*float nonRefractionDepth = texture2D(refractionDepthMap, screenCoords).x;
|
|
||||||
z_n = 2.0 * nonRefractionDepth - 1.0;
|
|
||||||
nonRefractionDepth = 2.0 * near * far / (far + near - z_n * (far - near));
|
|
||||||
|
|
||||||
float realWaterDepth = nonRefractionDepth - depthPassthrough;
|
|
||||||
*/
|
|
||||||
//gl_FragData[0] = vec4(refractionSuppressor,0,0,0);
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
gl_FragData[0].w = clamp(fresnel*2.0 + specular, 0.0, 1.0);
|
gl_FragData[0].w = clamp(fresnel*2.0 + specular, 0.0, 1.0);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user