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

get_world_from_local

#

get_previous_world_from_local

#

mesh_position_local_to_world

#

mesh_position_local_to_clip

#

NOTE: The intermediate world_position assignment is important for precision purposes when using the ‘equals’ depth comparison function.

fn mesh_position_local_to_clip (
world_from_local: mat4x4<f32>,
vertex_position: vec4<f32>
) -> vec4<f32>

mesh_normal_local_to_world

#

sign_determinant_model_3x3m

#

Calculates the sign of the determinant of the 3x3 model matrix based on a mesh flag

fn sign_determinant_model_3x3m (
mesh_flags: u32
) -> f32

mesh_tangent_local_to_world

#

get_visibility_range_dither_level

#
Contents