How do we get around the 200 opcode limit?
I've got a program that's longer than 200 opcodes. How can I deal with this?
Thanks!
I've got a program that's longer than 200 opcodes. How can I deal with this?
Thanks!
Looks like there are 2 ways. For both ways you need to break up your program into smaller programs.
You can either do all the rendering on the back buffer and change the blend mode to additive (so your changes add up). Then do something like this:
clear
setProgram1
drawTris
setProgram2
drawTris
...
present
Or you can try rendering to a texture and then using that texture in further renderings (on the same frame). I couldn't get this way to work, but look into setRenderToTexture vs setRenderToBackBuffer.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.