1Exception SolidColor.j3md has been marked as obsolete. Please use Unshaded.j3md instead. 2 3MaterialDef Solid Color { 4 5 MaterialParameters { 6 Vector4 Color 7 8 // Texture of the glowing parts of the material 9 Texture2D GlowMap 10 // The glow color of the object 11 Color GlowColor 12 } 13 14 Technique { 15 VertexShader GLSL100: Common/MatDefs/Misc/Unshaded.vert 16 FragmentShader GLSL100: Common/MatDefs/Misc/Unshaded.frag 17 18 Defines { 19 HAS_COLOR : Color 20 } 21 22 WorldParameters { 23 WorldViewProjectionMatrix 24 } 25 } 26 27 Technique FixedFunc { 28 } 29 30 Technique Glow { 31 32 VertexShader GLSL100: Common/MatDefs/Misc/Unshaded.vert 33 FragmentShader GLSL100: Common/MatDefs/Light/Glow.frag 34 35 WorldParameters { 36 WorldViewProjectionMatrix 37 } 38 39 Defines { 40 HAS_GLOWMAP : GlowMap 41 HAS_GLOWCOLOR : GlowColor 42 } 43 } 44}