C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

class MicrofacetAttribute

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

class MicrofacetAttribute : public Attribute

Constructor

MicrofacetAttribute(const ColorRGBA& color, const Vector2D& slope, float reflectivity);

Parameters
color The microfacet color.
slope The average microfacet slope in the two tangent directions.
reflectivity The microfacet reflectivity.
Description


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

ColorRGBA