22#define LIGHT_NO_SHADOW -1
248 return this->tilemap_index + (this->sun.clipmap_lod_max - this->sun.clipmap_lod_min);
250 return this->tilemap_index + this->local.tilemaps_count - 1;
257 return (this->spot.spot_tan >
tanf(
EEVEE_PI / 4.0)) ? 5 : 1;
static bool is_sphere_light(eLightType type)
static constexpr int CULLING_ZBIN_COUNT
static bool is_area_light(eLightType type)
static constexpr int CULLING_TILE_RES
static constexpr int CULLING_MAX_ITEM
static bool is_sun_light(eLightType type)
@ LIGHT_USE_SHADOW_JITTER
static bool is_spot_light(eLightType type)
static bool is_oriented_disk_light(eLightType type)
static bool is_local_light(eLightType type)
static bool is_point_light(eLightType type)
VecBase< uint32_t, 2 > uint2
VecBase< float, 4 > float4
VecBase< int32_t, 2 > int2
VecBase< float, 2 > float2
VecBase< float, 3 > float3
struct LightLocalCommon local
int local_tilemap_count() const
struct Transform object_to_world
int tilemap_max_get() const
uint2 light_set_membership
float influence_radius_invsqr_volume
packed_float3 shadow_position
float influence_radius_max
float influence_radius_invsqr_surface
struct LightLocalCommon local
struct LightLocalCommon local
int2 clipmap_base_offset_neg
int2 clipmap_base_offset_pos