You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
362 B
16 lines
362 B
#import "Common/ShaderLib/MultiSample.glsllib"
|
|
|
|
uniform COLORTEXTURE m_Texture;
|
|
|
|
uniform sampler2D m_BloomTex;
|
|
uniform float m_BloomIntensity;
|
|
|
|
in vec2 texCoord;
|
|
out vec4 fragColor;
|
|
|
|
void main(){
|
|
vec4 colorRes = getColor(m_Texture,texCoord);
|
|
vec4 bloom = texture2D(m_BloomTex, texCoord);
|
|
fragColor = bloom * m_BloomIntensity + colorRes;
|
|
}
|
|
|
|
|