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 |
||
---|---|---|
.. | ||
effects | ||
environment | ||
shaders | ||
storage | ||
rasterizer_canvas_gles3.cpp | ||
rasterizer_canvas_gles3.h | ||
rasterizer_gles3.cpp | ||
rasterizer_gles3.h | ||
rasterizer_scene_gles3.cpp | ||
rasterizer_scene_gles3.h | ||
SCsub | ||
shader_gles3.cpp | ||
shader_gles3.h |