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.

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>,
N: vec3<f32>,
V: vec3<f32>,
is_orthographic: bool,
}

Functions

pbr_functions__pbr

#
fn pbr_functions__pbr ( ) -> vec4<f32>
Contents