Apparently with checking uLightLevel the shader cannot discard the slow software lighting path entirely adding a significant amount of processing time. Changed to check the actual lightmode value, which re-enables the fast path again. |
||
|---|---|---|
| .. | ||
| glsl | ||
| pp | ||