Florian Goujeon
837defa182
Fix DistanceFieldVector on WebGL iOS
7 years ago
Vladimír Vondruš
cd5f5e7ff9
Shaders: add ColorOutput constant to all shaders for consistency.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
0e9cb6945e
Shaders: define reasonable uniform defaults for all shaders.
...
Plus a bit of cleanup / fixing broken English.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
8c2eaea406
Shaders: more shader code cleanup.
...
Fixed random potential GLSL ES issues, reduced preprocessor madness.
11 years ago
Vladimír Vondruš
74b9670650
Shaders: don't exceed limits for no reason.
...
Shader::maxTextureImageUnits(Shader::Type::Fragment) is 16 on Ivy Bridge
and Mesa.
11 years ago
Vladimír Vondruš
6488fe6e75
Oh, it's 2015 already.
11 years ago
Vladimír Vondruš
6f0ba96cb6
Happy new year too.
12 years ago
Vladimír Vondruš
45a10cefdf
Making includes absolute, part 1: moving files around.
...
Everything what was in src/ is now in src/Corrade, everything from
src/Plugins is now in src/MagnumPlugins, everything from external/ is in
src/MagnumExternal. Added new CMakeLists.txt file and updated the other
ones for the moves, no other change was made. If MAGNUM_BUILD_DEPRECATED
is set, everything compiles and installs like previously except for the
plugins, which are now in MagnumPlugins and not in Magnum/Plugins.
12 years ago
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