Use 4 channel atlas for emojis

This commit is contained in:
grovesNL 2022-10-26 00:21:14 -02:30 committed by Josh Groves
parent 47fa03d079
commit cb68955045
4 changed files with 37 additions and 13 deletions

View file

@ -77,5 +77,5 @@ fn vs_main(in_vert: VertexInput) -> VertexOutput {
@fragment
fn fs_main(in_frag: VertexOutput) -> @location(0) vec4<f32> {
return in_frag.color * textureSample(atlas_texture, atlas_sampler, in_frag.uv).x;
return in_frag.color * textureSample(atlas_texture, atlas_sampler, in_frag.uv);
}