* Particles now have proper glow * Fixed bug where references to static variables would stay in ParticleEmitter and particleInfluencer, causing havoc * Fixed warning in InputManager when using ScreenshotAppState * TestEverything now uses TangentBinormalGenerator, since before there was no tangents for the floor git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7821 75d07b2b-3a1a-0410-a2c5-0572b91ccdca3.0
parent
e3574d2fe7
commit
235646f38f
@ -1,18 +1,12 @@ |
|||||||
//uniform float exposurePow; |
|
||||||
//uniform float exposureCutoff; |
|
||||||
uniform sampler2D m_Texture; |
uniform sampler2D m_Texture; |
||||||
uniform sampler2D m_BloomTex; |
uniform sampler2D m_BloomTex; |
||||||
uniform float m_BloomIntensity; |
uniform float m_BloomIntensity; |
||||||
|
|
||||||
varying vec2 texCoord; |
varying vec2 texCoord; |
||||||
|
|
||||||
|
void main(){ |
||||||
|
vec4 colorRes = texture2D(m_Texture, texCoord); |
||||||
void main(void) |
vec4 bloom = texture2D(m_BloomTex, texCoord); |
||||||
{ |
gl_FragColor = bloom * m_BloomIntensity + colorRes; |
||||||
|
|
||||||
vec4 colorRes=texture2D(m_Texture, texCoord); |
|
||||||
vec4 bloom=texture2D(m_BloomTex, texCoord); |
|
||||||
gl_FragColor =bloom*m_BloomIntensity+colorRes; |
|
||||||
} |
} |
||||||
|
|
||||||
|
Loading…
Reference in new issue