mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Move light, reflection probe and lightmap into LightStorage
This commit is contained in:
parent
6b28d94e77
commit
b6faf6c6c0
27 changed files with 2175 additions and 1788 deletions
|
@ -398,6 +398,7 @@ RenderingServerDefault::RenderingServerDefault(bool p_create_thread) :
|
|||
RendererSceneCull *sr = memnew(RendererSceneCull);
|
||||
RSG::scene = sr;
|
||||
RSG::rasterizer = RendererCompositor::create();
|
||||
RSG::light_storage = RSG::rasterizer->get_light_storage();
|
||||
RSG::material_storage = RSG::rasterizer->get_material_storage();
|
||||
RSG::mesh_storage = RSG::rasterizer->get_mesh_storage();
|
||||
RSG::texture_storage = RSG::rasterizer->get_texture_storage();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue