-
I'm trying to figure out why the alpha channel is flickering on the wizard texture (yellow background is a 1x1 white texture coloured yellow)? It was absolutely fine when I was rendering in draw call order. But I want to try and group by texture/bind group, so I assign a z-index when the draw call is made and calculate a z position based on Depth texture/view:
Depth stencil state:
Depth stencil attachment:
Beyond this, I don't know where to look for the possible cause. Can anyone help point me at the problem? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
When I had a flickering render, it turned out to be missing assignments in the vertex shader. Can you post your shader code? |
Beta Was this translation helpful? Give feedback.
-
Thanks. What do you mean by missing assignments? This is for my sprite shader. I have a similar one for drawing geometry.
|
Beta Was this translation helpful? Give feedback.
Thanks. What do you mean by missing assignments?
This is for my sprite shader. I have a similar one for drawing geometry.