Skip to content

Can I bind multisample texture to a shader variable? #172

Discussion options

You must be logged in to vote

You can only bind multisample texture to a special mutlisample texture variable type in the shader. You can't sample this texture with any sampler and can only fetch individual texels.
If yow want to use result of rendering with MSAA in a shader, you need to resolve the MS texture first into a single-sample texture and then bind it.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by TheMostDiligent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants