Vladimír Vondruš
ec467e4099
Shaders: `range` is reserved keyword in GLSL.
...
Neither desktop GL nor GLES on my NVidia complained. Just Chrome didn't
like it.
13 years ago
Vladimír Vondruš
5c06009446
Reverted interval in distancefield-related things.
...
1.0 is taken as shape center (white), 0.0 as shape surroundings (black).
It was unintuitive to have it reverted, updated documentation to make it
right.
13 years ago
Vladimír Vondruš
261250f074
Shaders: fix port of *Vector shaders to old GLSL.
...
Texture layer binding was never set and there were various GLSL
compilation errors.
13 years ago
Vladimír Vondruš
623fda0dc7
Shaders: removed superfluous `*Shader` suffix from class names.
13 years ago
Vladimír Vondruš
c5ab86794b
Relicensing to MIT/Expat license, part 3: source files.
...
Added license header also to shader sources. Hopefully it won't harm
compilation times too much.
13 years ago
Vladimír Vondruš
2d98dadb0a
Shaders: first DistanceFieldVectorShader implementation.
...
Currently only fill and outline can be specified. Also crosslinked from
documentation of VectorShader and TextureTools::distanceField().
13 years ago