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