diff --git a/examples/advanced-gen-texture-light/cube.wgsl b/examples/advanced-gen-texture-light/cube.wgsl index 668d6517..63f15950 100644 --- a/examples/advanced-gen-texture-light/cube.wgsl +++ b/examples/advanced-gen-texture-light/cube.wgsl @@ -68,7 +68,7 @@ fn fs_main(in: VertexOutput) -> @location(0) vec4 { let all = ambient_color + diffuse_color + specular_color; - let result = all * object_color.rbg; + let result = all * object_color.rgb; return vec4(result, object_color.a);