Shader Explorer
Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

types.wgsl

Import path

Structures

SampledNoise

#
struct SampledNoise {
macro_noise: f32 ,
micro_noise: f32 ,
phase_noise: vec2<f32> ,
}

DisplacedVertex

#
struct DisplacedVertex {
world_position: vec4<f32> ,
world_normal: vec3<f32> ,
world_tangent: vec4<f32> ,
}

InstanceInfo

#
struct InstanceInfo {
world_from_local: mat4x4<f32> ,
instance_position: vec4<f32> ,
wrapped_time: f32 ,
instance_index: u32 ,
tangent: vec4<f32> , 🟢 VERTEX_TANGENTS
}