We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 551d817 commit 2dd1ffcCopy full SHA for 2dd1ffc
1 file changed
webgpu/shaders/light.wgsl
@@ -44,7 +44,7 @@ fn lightCalcBrightnessScientific(p: vec3f, normal: vec3f) -> vec2f {
44
// Very gentle spec (Blinn-Phong), only when facing light
45
var spec = 0.0;
46
if (u_light.shininess > 0.0 && u_light.specular > 0.0) {
47
- // Gate spec by a non-wrapped facing term to avoid highlights on “back side”
+ // Gate spec by a non-wrapped facing term to avoid highlights on "back side"
48
let facingK = max(dot(n, Lk), 0.0);
49
let facingF = max(dot(n, Lf), 0.0);
50
0 commit comments