Hi thanks for the awesome explanation of the OpenGl pipeline and how Uniforms work
@lowearthsurfer5 жыл бұрын
@ 8:53 when GLM store the 3f vector into the uniform, and you used the [0] operator, does GLM store the "RGB" value based on Endianess? On intel machines (or is this on the graphics card?) would the byte order store the vectore as GBR ?
@314dez8 жыл бұрын
Jamie, what is a better practice of using uniforms for different shader groups/ different shader program? In my case i use alot shader programs and each uses 3 the same uniforms and this calls many errors. I solve this with glProgramUniform for each 3. Is it a good way?