Expand description
The PBR prelude.
This includes the most common types in this crate, re-exported for your convenience.
Structs§
- Ambient
Light - An ambient light, which lights the entire scene equally.
- Directional
Light - A Directional light.
- Directional
Light Bundle Deprecated - A component bundle for
DirectionalLight
entities. - 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
. - Environment
MapLight - A pair of cubemap textures that represent the surroundings of a specific area in space.
- Light
Probe - A marker component for a light probe, which is a cuboid region that provides global illumination to all fragments inside it.
- Material
Mesh Bundle Deprecated - A component bundle for entities with a
Mesh3d
and aMeshMaterial3d
. - 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
. - Point
Light - A light that emits light in all directions from a central point.
- Point
Light Bundle Deprecated - A component bundle for
PointLight
entities. - Reflection
Probe Bundle Deprecated - A bundle that contains everything needed to make an entity a reflection probe.
- Screen
Space Ambient Occlusion Plugin - Plugin for screen space ambient occlusion.
- Spot
Light - A light that emits light in a given direction from a central point.
- Spot
Light Bundle Deprecated - A component bundle for spot light entities
- Standard
Material - A material with “standard” properties used in PBR lighting Standard property values with pictures here https://google.github.io/filament/Material%20Properties.pdf.
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.
Type Aliases§
- PbrBundle
Deprecated - A component bundle for PBR entities with a
Mesh3d
and aMeshMaterial3d<StandardMaterial>
.