Structs
An ambient light, which lights the entire scene equally.
A Directional light.
A component bundle for
DirectionalLight
entities.Adds the necessary ECS resources and render logic to enable rendering entities using the given
Material
asset type.A light that emits light in all directions from a central point.
A component bundle for
PointLight
entities.A light that emits light in a given direction from a central point.
Behaves like a point light in a perfectly absorbant housing that
shines light only in a given direction. The direction is taken from
the transform, and can be specified with
Transform::looking_at
.A component bundle for spot light entities
A material with “standard” properties used in PBR lighting
Standard property values with pictures here
https://google.github.io/filament/Material%20Properties.pdf.
Enums
Sets how a material’s base color alpha channel is used for transparency.
Traits
Materials are used alongside
MaterialPlugin
and MaterialMeshBundle
to spawn entities that are rendered with a specific Material
type. They serve as an easy to use high level
way to render Mesh
entities with custom shader logic.Type Definitions
A component bundle for PBR entities with a
Mesh
and a StandardMaterial
.