List of Shader Standard Parameter Flags

3DS Max Plug-In SDK

List of Shader Standard Parameter Flags

See Also: Class Shader, Class IllumParams.

These are the flags that are returned in Shader::SupportStdParams()or stored in IllumParams::stdParams.

One or more of the following values:

STD_PARAM_NONE

This indicates none of the flags below.

STD_PARAM_ALLĀ 

This indicates all of the flags below.

STD_PARAM_METAL

This bit is only used by the Metal shader.

STD_PARAM_LOCKDS

Indicate support for the Diffuse / Specular lock.

STD_PARAM_LOCKAD

Indicates support for the Ambient / Diffuse lock.

STD_PARAM_LOCKADTEX

Indicates support for the Ambient / Diffuse texture lock.

STD_PARAM_SELFILLUM

Indicates support for the Self Illumination parameter.

STD_PARAM_SELFILLUM_CLR

Indicates support for the Self Illumination color parameter.

STD_PARAM_AMBIENT_CLR

Indicates support for the Ambient color parameter.

STD_PARAM_DIFFUSE_CLR

Indicates support for the Diffuse color parameter.

STD_PARAM_SPECULAR_CLR

Indicates support for the Specular color parameter.

STD_PARAM_FILTER_CLR

Indicates support for the Filter color parameter.

STD_PARAM_GLOSSINESS

Indicates support for the Glossiness parameter.

STD_PARAM_SOFTEN_LEV

Indicates support for the Soften Level parameter.

STD_PARAM_SPECULAR_LEV

Indicates support for the Specular Level parameter.

STD_PARAM_DIFFUSE_LEV

Indicates support for the Diffuse Level parameter.

STD_PARAM_DIFFUSE_RHO

Indicates support for the Roughness parameter.

STD_PARAM_ANISO

Indicates support for the Specular Highlight Anisotropy parameter.

STD_PARAM_ORIENTATION

Indicates support for the Specular Highlight Orientation parameter.

STD_PARAM_REFL_LEV

This is reserved for future use.

STD_PARAM_SELFILLUM_CLR_ON

Indicates support for the Self Illumination Color On/Off checkbox.

STD_BASIC2_DLG

This bit is only set by the three pre-R3 shaders (Phong, Blinn, and Metal). If this bit is not set then the Basic Parameters dialog is replaced by the one provided by the plug-in shader.

STD_EXTRA_DLG

Indicates support for the Extended Parameters rollout. If this bit is not set one provided by the plug-in shader will be used instead.

The following three flags, when set, enable the specified controls in the Extended Parameters rollout.

STD_EXTRA_REFLECTION

Indicates support for Reflection Dimming parameters (Apply, Dim Level, Refl Level).

STD_EXTRA_REFRACTION

Indicates support for Index of Refraction parameter.

STD_EXTRA_OPACITY

Indicates support for Opacity parameters (Amount, In/Out, Type).