C4 Engine
C4 Engine API Documentation

class MicrofacetAttribute

Defined in:  C4Attributes.h
The MicrofacetAttribute class represents the material attribute for microfacet shading.
Definition

class MicrofacetAttribute final : public Attribute

Constructor

MicrofacetAttribute(const ColorRGBA& color, const Vector2D& slope, float reflectivity, uint32 flags = 0);

Parameters
color The microfacet color.
slope The average microfacet slope in the two tangent directions.
reflectivity The microfacet reflectivity.
flags The initial attribute flags. See the Attribute::SetAttributeFlags function.
Description


Base Classes
Attribute A MicrofacetAttribute is a specific type of attribute.
See Also

ColorRGBA