Fragment shader state

is it possible to determine the state of a testure stage in a fragment shader? i.e. i want to decide in the shader whether to sample or not.

No.

You can conditionally sample from a texture, but that’s about it.

thats what i thought. it would sure be handy though… thanks

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.