|
|
|
@ -104,6 +104,8 @@ MaterialDef PBR Lighting { |
|
|
|
|
|
|
|
|
|
//For Vertex Color |
|
|
|
|
Boolean UseVertexColor |
|
|
|
|
|
|
|
|
|
Boolean BackfaceShadows : false |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Technique { |
|
|
|
@ -170,7 +172,7 @@ MaterialDef PBR Lighting { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Technique PostShadow15{ |
|
|
|
|
Technique PostShadow{ |
|
|
|
|
VertexShader GLSL150: Common/MatDefs/Shadow/PostShadow.vert |
|
|
|
|
FragmentShader GLSL150: Common/MatDefs/Shadow/PostShadow.frag |
|
|
|
|
|
|
|
|
@ -193,6 +195,7 @@ MaterialDef PBR Lighting { |
|
|
|
|
POINTLIGHT : LightViewProjectionMatrix5 |
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
|
BACKFACE_SHADOWS: BackfaceShadows |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ForcedRenderState { |
|
|
|
@ -224,6 +227,7 @@ MaterialDef PBR Lighting { |
|
|
|
|
POINTLIGHT : LightViewProjectionMatrix5 |
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
|
BACKFACE_SHADOWS: BackfaceShadows |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ForcedRenderState { |
|
|
|
|