You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Reflection probe support in GLES2 back-end.
This commit is contained in:
@@ -2141,6 +2141,8 @@ bool VisualServerScene::_render_reflection_probe_step(Instance *p_instance, int
|
||||
Scenario *scenario = p_instance->scenario;
|
||||
ERR_FAIL_COND_V(!scenario, true);
|
||||
|
||||
VisualServerRaster::redraw_request(); //update, so it updates in editor
|
||||
|
||||
if (p_step == 0) {
|
||||
|
||||
if (!VSG::scene_render->reflection_probe_instance_begin_render(reflection_probe->instance, scenario->reflection_atlas)) {
|
||||
|
||||
Reference in New Issue
Block a user