1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 19:19:56 +00:00

remove commented code

This commit is contained in:
Miloslav Číž 2017-09-21 22:31:26 +02:00
parent 16d9773c6c
commit c43baf6e94

View file

@ -195,15 +195,6 @@ void main(void)
#if REFRACTION
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
gl_FragData[0].w = clamp(fresnel*2.0 + specular, 0.0, 1.0);
#endif