I have two (probably very noob-ish) questions.
1. Can I change the content of a uniform multiple times without side-effects? Like this:
2. I don't understand matrix-multiplication very well, so, is this GLSL code correct?
gl_Position = gl_ProjectionMatrix * cameraMatrix * myObjectMatrix;
gl_TexCoord = gl_MultiTexCoord0;
gl_FrontColor = gl_Color;
I hope I explained that well and understandable.
My english isn't the best.
Please tell me about every mistake in the code and shader.
I wan't to use this for my main-game project, so it has to be as bug-free as possible.