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.

pbr_fn.wgsl

Structures

pbr_types__StandardMaterial

#
struct pbr_types__StandardMaterial {
base_color: vec4<f32> ,
emissive: vec4<f32> ,
perceptual_roughness: f32 ,
metallic: f32 ,
reflectance: f32 ,
flags: u32 ,
alpha_cutoff: f32 ,
}

pbr_functions__PbrInput

#
struct pbr_functions__PbrInput {
occlusion: f32 ,
frag_coord: vec4<f32> ,
world_position: vec4<f32> ,
world_normal: vec3<f32> ,
is_orthographic: bool ,
}

Functions

pbr_functions__pbr

#
fn pbr_functions__pbr ( ) -> vec4<f32>