Improve drawing with segments
This commit is contained in:
parent
fea5ecfcee
commit
9f01a9e236
10 changed files with 89 additions and 200 deletions
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
@fragment
|
||||
fn fragment(@location(0) uv: vec2<f32>) -> @location(0) vec4<f32> {
|
||||
return textureSample(TargetTexture, mySampler, uv) * 10.0;
|
||||
return vec4(textureSample(TargetTexture, mySampler, uv).rgb * 1.0, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue