Questions tagged [fragment-shader]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

How to avoid declaring sampler outside of statement?

How can I avoid having to declare the sampler outside of the if statement in this shader code sample? ...
junglie85's user avatar
  • 125