Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofShader::setUniformTexture .. location parameter

$
0
0

@chuckleplant wrote:

After using this function for a long time..I'm just not sure what the location parameter does exactly.

shader.setUniformTexture("tex0", vidGrabber.getTexture() ,0);

What does it do and how do I find out which texture location to use?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles