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 |
||
---|---|---|
.. | ||
forward_id_storage.cpp | ||
forward_id_storage.h | ||
light_storage.cpp | ||
light_storage.h | ||
material_storage.cpp | ||
material_storage.h | ||
mesh_storage.cpp | ||
mesh_storage.h | ||
particles_storage.cpp | ||
particles_storage.h | ||
render_buffer_custom_data_rd.h | ||
render_scene_buffers_rd.cpp | ||
render_scene_buffers_rd.h | ||
render_scene_data_rd.cpp | ||
render_scene_data_rd.h | ||
SCsub | ||
texture_storage.cpp | ||
texture_storage.h | ||
utilities.cpp | ||
utilities.h |