|
|
|
@ -132,6 +132,8 @@ MaterialDef Phong Lighting { |
|
|
|
|
// For hardware skinning |
|
|
|
|
Int NumberOfBones |
|
|
|
|
Matrix4Array BoneMatrices |
|
|
|
|
|
|
|
|
|
Boolean UseInstancing |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Technique { |
|
|
|
@ -148,6 +150,7 @@ MaterialDef Phong Lighting { |
|
|
|
|
ViewMatrix |
|
|
|
|
CameraPosition |
|
|
|
|
WorldMatrix |
|
|
|
|
ViewProjectionMatrix |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Defines { |
|
|
|
@ -177,6 +180,8 @@ MaterialDef Phong Lighting { |
|
|
|
|
SPHERE_MAP : SphereMap |
|
|
|
|
|
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
|
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -188,12 +193,15 @@ MaterialDef Phong Lighting { |
|
|
|
|
WorldParameters { |
|
|
|
|
WorldViewProjectionMatrix |
|
|
|
|
WorldViewMatrix |
|
|
|
|
ViewProjectionMatrix |
|
|
|
|
ViewMatrix |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Defines { |
|
|
|
|
COLOR_MAP : ColorMap |
|
|
|
|
DISCARD_ALPHA : AlphaDiscardThreshold |
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ForcedRenderState { |
|
|
|
@ -214,6 +222,8 @@ MaterialDef Phong Lighting { |
|
|
|
|
WorldParameters { |
|
|
|
|
WorldViewProjectionMatrix |
|
|
|
|
WorldMatrix |
|
|
|
|
ViewProjectionMatrix |
|
|
|
|
ViewMatrix |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Defines { |
|
|
|
@ -227,6 +237,7 @@ MaterialDef Phong Lighting { |
|
|
|
|
PSSM : Splits |
|
|
|
|
POINTLIGHT : LightViewProjectionMatrix5 |
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ForcedRenderState { |
|
|
|
@ -243,6 +254,8 @@ MaterialDef Phong Lighting { |
|
|
|
|
WorldParameters { |
|
|
|
|
WorldViewProjectionMatrix |
|
|
|
|
WorldMatrix |
|
|
|
|
ViewProjectionMatrix |
|
|
|
|
ViewMatrix |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Defines { |
|
|
|
@ -256,6 +269,7 @@ MaterialDef Phong Lighting { |
|
|
|
|
PSSM : Splits |
|
|
|
|
POINTLIGHT : LightViewProjectionMatrix5 |
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ForcedRenderState { |
|
|
|
@ -274,11 +288,14 @@ MaterialDef Phong Lighting { |
|
|
|
|
WorldViewProjectionMatrix |
|
|
|
|
WorldViewMatrix |
|
|
|
|
NormalMatrix |
|
|
|
|
ViewProjectionMatrix |
|
|
|
|
ViewMatrix |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Defines { |
|
|
|
|
DIFFUSEMAP_ALPHA : DiffuseMap |
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -293,11 +310,14 @@ MaterialDef Phong Lighting { |
|
|
|
|
WorldViewProjectionMatrix |
|
|
|
|
WorldViewMatrix |
|
|
|
|
NormalMatrix |
|
|
|
|
ViewProjectionMatrix |
|
|
|
|
ViewMatrix |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Defines { |
|
|
|
|
DIFFUSEMAP_ALPHA : DiffuseMap |
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -339,6 +359,8 @@ MaterialDef Phong Lighting { |
|
|
|
|
|
|
|
|
|
WorldParameters { |
|
|
|
|
WorldViewProjectionMatrix |
|
|
|
|
ViewProjectionMatrix |
|
|
|
|
ViewMatrix |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Defines { |
|
|
|
@ -347,6 +369,7 @@ MaterialDef Phong Lighting { |
|
|
|
|
HAS_GLOWCOLOR : GlowColor |
|
|
|
|
|
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|