What you’re seeing is the default per-vertex lighting offered by fixed-function OpenGL. If you want to get per-pixel lighting, you will need some sort of shader.
The easiest approach is to enable the shader generator:
self.b1.setShaderAuto()
What you’re seeing is the default per-vertex lighting offered by fixed-function OpenGL. If you want to get per-pixel lighting, you will need some sort of shader.
The easiest approach is to enable the shader generator:
self.b1.setShaderAuto()