Today I researched more about GLSL, particularly into changing between shaders at run time. Off the back of that, I learned about preprocessing and GLSL program pipelines. I need to look a lot more into these topics, but it was a good start. My next step will be to test out compiling multiple GLSL programs and changing between then at run time - I think I will have to also use Uniform Buffer Objects to reduce set uniform calls.
top of page
TOMASZ WALAT
bottom of page
Comments