class MicrofacetAttribute
Defined in:
The C4Attributes.h
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