3ds Max C++ API Reference
IHairModifier::ShadingParameters Struct Reference

Defines the standard set of shading parameters for hair strands. More...

#include <IHairModifier.h>

Public Attributes

Mtlshader = nullptr
 The material to be used for shading this hair. More...
 
float ambdiff = 0.0f
 The ambient diffuse term. More...
 
float gloss = 0.0f
 Glossiness. More...
 
float specular = 0.0f
 Specularity. More...
 
Color specular_tint = Color(0.0f, 0.0f, 0.0f)
 Specular color. More...
 
Color specular_tint2 = Color(0.0f, 0.0f, 0.0f)
 Specular color for secondary highlights. More...
 

Detailed Description

Defines the standard set of shading parameters for hair strands.

Member Data Documentation

◆ shader

Mtl* shader = nullptr

The material to be used for shading this hair.

If null, then the shading parameters below should be used instead.

◆ ambdiff

float ambdiff = 0.0f

The ambient diffuse term.

◆ gloss

float gloss = 0.0f

Glossiness.

◆ specular

float specular = 0.0f

Specularity.

◆ specular_tint

Color specular_tint = Color(0.0f, 0.0f, 0.0f)

Specular color.

◆ specular_tint2

Color specular_tint2 = Color(0.0f, 0.0f, 0.0f)

Specular color for secondary highlights.