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:
parent
16d9773c6c
commit
c43baf6e94
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue