Robert Osfield
|
37a63d37e2
|
Split up #pragma so that there only three parameters per line to aovid Intel driver bug crash
|
2018-04-26 09:52:32 +01:00 |
|
Robert Osfield
|
1daacced5a
|
Renamed text.vert and text.frag to osgText_Text.vert and .frag to avoid name overlapping with user shaders.
|
2018-04-26 09:52:32 +01:00 |
|
Robert Osfield
|
31c29f4318
|
Refactored the handling of glyph and shadow alpha values to make the text and shadow clearer for fonts with narrow glyphs
|
2018-04-24 15:33:03 +01:00 |
|
Robert Osfield
|
6c055e3400
|
Added __VERSION__<140 check for usage of gl_ClipVertex to avoid GL3 core profile usage issues
|
2018-04-02 16:23:07 +01:00 |
|
Robert Osfield
|
9d5a22a0aa
|
Added suport for writing to gl_ClipVertex
|
2018-03-30 15:27:35 +01:00 |
|
Philippe Renon
|
3e12972a03
|
osgText: fix typos related to SIGNED_DISTANCE_FIELD
|
2018-01-10 14:21:25 +01:00 |
|
Robert Osfield
|
1e896777d1
|
Updated from OpenSceneGraph-Data/shader/text.frag to add fixes to handling of vertexColor's alpha values
|
2017-10-26 12:08:00 +01:00 |
|
Robert Osfield
|
8f658fbc32
|
Updated from OpenSceneGraph-Data/shaders/text.frag to address GLSL int to float conversion warning
|
2017-10-24 15:14:23 +01:00 |
|
Robert Osfield
|
55a1764712
|
Renamed text_sdf.frag to text.frag and removed text_greyscale_frag.
Cleaned up setup of osgText::ShaderTechnique adding a NO_SHADER_TECHNIQUE option.
|
2017-10-23 16:07:24 +01:00 |
|
Robert Osfield
|
2303d6afc4
|
Cleaned up support for GL3 build
|
2017-10-13 17:03:31 +01:00 |
|
Robert Osfield
|
846204ed9e
|
Updated from OpenSceneGraph-Data/shaders/text_sdf.frag to add support for SHADOW
|
2017-10-12 18:45:38 +01:00 |
|
Robert Osfield
|
eebb679754
|
Updated text_sdf_frag.cpp from OpenSceneGraph-Data changes that add outline generation for non SIGNED_DISTANCE_FIELD text.
|
2017-10-12 11:12:47 +01:00 |
|
Robert Osfield
|
2f19cd4b87
|
Improvements to the Signed Distance Field implementation.
|
2017-10-04 18:06:42 +01:00 |
|
Robert Osfield
|
8c575c0cea
|
UPdated from OpenSceneGraph-Data with handling of non textured text decoration
|
2017-09-26 15:32:41 +01:00 |
|
Robert Osfield
|
6ec9f0a3d3
|
Updated shader from OpenSceneGraph-Data/shaders to add fade out for SDF and non SDF pathways
|
2017-09-26 12:51:03 +01:00 |
|
Robert Osfield
|
ca5a8a81a2
|
Updated wiht OpenSceneGraph-Data/shader version that introduced use of textureLOD to reduce aliasing artifacts with SDF
|
2017-09-26 10:57:09 +01:00 |
|
Robert Osfield
|
845e1d4463
|
Updated shaders using latest OpenSceneGraph-Data/shader versions
|
2017-09-26 10:44:14 +01:00 |
|
Robert Osfield
|
78811462f1
|
Added support for only enabling SignedDistanceField shader path when font resolution is greater than 16.
|
2017-09-20 15:51:03 +01:00 |
|
Robert Osfield
|
b0829cc352
|
Updated text_sdf.frag shader to handle GLES2+ versions
|
2017-09-20 11:02:06 +01:00 |
|
Robert Osfield
|
fafa468fea
|
Fixed OSG_PRECISION_FLOAT usage
|
2017-09-19 17:07:59 +01:00 |
|
Robert Osfield
|
72cf6734a1
|
Added osgText/shaders to support greyscale and Signed Distance Field based text
|
2017-09-19 16:35:28 +01:00 |
|