mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-11 13:28:28 +00:00
Update color of vertices
This commit is contained in:
parent
244b9bed2f
commit
adfeba7d48
@ -24,6 +24,6 @@ fn vertex(in: VertexInput) -> VertexOutput {
|
|||||||
|
|
||||||
@fragment
|
@fragment
|
||||||
fn fragment(in: VertexOutput) -> @location(0) vec4<f32> {
|
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;
|
return color;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user