Example of a pixel lighting Shader GLSL

Thank you @rdb already reminded me about this in another topic. However, I planned to write my own class of color sources. But there is a problem to extend the Shader inputs for your classes, you need to program in C++. I don’t know how to do it yet. At the moment, I’m thinking that it’s easier to add properties to Panda classes than to bother with uniforms buffers.