Seems discard in wgsl does't work with bevy? or there's something others make the output different as i expect #17172
-
Beta Was this translation helpful? Give feedback.
Answered by
Ahuang0107
Jan 7, 2025
Replies: 2 comments
-
I only know a little bit about the MainTransparentPass2d pipeline, not everything. Is there anyone who can provide some help? |
Beta Was this translation helpful? Give feedback.
0 replies
-
never mind, turn out i deleted unused VertexInput variable in sprite_mask.wgsl, but sprite.wgsl and sprite_mask.wgsl both using same instance buffer struct,so the mapping relationship is wrong, vertex input get wrong i_uv_offset_scale make uv wong. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Ahuang0107
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
never mind, turn out i deleted unused VertexInput variable in sprite_mask.wgsl, but sprite.wgsl and sprite_mask.wgsl both using same instance buffer struct,so the mapping relationship is wrong, vertex input get wrong i_uv_offset_scale make uv wong.