Shader array declaration, how?
-
I might have found a reason, but the proposed alternative doesn't work either
https://stackoverflow.com/questions/28435438/how-to-write-const-array-in-glsl-es@Christoph-Hart what is the GLSL version in Hise?
Console.print(trace(myshader.getOpenGLStatistics())); // returns null
-
Finally got it to work
they have to be declared dynamically inside
main
(even if they are constant values or not) -
@ustk Update the documentation
-
-
@ustk Thanks! I apparently have the power to merge it, I have wielded the power!
-
@d-healey You're too fast, I'm not sure you should have more power
-
@d-healey Strangely the online doc hasn't been updated yet... Server cache refresh time perhaps?
-
@ustk Yeah I think there is some manual intervention required to regenerate the online doc, I do not have that much power... yet
-
This post is deleted! -
This post is deleted!