Questions tagged [fragment-shader]
The fragment-shader tag has no usage guidance.
1
question
1
vote
1
answer
68
views
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?
...