We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23fa66d commit c0fb6bcCopy full SHA for c0fb6bc
lib/triangle-fragment.glsl
@@ -33,7 +33,7 @@ void main() {
33
34
vec3 normal = faceNormal(f_data);
35
36
- if (dot(N, normal) < 0.0) {
+ if (dot(N, normal) >= 0.0) {
37
N = -N;
38
}
39
0 commit comments