Damn, I accidentally hit post!
Well there is not much to add, besides that you can also use signals from
React for the custom parameters:
customparam1 = Input(1f0)
customparam2 = Input(Vector3(0f0))
const fullscreenquad = RenderObject(
[
:position => GLBuffer(GLfloat[-1,-1, -1,1, 1,1, 1,1, 1,-1,
-1,-1], 2),
:image => image,
:customparam1 => customparam1 ,
:customparam2 => customparam2
], GLProgram(vsh, fsh, "vertexshader", "fragmentshader"))
and then you can update the parameters whenever you want like this:
push!(customparam1, 43942f0)
push!(customparam2, Vecto3(6f0,9f0,0f0))
I already excuse myself for any errors and inconsistencies, which you will
encounter ;)
This is probably a little early to really use, but I was just writing some
example code anyways...