46 ::World *prev_original_world =
nullptr;
49 ::World *default_world_ =
nullptr;
52 bool has_volume_ =
false;
54 bool has_volume_absorption_ =
false;
56 bool has_volume_scatter_ =
false;
58 bool is_ready_ =
false;
76 return has_volume_absorption_;
81 return has_volume_scatter_;
93 return scene_world_get()->sun_angle;
98 return scene_world_get()->sun_shadow_maximum_resolution;
103 return scene_world_get()->sun_shadow_filter_radius;
108 return scene_world_get()->sun_shadow_jitter_overblur;
122 void sync_volume(
const WorldHandle &world_handle,
bool wait_ready);
@ WO_USE_SUN_SHADOW_JITTER
A running instance of the engine.
UniformBuffer< LightData > sunlight
bool use_sun_shadow_jitter()
float sun_shadow_filter_radius()
bool has_volume_absorption() const
float sun_shadow_jitter_overblur()
float sun_shadow_max_resolution()
bool has_volume_scatter() const