|
|
@ -256,23 +256,24 @@ MaterialDef PBR Lighting { |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Technique GBuf { |
|
|
|
Technique Glow { |
|
|
|
|
|
|
|
|
|
|
|
VertexShader GLSL100: Common/MatDefs/Light/GBuf.vert |
|
|
|
VertexShader GLSL100 GLSL150: Common/MatDefs/Misc/Unshaded.vert |
|
|
|
FragmentShader GLSL100: Common/MatDefs/Light/GBuf.frag |
|
|
|
FragmentShader GLSL100 GLSL150: Common/MatDefs/Light/Glow.frag |
|
|
|
|
|
|
|
|
|
|
|
WorldParameters { |
|
|
|
WorldParameters { |
|
|
|
WorldViewProjectionMatrix |
|
|
|
WorldViewProjectionMatrix |
|
|
|
NormalMatrix |
|
|
|
ViewProjectionMatrix |
|
|
|
WorldViewMatrix |
|
|
|
ViewMatrix |
|
|
|
WorldMatrix |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Defines { |
|
|
|
Defines { |
|
|
|
VERTEX_COLOR : UseVertexColor |
|
|
|
NEED_TEXCOORD1 |
|
|
|
NORMALMAP : NormalMap |
|
|
|
HAS_GLOWMAP : GlowMap |
|
|
|
SPECULARMAP : SpecularMap |
|
|
|
HAS_GLOWCOLOR : GlowColor |
|
|
|
PARALLAXMAP : ParallaxMap |
|
|
|
|
|
|
|
|
|
|
|
NUM_BONES : NumberOfBones |
|
|
|
|
|
|
|
INSTANCING : UseInstancing |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|