|
Blender V5.3
|
#include <eevee_shadow_tag_usage_transparent.bsl.hh>
Public Member Functions | |
| float | ray_aabb (float3 ray_origin, float3 ray_direction, float3 aabb_min, float3 aabb_max) |
| float | pixel_size_at (const ViewMatrices view, float linear_depth) |
| void | step_bounding_sphere (const ViewMatrices view, float3 vs_near_plane, float3 vs_view_direction, float near_t, float far_t, float3 &sphere_center, float &sphere_radius) |
| void | inflate_bounds (const ViewMatrices view, const ObjectMatrices obj, float3 ls_center, float3 &P, float3 &lP) |
Public Attributes | |
| Uniform | uniforms |
| const ObjectBounds(& | bounds_buf )[] |
| const int2 | fb_resolution |
| const int | fb_lod |
Definition at line 31 of file eevee_shadow_tag_usage_transparent.bsl.hh.
|
inline |
Definition at line 108 of file eevee_shadow_tag_usage_transparent.bsl.hh.
References abs, exp2, fb_lod, ViewMatrices::is_perspective(), P, ViewMatrices::point_view_to_world(), ObjectMatrices::point_world_to_object(), ViewMatrices::point_world_to_view(), reduce_max(), sign(), eevee::Uniform::uniform_buf, uniforms, and float3::z.
|
inline |
Definition at line 65 of file eevee_shadow_tag_usage_transparent.bsl.hh.
References exp2, fb_lod, max, eevee::Uniform::uniform_buf, uniforms, and ViewMatrices::winmat.
Referenced by step_bounding_sphere().
|
inline |
Definition at line 39 of file eevee_shadow_tag_usage_transparent.bsl.hh.
References max, min, reduce_max(), and reduce_min().
|
inline |
Definition at line 75 of file eevee_shadow_tag_usage_transparent.bsl.hh.
References length_squared(), max, mix, pixel_size_at(), ViewMatrices::point_view_to_world(), sqrt, x, and y.
| const ObjectBounds(& eevee::shadow::usage::TagUsageTransparent::bounds_buf)[] |
Definition at line 34 of file eevee_shadow_tag_usage_transparent.bsl.hh.
| const int eevee::shadow::usage::TagUsageTransparent::fb_lod |
Definition at line 37 of file eevee_shadow_tag_usage_transparent.bsl.hh.
Referenced by inflate_bounds(), and pixel_size_at().
| const int2 eevee::shadow::usage::TagUsageTransparent::fb_resolution |
Definition at line 36 of file eevee_shadow_tag_usage_transparent.bsl.hh.
| Uniform eevee::shadow::usage::TagUsageTransparent::uniforms |
Definition at line 32 of file eevee_shadow_tag_usage_transparent.bsl.hh.
Referenced by inflate_bounds(), and pixel_size_at().