Constants
Structures
Functions
Used by 9 shaders
- bevy 0.15.3 — array_texture.wgsl
- bevy 0.15.3 — extended_material.wgsl
- bevy_pbr 0.15.3 — deferred_lighting.wgsl
- bevy_pbr 0.15.3 — pbr.wgsl
- bevy_pbr 0.15.3 — pbr_deferred_functions.wgsl
- bevy_pbr 0.15.3 — pbr_fragment.wgsl
- bevy_pbr 0.15.3 — pbr_prepass.wgsl
- bevy_pbr 0.15.3 — ssr.wgsl
- naga_oil 0.16.0 — pbr.wgsl
Samples a texture using the appropriate biasing metric for the type of mesh in use (mesh vs. meshlet).
Active when
STANDARD_MATERIAL_ANISOTROPY
This follows the suggested implementation in the KHR_materials_anisotropy specification:
https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_anisotropy/README.md#image-based-lighting
Used by 9 shaders
- bevy 0.15.3 — array_texture.wgsl
- bevy 0.15.3 — extended_material.wgsl
- bevy_pbr 0.15.3 — deferred_lighting.wgsl
- bevy_pbr 0.15.3 — pbr.wgsl
- bevy_pbr 0.15.3 — pbr_deferred_functions.wgsl
- bevy_pbr 0.15.3 — pbr_fragment.wgsl
- bevy_pbr 0.15.3 — pbr_prepass.wgsl
- bevy_pbr 0.15.3 — ssr.wgsl
- naga_oil 0.16.0 — pbr.wgsl
Used by 9 shaders
- bevy 0.15.3 — array_texture.wgsl
- bevy 0.15.3 — extended_material.wgsl
- bevy_pbr 0.15.3 — deferred_lighting.wgsl
- bevy_pbr 0.15.3 — pbr.wgsl
- bevy_pbr 0.15.3 — pbr_deferred_functions.wgsl
- bevy_pbr 0.15.3 — pbr_fragment.wgsl
- bevy_pbr 0.15.3 — pbr_prepass.wgsl
- bevy_pbr 0.15.3 — ssr.wgsl
- naga_oil 0.16.0 — pbr.wgsl
Biasing info needed to sample from a texture when calling
sample_texture. How this is done depends on whether we’re rendering meshlets or regular meshes.