File tree 1 file changed +13
-18
lines changed
jme3-core/src/main/resources/Common/MatDefs/Misc
1 file changed +13
-18
lines changed Original file line number Diff line number Diff line change @@ -72,25 +72,28 @@ MaterialDef Point Sprite {
72
72
73
73
Technique PreShadow {
74
74
75
- VertexShader GLSL100 : Common/MatDefs/Misc/Particle .vert
76
- FragmentShader GLSL100 : Common/MatDefs/Misc/Particle .frag
75
+ VertexShader GLSL100 : Common/MatDefs/Shadow/PreShadow .vert
76
+ FragmentShader GLSL100 : Common/MatDefs/Shadow/PreShadow .frag
77
77
78
78
WorldParameters {
79
- WorldViewProjectionMatrix
80
- WorldViewMatrix
81
- WorldMatrix
82
- CameraPosition
79
+ WorldViewProjectionMatrix
80
+ WorldViewMatrix
81
+ ViewProjectionMatrix
82
+ ViewMatrix
83
83
}
84
84
85
85
Defines {
86
- USE_TEXTURE : Texture
87
- PRE_SHADOW
86
+ COLOR_MAP : Texture
88
87
}
89
88
90
89
ForcedRenderState {
91
- DepthWrite On
92
- ColorWrite Off
90
+ FaceCull Off
91
+ DepthTest On
92
+ DepthWrite On
93
+ PolyOffset 5 3
94
+ ColorWrite Off
93
95
}
96
+
94
97
}
95
98
96
99
Technique SoftParticles{
@@ -140,14 +143,6 @@ MaterialDef Point Sprite {
140
143
}
141
144
}
142
145
143
- Technique {
144
- RenderState {
145
- Blend AlphaAdditive
146
- // DepthWrite Off
147
- // AlphaTestFalloff 0.01
148
- }
149
- }
150
-
151
146
Technique Glow {
152
147
153
148
VertexShader GLSL100: Common/MatDefs/Misc/Unshaded.vert
You can’t perform that action at this time.
0 commit comments