Update color of vertices

This commit is contained in:
Hanno Braun 2024-11-21 20:02:11 +01:00
parent 244b9bed2f
commit adfeba7d48

View File

@ -24,6 +24,6 @@ fn vertex(in: VertexInput) -> VertexOutput {
@fragment
fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
var color = vec4(0.0, 0.0, 1.0, 1.0);
var color = vec4(0.5, 0.5, 0.5, 1.0);
return color;
}