Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

glsl version and arrays?

edited May 4 in Shaders Posts: 172

anyone know what the glsl version is for codea?

from what i read online we need greater than 3.3 for arrays in shaders

and i can’t seem to get arrays to work

if i can get this to work i can share a cool 2d lights demo i’ve been working on so any help would be much appreciated

Comments

  • edited May 4 Posts: 172

    actually after a bunch of iteration i found that arrays do indeed work with the current version of codea and glsl

    however, the problem i have now is a for loop in glsl doesn’t want to work with a uniform int value

    edit- i’m a big DERP and basically misspelled my variable name lol, it’s all working now

Sign In or Register to comment.