|
Blender V5.3
|
#include <eevee_light_culling.bsl.hh>
Public Member Functions | |
| bool | intersect (const ViewMatrices view, Sphere sphere) |
| bool | intersect (Box bbox) |
| bool | intersect (Pyramid pyramid) |
Static Public Member Functions | |
| static CullingTile | from_corners (bool is_persp, float3 corners[8]) |
Public Attributes | |
| IsectFrustum | frustum |
| float4 | bounds |
2D Culling pass for lights. We iterate over all items and check if they intersect with the tile frustum. Dispatch one thread per word.
Definition at line 260 of file eevee_light_culling.bsl.hh.
|
inlinestatic |
Definition at line 264 of file eevee_light_culling.bsl.hh.
References isect_frustum_setup(), shape_frustum(), and eevee::light::culling::tile.
Referenced by eevee::light::culling::Tile::tile_culling_get().
|
inline |
Definition at line 295 of file eevee_light_culling.bsl.hh.
|
inline |
Definition at line 274 of file eevee_light_culling.bsl.hh.
References Sphere::center, intersect(), ViewMatrices::is_perspective(), Sphere::radius, shape_circle(), shape_cone(), and float4::w.
Referenced by intersect().
|
inline |
Definition at line 300 of file eevee_light_culling.bsl.hh.
| float4 eevee::light::culling::CullingTile::bounds |
Definition at line 262 of file eevee_light_culling.bsl.hh.
| IsectFrustum eevee::light::culling::CullingTile::frustum |
Definition at line 261 of file eevee_light_culling.bsl.hh.