Not technically a bug and a pretty small thing, but I find myself removing over and over the uniforms pertaining to the pixel shader in the vertex shader :
and as well, I’m not using picking that often and often remove the #ifndef TD_PICKING_ACTIVE + comments block, so it would be great to have that an option for the generated output, much like the option for the geometry shader.
Those are there due to the on demand generation of the shader that occurs in C++ for the Phong MAT. It just makes the programming in the C++ side easier
Thanks @malcolm, curious if you can get into a little more detail? Not seeing any ill effect when I comment out the {} in general, what should I be cautious with?
Thank you!
Some shaders may have multiple {} blocks with identical variables declared within them. Those are the cases where removing the {} would case compile issues