From 09f3adf2b4f81f372c7030478d1586be40f81daf Mon Sep 17 00:00:00 2001 From: d3m1gd Date: Wed, 4 May 2022 11:45:52 +0700 Subject: [PATCH] examples: fix typo --- examples/advanced-gen-texture-light/cube.wgsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);