1MaterialDef Bloom Final { 2 3 MaterialParameters { 4 Int NumSamples 5 Texture2D Texture 6 Texture2D BloomTex 7 Float BloomIntensity 8 } 9 10 Technique { 11 VertexShader GLSL100: Common/MatDefs/Post/Post15.vert 12 FragmentShader GLSL150: Common/MatDefs/Post/bloomFinal15.frag 13 14 WorldParameters { 15 WorldViewProjectionMatrix 16 } 17 18 Defines { 19 RESOLVE_MS : NumSamples 20 } 21 } 22 23 Technique { 24 VertexShader GLSL100: Common/MatDefs/Post/Post.vert 25 FragmentShader GLSL100: Common/MatDefs/Post/bloomFinal.frag 26 27 WorldParameters { 28 WorldViewProjectionMatrix 29 } 30 } 31 32 33 34 Technique FixedFunc { 35 } 36}