The following is a list of 3ds Max supported semantics for DirectX 9 hardware rendered materials through the original HLSL parser, identified by the paramId string "0x0000".
The following are supported render semantics:
The following are supported basic transformations (I = Inverse and T = Transpose)
The following are supported geometry based semantics:
The following lighting based semantics are used to populate the light drop downs with the correct style of light.
The following is an example of using lighting based semantics
// light direction (view space) float3 lightDir : Direction < string UIName = "Light Direction"; string Object = "TargetLight"; int RefID = 0; > = {-0.577, -0.577, 0.577}; //diffuse setting controlled by the light if available float4 k_d : LightColor < string UIName = "Diffuse"; int LightRef = 0; > = float4( 1.0f, 1.0f, 1.0f, 1.0f );
3ds Max has the concept of mapping channels. The TEXCOORD semantic allows the developer to define which channel is provided on which texture coordinate input for the vertex shader.
The following is an example of its usage
This will provide mapping channel 0 (the vertex color channel) to texcoord0. Currently the actual value of the parameter, in this case texcoord0, is ignored, and the parser only reads the annotation.
The following are non-categorized semantics: