Expand description
The PBR prelude.
This includes the most common types in this crate, re-exported for your convenience.
Structs§
- Distance
Fog - Configures the “classic” computer graphics distance fog effect,
in which objects appear progressively more covered in atmospheric haze the further away they are from the camera.
Affects meshes rendered via the PBR
StandardMaterial
. - Material
Plugin - Adds the necessary ECS resources and render logic to enable rendering entities using the given
Material
asset type. - Mesh
Material3d - A material used for rendering a
Mesh3d
. - Screen
Space Ambient Occlusion Plugin - Plugin for screen space ambient occlusion.
- Standard
Material - A material with “standard” properties used in PBR lighting. Standard property values with pictures here: https://google.github.io/filament/notes/material_properties.html.
Enums§
- FogFalloff
- Allows switching between different fog falloff modes, and configuring their parameters.
- Parallax
Mapping Method - The parallax mapping method to use to compute depth based on the
material’s
depth_map
.
Traits§
- Material
- Materials are used alongside
MaterialPlugin
,Mesh3d
, andMeshMaterial3d
to spawn entities that are rendered with a specificMaterial
type. They serve as an easy to use high level way to renderMesh3d
entities with custom shader logic.