100 int subdivision_level_;
102 int areas_per_dimension_;
103 int areas_per_layer_;
228 bool auto_bake_enabled_;
244 void sync_sphere(
const ObjectRef &ob_ref);
245 void sync_volume(
const ObjectRef &ob_ref);
246 void sync_planar(
const ObjectRef &ob_ref);
249 int sphere_layer_count()
const;
A running instance of the engine.
friend class SphereProbeModule
LightProbeModule(Instance &inst)
void sync_world(const blender::World *world, bool has_update)
friend class BackgroundPipeline
void sync_probe(const ObjectRef &ob_ref)
friend class PlanarProbeModule
friend class VolumeProbeModule
friend class IrradianceBake
void mark_space_used(const SphereProbeAtlasCoord &coord)
LocationFinder(int allocated_layer_count, int subdivision_level)
SphereProbeAtlasCoord first_free_spot() const
T dot(const QuaternionBase< T > &a, const QuaternionBase< T > &b)
MatT from_scale(const VecBase< typename MatT::base_type, ScaleDim > &scale)
MatBase< float, 4, 4 > float4x4
VecBase< float, 4 > float4
VecBase< int32_t, 2 > int2
VecBase< float, 2 > float2
@ LIGHT_PROBE_RESOLUTION_128
VecBase< float, 3 > float3
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
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