1#import "Common/ShaderLib/MultiSample.glsllib" 2 3uniform COLORTEXTURE m_Texture; 4 5uniform sampler2D m_BloomTex; 6uniform float m_BloomIntensity; 7 8in vec2 texCoord; 9 10void main(){ 11 vec4 colorRes = getColor(m_Texture,texCoord); 12 vec4 bloom = texture2D(m_BloomTex, texCoord); 13 gl_FragColor = bloom * m_BloomIntensity + colorRes; 14} 15 16