examples: fix typo
This commit is contained in:
parent
8904536632
commit
09f3adf2b4
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ fn fs_main(in: VertexOutput) -> @location(0) vec4<f32> {
|
|||
|
||||
let all = ambient_color + diffuse_color + specular_color;
|
||||
|
||||
let result = all * object_color.rbg;
|
||||
let result = all * object_color.rgb;
|
||||
|
||||
return vec4<f32>(result, object_color.a);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue