24class VolumeProbeModule;
93 int subdivision_level_;
95 int areas_per_dimension_;
221 bool auto_bake_enabled_;
233 void sync_world(const ::World *world,
bool has_update);
242 int sphere_layer_count()
const;
@ LIGHT_PROBE_RESOLUTION_128
A running instance of the engine.
void sync_world(const ::World *world, bool has_update)
void sync_probe(const Object *ob, ObjectHandle &handle)
LightProbeModule(Instance &inst)
void mark_space_used(const SphereProbeAtlasCoord &coord)
LocationFinder(int allocated_layer_count, int subdivision_level)
SphereProbeAtlasCoord first_free_spot() const
#define SPHERE_PROBE_ATLAS_RES
draw_view in_light_buf[] float
T dot(const QuaternionBase< T > &a, const QuaternionBase< T > &b)
MatT from_scale(const VecBase< typename MatT::base_type, ScaleDim > &scale)
VecBase< float, 4 > float4
VecBase< int32_t, 2 > int2
VecBase< float, 2 > float2
VecBase< float, 3 > float3
float viewport_display_size
float4 reflection_clip_plane_get()
void set_view(const draw::View &view, int layer_id)
int area_extent(int mip_lvl=0) const
SphereProbePixelArea as_write_coord(int mip_lvl) const
int2 area_location() const
int2 area_offset(int mip_lvl=0) const
SphereProbeUvArea as_sampling_coord() const
float2 clipping_distances
SphereProbeAtlasCoord atlas_coord
Vector< IrradianceBrickPacked > bricks
const LightProbeObjectCache * cache