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

Sending uniform vec2 arrays to shader

$
0
0

@c.neslein wrote:

I have a hard time getting arrays of ofVec2f to my vertex shader.
I simply need to send a bunch of points (2d). I am trying to use the setUniform2fv, but can't get it to work.

Will someone provide a small snippet of how to do this?

-Thanks

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles