Renamed text_sdf.frag to text.frag and removed text_greyscale_frag.

Cleaned up setup of osgText::ShaderTechnique adding a NO_SHADER_TECHNIQUE option.
This commit is contained in:
Robert Osfield
2017-10-23 16:07:24 +01:00
parent 4b295c46d1
commit 55a1764712
6 changed files with 272 additions and 317 deletions

View File

@@ -40,6 +40,7 @@ class GlyphTexture;
enum ShaderTechnique
{
NO_TEXT_SHADER = 0x0,
GREYSCALE = 0x1,
SIGNED_DISTANCE_FIELD = 0x2,
ALL_FEATURES = GREYSCALE | SIGNED_DISTANCE_FIELD