Blogpost: UBO in shader syntax.
wrightwriter opened this issue · 0 comments
wrightwriter commented
Under Shader Modules,
vsOut.Position = modelViewProj * vec4<f32>(inPos, 1.0);
should be
vsOut.Position = uniforms.modelViewProj * vec4<f32>(inPos, 1.0);
The former doesn't compile and throws an error.