1
0
Fork 0

fix another typo

This commit is contained in:
Erik Hofman 2011-07-16 15:53:25 +02:00
parent 2e441b27b5
commit aff94b66ed

View file

@ -70,7 +70,7 @@ void main (void)
vec2 s = vec2(dot(V, VTangent), dot(V, VBinormal));
// prevent a divide by zero
if (a > -1e-3 && a < 1e-3) a = 1e3;
if (a > -1e-3 && a < 1e-3) a = 1e-3;
s *= depth_factor / a;
ds = s;
dp = gl_TexCoord[0].st;