sprite2d: use nearest texture filter + fix texture coloring
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
6a81c7a579
commit
c004ea1b06
2 changed files with 3 additions and 3 deletions
|
|
@ -98,5 +98,5 @@ fn frag_main(
|
|||
if (c.a <= 0.0) {
|
||||
discard;
|
||||
}
|
||||
return vec4<f32>(0.3, 0.2, 0.5, 1.0);
|
||||
return c;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue