Vladimír Vondruš
ef9da0ec96
Shaders: add UBO support to all shaders.
5 years ago
Vladimír Vondruš
96a0ecd87e
Shaders: doc++
5 years ago
Vladimír Vondruš
47e7de47c8
Shaders: remove the AbstractVector base.
...
167 additions, 341 deletions. I think that speaks for itself about
benefits of this base class.
5 years ago
Vladimír Vondruš
d3e11765ac
Shaders: EXPLICIT_TEXTURE_LAYER is very misleading.
...
I went through renaming this on many places quite some time ago, but
this one slipped through. Now that UBOs will be a thing, rename to
EXPLICIT_BINDING instead of EXPLICIT_UNIFORM_BINDING.
5 years ago
Vladimír Vondruš
9f0a61e76e
Shaders: group things together also in GLSL sources.
...
It was also becoming quite a mess in there.
5 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
9a06b3515b
Shaders: implement texture coordinate transformation for all shaders.
...
Except MeshVisualizer and VertexColor, which don't have any texturing,
so there it's not needed. In most cases the tests are reusing existing
ground truth files and only modifying transformations / flipping images.
6 years ago
Vladimír Vondruš
a35d53118b
Shaders: name the textureCoordinates attribute consistently in GLSL.
...
Interestingly enough, on Phong it was named textureCoords while on the
C++ side it was asking for textureCoordinates, and I don't remember this
being an issue *ever*, on any driver.
6 years ago
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.
13 years ago
Vladimír Vondruš
00a8383214
Shaders: ability to specify background color in Vector shader.
...
Makes it possible to use the shader without blending.
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š
5a374dd73e
Shaders: support alpha in VectorShader::setColor().
13 years ago
Vladimír Vondruš
91f0d302c2
Shaders: renamed TextShader to VectorShader.
...
The code can be used for drawing any vector art, not only font glyphs.
13 years ago
Vladimír Vondruš
0cba8db268
Shaders: added missing 3D version of text shader.
13 years ago
Vladimír Vondruš
df1d8a95b4
Shaders: basic text shader.
14 years ago