Redid alpha-render-handling (-> grey eliminated)
Particlesystem now looking like in particle creator. -> All effects have to be redone
This commit is contained in:
@ -20,6 +20,7 @@ void main() {
|
||||
vec2 texAtlasCoords = getTexCoordsInAtlas(clampedTexCoords, texAtlasIndex);
|
||||
gl_FragColor = texture2D(texture, texAtlasCoords);
|
||||
gl_FragColor.a = min(gl_FragColor.a, alpha);
|
||||
gl_FragColor.rgb = gl_FragColor.rgb / gl_FragColor.a;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user