mirror of
https://github.com/overte-org/overte.git
synced 2025-04-26 02:36:45 +02:00
17 lines
378 B
GLSL
17 lines
378 B
GLSL
#version 120
|
|
|
|
//
|
|
// glow_add.frag
|
|
// fragment shader
|
|
//
|
|
// Created by Andrzej Kapolka on 8/14/13.
|
|
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
|
|
//
|
|
|
|
// the texture containing the original color
|
|
uniform sampler2D originalTexture;
|
|
|
|
void main(void) {
|
|
vec4 color = texture2D(originalTexture, gl_TexCoord[0].st);
|
|
gl_FragColor = color * (1.0 + color.a);
|
|
}
|