|
|
@ -72,25 +72,28 @@ MaterialDef Point Sprite { |
|
|
|
|
|
|
|
|
|
|
|
Technique PreShadow { |
|
|
|
Technique PreShadow { |
|
|
|
|
|
|
|
|
|
|
|
VertexShader GLSL100 : Common/MatDefs/Misc/Particle.vert |
|
|
|
VertexShader GLSL100 : Common/MatDefs/Shadow/PreShadow.vert |
|
|
|
FragmentShader GLSL100 : Common/MatDefs/Misc/Particle.frag |
|
|
|
FragmentShader GLSL100 : Common/MatDefs/Shadow/PreShadow.frag |
|
|
|
|
|
|
|
|
|
|
|
WorldParameters { |
|
|
|
WorldParameters { |
|
|
|
WorldViewProjectionMatrix |
|
|
|
WorldViewProjectionMatrix |
|
|
|
WorldViewMatrix |
|
|
|
WorldViewMatrix |
|
|
|
WorldMatrix |
|
|
|
ViewProjectionMatrix |
|
|
|
CameraPosition |
|
|
|
ViewMatrix |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Defines { |
|
|
|
Defines { |
|
|
|
USE_TEXTURE : Texture |
|
|
|
COLOR_MAP : Texture |
|
|
|
PRE_SHADOW |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
ForcedRenderState { |
|
|
|
ForcedRenderState { |
|
|
|
DepthWrite On |
|
|
|
FaceCull Off |
|
|
|
ColorWrite Off |
|
|
|
DepthTest On |
|
|
|
|
|
|
|
DepthWrite On |
|
|
|
|
|
|
|
PolyOffset 5 3 |
|
|
|
|
|
|
|
ColorWrite Off |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Technique SoftParticles{ |
|
|
|
Technique SoftParticles{ |
|
|
@ -140,14 +143,6 @@ MaterialDef Point Sprite { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Technique { |
|
|
|
|
|
|
|
RenderState { |
|
|
|
|
|
|
|
Blend AlphaAdditive |
|
|
|
|
|
|
|
// DepthWrite Off |
|
|
|
|
|
|
|
// AlphaTestFalloff 0.01 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Technique Glow { |
|
|
|
Technique Glow { |
|
|
|
|
|
|
|
|
|
|
|
VertexShader GLSL100: Common/MatDefs/Misc/Unshaded.vert |
|
|
|
VertexShader GLSL100: Common/MatDefs/Misc/Unshaded.vert |
|
|
|