diff options
Diffstat (limited to 'build/test.frag')
| -rw-r--r-- | build/test.frag | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/build/test.frag b/build/test.frag new file mode 100644 index 0000000..5176ed2 --- /dev/null +++ b/build/test.frag @@ -0,0 +1,13 @@ +uniform sampler2D fireAlpha; // the texture with the scene you want to blur +//varying vec2 vTexCoord; + +//precision mediump float; +//uniform sampler2D tex; +//varying float vAlpha; + +in vec2 gl_PointCoord; + +void main () { + vec4 texColor = texture2D(fireAlpha, gl_PointCoord); + gl_FragColor = vec4(gl_Color.rgb, texColor.a*gl_Color.a); +} |
