get_world_from_local
#
Active when
!MESHLET_MESH_MATERIAL_PASS
get_previous_world_from_local
#
Active when
!MESHLET_MESH_MATERIAL_PASS
fn
get_previous_world_from_local
(
)
->
mat4x4 <f32 >
get_local_from_world
#
Active when
!MESHLET_MESH_MATERIAL_PASS
mesh_position_local_to_world
#
fn
mesh_position_local_to_world
(
)
->
vec4 <f32 >
mesh_position_local_to_clip
#
fn
mesh_position_local_to_clip
(
)
->
vec4 <f32 >
mesh_normal_local_to_world
#
Active when
!MESHLET_MESH_MATERIAL_PASS
fn
mesh_normal_local_to_world
(
)
->
vec3 <f32 >
sign_determinant_model_3x3m
#
fn
sign_determinant_model_3x3m
(
)
->
f32
mesh_tangent_local_to_world
#
Active when
!MESHLET_MESH_MATERIAL_PASS
fn
mesh_tangent_local_to_world
(
)
->
vec4 <f32 >
get_visibility_range_dither_level
#
Active when
VISIBILITY_RANGE_DITHER
fn
get_visibility_range_dither_level
(
)
->
i32
get_tag
#
Active when
!MESHLET_MESH_MATERIAL_PASS
Contents
NOTE: The intermediate world_position assignment is important for precision purposes when using the ‘equals’ depth comparison function.