diff options
author | Sven Gothel <sgothel@jausoft.com> | 2014-02-28 12:16:09 +0100 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2014-02-28 12:16:09 +0100 |
commit | 8920cf318b99c4e30e35b37c963609fa12d5ce04 (patch) | |
tree | 76dc5947c546279d1c71649ddd9b5a5cd4fc4784 /src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass-weight.fp | |
parent | ea0059f01866bd6257d4a06164db1b6c906a2949 (diff) |
Bug 801: TextRegionUtil add 'special' for cache-key; Minor edits
Minor edits:
- Add some docs to curve-shader and remove FIXME remark about gcu_Alpha, which will be used < 1.0.
- Font: Add more TTF references
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass-weight.fp')
-rw-r--r-- | src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass-weight.fp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass-weight.fp b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass-weight.fp index 7643dab7b..2248792cb 100644 --- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass-weight.fp +++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-1pass-weight.fp @@ -45,7 +45,6 @@ void main (void) float gd = (aph*rtex.x*rtex.x + 2.0*rtex.x + 1.0)*(aph*rtex.x*rtex.x + 2.0*rtex.x + 1.0);
vec2 f = vec2((dtx.y - (w*dtx.x*(1.0 - 2.0*rtex.x))/gd), (dty.y - (w*dty.x*(1.0 - 2.0*rtex.x))/gd));
- // FIXME: will we ever set gcu_Alpha != 1.0 ? If not, a==alpha!
float a = clamp(0.5 - ( position/length(f) ) * sign(gcv_TexCoord.y), 0.0, 1.0);
alpha = gcu_Alpha * a;
}
|