Sign in to follow this  
PaulHolverda

accessing arrays in glsl

Recommended Posts

hi i want to acces array in glsl, to do plane calculations right now i have 6 different vec4 ( planeBottom, planeTop etc) but i want to acces it more easily so i can put the equations in, but is this possible to access an array "uniform float planeList[6*4];" ? regards Paul

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this