Quantcast
Viewing all articles
Browse latest Browse all 4929

Pass vector to shader

@skyl wrote:

I have a vector of floats that I want to access in my vertex shader. Is this possible? The vector has a length of 512.

Similar to what this person says they want to do originally before deciding to just pass a single float:

None of the methods here seem to be what I want:

http://openframeworks.cc/documentation/gl/ofShader/#show_setUniform1fv

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles