Passing uniform sampler2d to shaderProgram


#1

Hello there,

my problem is actually quite simple, but I haven't found a solution yet:

How do I pass a uniform of type sampler2d to a fragment-shader?

 

Greetings
Magnus