File tree Expand file tree Collapse file tree
jme3-core/src/main/resources/Common/MatDefs/Misc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,25 +72,28 @@ MaterialDef Point Sprite {
7272
7373 Technique PreShadow {
7474
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
7777
7878 WorldParameters {
79- WorldViewProjectionMatrix
80- WorldViewMatrix
81- WorldMatrix
82- CameraPosition
79+ WorldViewProjectionMatrix
80+ WorldViewMatrix
81+ ViewProjectionMatrix
82+ ViewMatrix
8383 }
8484
8585 Defines {
86- USE_TEXTURE : Texture
87- PRE_SHADOW
86+ COLOR_MAP : Texture
8887 }
8988
9089 ForcedRenderState {
91- DepthWrite On
92- ColorWrite Off
90+ FaceCull Off
91+ DepthTest On
92+ DepthWrite On
93+ PolyOffset 5 3
94+ ColorWrite Off
9395 }
96+
9497 }
9598
9699 Technique SoftParticles{
@@ -140,14 +143,6 @@ MaterialDef Point Sprite {
140143 }
141144 }
142145
143- Technique {
144- RenderState {
145- Blend AlphaAdditive
146- // DepthWrite Off
147- // AlphaTestFalloff 0.01
148- }
149- }
150-
151146 Technique Glow {
152147
153148 VertexShader GLSL100: Common/MatDefs/Misc/Unshaded.vert
You can’t perform that action at this time.
0 commit comments