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_fragment.wgsl

Import path

Functions

pbr_input_from_vertex_output

#

prepare a basic PbrInput from the vertex stage output, mesh binding and view binding

fn pbr_input_from_vertex_output (
is_front: bool
double_sided: bool
) -> pbr_types::PbrInput

pbr_input_from_standard_material

#

Prepare a full PbrInput by sampling all textures to resolve the material members

fn pbr_input_from_standard_material (
is_front: bool
) -> pbr_types::PbrInput