diff options
author | Peilin <peilin@multicorewareinc.com> | 2014-01-23 02:49:10 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2014-01-29 08:09:56 +0100 |
commit | a7b0b253f086cd8c5d7947d9e1d958263c18a3e3 (patch) | |
tree | a7f8e367cd0d720d25ee4ac64b11f1b6c16e7581 /chart2/opengl/textFragmentShader.glsl | |
parent | 06f4573a87d861c50c0017702aed75a389619b46 (diff) |
add Symbol2D rendering
Change-Id: Ic294ffc4bc675495fe83ac182dbebbba7245c7b9
Diffstat (limited to 'chart2/opengl/textFragmentShader.glsl')
-rw-r--r-- | chart2/opengl/textFragmentShader.glsl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chart2/opengl/textFragmentShader.glsl b/chart2/opengl/textFragmentShader.glsl new file mode 100644 index 000000000000..83d0d82550be --- /dev/null +++ b/chart2/opengl/textFragmentShader.glsl @@ -0,0 +1,6 @@ +uniform sampler2D TextTex; +varying vec2 vTexCoord; +void main() +{ + gl_FragColor = vec4(texture2D(TextTex, vTexCoord).rgba); +} |