File tree Expand file tree Collapse file tree
jme3-core/src/main/resources/Common/MatDefs/Light Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -281,6 +281,7 @@ MaterialDef Phong Lighting {
281281 POINTLIGHT : LightViewProjectionMatrix5
282282 NUM_BONES : NumberOfBones
283283 INSTANCING : UseInstancing
284+ BACKFACE_SHADOWS: BackfaceShadows
284285 }
285286
286287 ForcedRenderState {
Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ MaterialDef PBR Lighting {
104104
105105 //For Vertex Color
106106 Boolean UseVertexColor
107+
108+ Boolean BackfaceShadows : false
107109 }
108110
109111 Technique {
@@ -170,7 +172,7 @@ MaterialDef PBR Lighting {
170172 }
171173
172174
173- Technique PostShadow15 {
175+ Technique PostShadow {
174176 VertexShader GLSL150: Common/MatDefs/Shadow/PostShadow.vert
175177 FragmentShader GLSL150: Common/MatDefs/Shadow/PostShadow.frag
176178
@@ -193,6 +195,7 @@ MaterialDef PBR Lighting {
193195 POINTLIGHT : LightViewProjectionMatrix5
194196 NUM_BONES : NumberOfBones
195197 INSTANCING : UseInstancing
198+ BACKFACE_SHADOWS: BackfaceShadows
196199 }
197200
198201 ForcedRenderState {
@@ -224,6 +227,7 @@ MaterialDef PBR Lighting {
224227 POINTLIGHT : LightViewProjectionMatrix5
225228 NUM_BONES : NumberOfBones
226229 INSTANCING : UseInstancing
230+ BACKFACE_SHADOWS: BackfaceShadows
227231 }
228232
229233 ForcedRenderState {
You can’t perform that action at this time.
0 commit comments