623a050269
This is a longstanding issue in both the Mobile and GL Compatibility renderer. Meshes pair with all lights that touch them, and then at draw time, we send all paired lights indices to the shader (even if that light isn't visible). The problem is that non-visible lights aren't uploaded to the GPU and don't have an index. So we end up using a bogus index |
||
---|---|---|
.. | ||
render_forward_mobile.cpp | ||
render_forward_mobile.h | ||
scene_shader_forward_mobile.cpp | ||
scene_shader_forward_mobile.h | ||
SCsub |