Expand description
Physically based shader code.
Functions§
- fragment_
impl - PBR fragment shader capable of being run on CPU or GPU.
- get_
material - Returns the
Material
from the stage’s slab. - normal_
distribution_ ggx - Trowbridge-Reitz GGX normal distribution function (NDF).
- outgoing_
radiance - sample_
irradiance - sample_
specular_ reflection - shade_
fragment - texture_
color