Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Is it possible to send uniform arrays to shader?

$
0
0

Yesterday I asked this question, but now I am unsure if it's even possible?

I can see that the uniform fv is used to send a float array that can be used as a type in the shader, like "float color[4]". But what I need is to send a bunch of data of the same type "ofVec2f point[x]"

Is this possible?


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>