fix a typo
This commit is contained in:
parent
e63ee56e25
commit
2e441b27b5
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ void main (void)
|
|||
float a = dot(VNormal, -V);
|
||||
vec2 s = vec2(dot(V, VTangent), dot(V, VBinormal));
|
||||
|
||||
// prevent a device by zero
|
||||
// prevent a divide by zero
|
||||
if (a > -1e-3 && a < 1e-3) a = 1e3;
|
||||
s *= depth_factor / a;
|
||||
ds = s;
|
||||
|
|
Loading…
Add table
Reference in a new issue