1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Skip rendering sky if viewport is set to transparent background

This commit is contained in:
Bastiaan Olij
2024-05-07 11:42:54 +10:00
parent bdc0316217
commit 6efaaecde2
5 changed files with 23 additions and 12 deletions

View File

@@ -78,6 +78,9 @@ public:
RenderingMethod::RenderInfo *render_info = nullptr;
/* Viewport data */
bool transparent_bg = false;
/* Shadow data */
const RendererSceneRender::RenderShadowData *render_shadows = nullptr;
int render_shadow_count = 0;