Hello,
I have been learning the GLSL language recently and all the tutorials always contain one shader program, one vertex shader and one fragment shader. Now as a somewhat experience game dev...
Type: Posts; User: Peripheralgames
Hello,
I have been learning the GLSL language recently and all the tutorials always contain one shader program, one vertex shader and one fragment shader. Now as a somewhat experience game dev...
Oh well ok. I have heard that passing an array of matrix uniforms into a vertex array and then assigning each one to an instanced based on its instanceID. Can this not be done without a geometry...
Thanks, I have got it to work.
Can I ask another question though. If using draw array's instanced can I pass a dynamic array of matrices to the shader or does it need to be determined at compile...
Hello,
Using modern OpenGL (4.2) what is the best way for me to draw a quad multiple times with different positions and textures?
I currently have a render class which, when initialized...