Jump to content

Any plans for Array support in Shaders?


Wavertron
 Share

Recommended Posts

I've been playing around with the Custom Pipleline/Shader code, similar to http://labs.phaser.io/view.html?src=src\renderer\Custom Pipeline.js

I wanted to start using some Arrays, but alas, it doesn't allow it right now, throwing console errors below:
 

ERROR: 0:14: '[]' : array constructor supported in GLSL ES 3.00 and above only
ERROR: 0:14: '[]' : first-class arrays (array initializer) supported in GLSL ES 3.00 and above only
ERROR: 0:14: '=' : Invalid operation for arrays

Are there any plans to add Array support in the Shader code, both manipulating them in the shader code and passing them in as uniforms?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...