ComputeParticlesTest: Update shaders
This commit is contained in:
committed by
Jérôme Leclercq
parent
d94d5415a3
commit
c30b498216
@@ -22,9 +22,9 @@ fn main(input: Input)
|
||||
|
||||
let outputColor = vec4[f32]
|
||||
(
|
||||
(pow(1.0 - length(uv), 20.0)).xxx,
|
||||
(pow(1.0 - length(uv), 10.0)).xxx,
|
||||
1.0
|
||||
);
|
||||
|
||||
output_tex.Write(indices, outputColor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user