1MaterialDef Bloom { 2 3 MaterialParameters { 4 Int NumSamples 5 Texture2D Texture 6 Float Size 7 Float Scale 8 } 9 10 Technique { 11 VertexShader GLSL100: Common/MatDefs/Post/Post.vert 12 FragmentShader GLSL100: Common/MatDefs/Blur/VGaussianBlur.frag 13 14 WorldParameters { 15 WorldViewProjectionMatrix 16 } 17 } 18 19 Technique FixedFunc { 20 } 21}