Blender V5.3
blender::eevee::LightSunData Struct Reference

#include <eevee_light_shared.hh>

Public Attributes

packed_float3 direction
float shape_radius
int2 clipmap_base_offset_neg
int2 clipmap_base_offset_pos
float shadow_angle
float shadow_angle_cos
float _pad3
float _pad4
float2 clipmap_origin
int clipmap_lod_min
int clipmap_lod_max

Detailed Description

Definition at line 159 of file eevee_light_shared.hh.

Member Data Documentation

◆ _pad3

float blender::eevee::LightSunData::_pad3

Definition at line 173 of file eevee_light_shared.hh.

◆ _pad4

float blender::eevee::LightSunData::_pad4

Definition at line 174 of file eevee_light_shared.hh.

◆ clipmap_base_offset_neg

int2 blender::eevee::LightSunData::clipmap_base_offset_neg

— Shadow Data — Offset of the LOD min in LOD min tile units. Split positive and negative for bit-shift.

Definition at line 167 of file eevee_light_shared.hh.

◆ clipmap_base_offset_pos

int2 blender::eevee::LightSunData::clipmap_base_offset_pos

Definition at line 168 of file eevee_light_shared.hh.

◆ clipmap_lod_max

int blender::eevee::LightSunData::clipmap_lod_max

Definition at line 180 of file eevee_light_shared.hh.

◆ clipmap_lod_min

int blender::eevee::LightSunData::clipmap_lod_min

Clip-map LOD range to avoid sampling outside of valid range.

Definition at line 179 of file eevee_light_shared.hh.

◆ clipmap_origin

float2 blender::eevee::LightSunData::clipmap_origin

Offset to convert from world units to tile space of the clipmap_lod_max.

Definition at line 177 of file eevee_light_shared.hh.

◆ direction

packed_float3 blender::eevee::LightSunData::direction

Definition at line 161 of file eevee_light_shared.hh.

◆ shadow_angle

float blender::eevee::LightSunData::shadow_angle

Angle covered by the light shape for shadow ray casting.

Definition at line 171 of file eevee_light_shared.hh.

◆ shadow_angle_cos

float blender::eevee::LightSunData::shadow_angle_cos

Definition at line 172 of file eevee_light_shared.hh.

◆ shape_radius

float blender::eevee::LightSunData::shape_radius

Definition at line 163 of file eevee_light_shared.hh.


The documentation for this struct was generated from the following file: