Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.

Functions

fetch_point_shadow

#
fn fetch_point_shadow (
light_id: u32,
frag_position: vec4<f32>,
surface_normal: vec3<f32>
) -> f32

fetch_spot_shadow

#
fn fetch_spot_shadow (
light_id: u32,
frag_position: vec4<f32>,
surface_normal: vec3<f32>
) -> f32

fetch_directional_shadow

#
fn fetch_directional_shadow (
light_id: u32,
frag_position: vec4<f32>,
surface_normal: vec3<f32>
) -> f32
Contents