Remove wall sight occlusion for lighting changes
This commit is contained in:
@@ -11,8 +11,8 @@ void main()
|
||||
float d = sqrt(boxOut.x) + sqrt(boxOut.y) - 1;
|
||||
// float e = sqrt(f(x,wStart)) + sqrt(f(y,wEnd)) - 1.0;
|
||||
float e = sqrt(boxIn.x) + sqrt(boxIn.y) - 1.0;
|
||||
// if ( d < 0 || e > 0) { discard; }
|
||||
if ( d < 0 || e > 0) { discard; }
|
||||
fColor = vColor;
|
||||
// if ( d < 0 || e > 0) { fColor = vec4(0,0,1,1); }
|
||||
if ( d < 0 || e > 0) { fColor = vec4(0,0,1,1); }
|
||||
// if ( d < 0 || e > 0) { fColor = vec4(0,0,1,1); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user