hi, I found out that until glsl 4.0 uniform arrays can't be accessed by non const expressions.. so is there a way to work around this issue possibly without unrolling the loop .. thanks
Jump to content
OpenGL API Specifications
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.