Module three_d::renderer::material[][src]

Structs

A CPU-side version of a Material. Can be constructed manually or loaded via io.

Represents a color composed of a red, green and blue component. In addition, the alpha value determines the how transparent the color is (0 is fully transparent and 255 is fully opaque).

A material that renders a Shadable object in a color defined by multiplying a color with an optional texture and optional per vertex colors. This material is not affected by lights.

A physically-based material that renders a Shadable object in an approximate correct physical manner based on Physically Based Rendering (PBR). This material is affected by lights.

Traits

Represents a material that can be used in a DeferredPipeline::geometry_pass.

Represents a material that can be applied to a Shadable object.

Type Definitions

MaterialDeprecated

A material used for shading an object. This is the GPU-side version of CPUMaterial, meaning the same data, just transfered to the GPU so it can be used for rendering.