42 Commits (c92d608aa712a7344b8f715bbf0de80f5ea2ddee)

Author SHA1 Message Date
Vladimír Vondruš c92d608aa7 Shaders: assume drawOffset is 0 if DRAW_COUNT is 1. 5 years ago
Vladimír Vondruš 95379ace8e Shaders: support array textures in Flat and Phong. 5 years ago
Vladimír Vondruš 2c09a2a1e6 Shaders: multidraw support in all builtin shaders. 5 years ago
Vladimír Vondruš ef9da0ec96 Shaders: add UBO support to all shaders. 5 years ago
Vladimír Vondruš d3e11765ac Shaders: EXPLICIT_TEXTURE_LAYER is very misleading. 5 years ago
Vladimír Vondruš 9f0a61e76e Shaders: group things together also in GLSL sources. 5 years ago
Vladimír Vondruš 3d136503d8 Updated copyright year. 5 years ago
Vladimír Vondruš 1eb1eec271 Shaders: fix distance attentuation calculation in Phong. 6 years ago
Vladimír Vondruš 567b15486f Shaders: add an ability to control specular light color to Phong. 6 years ago
Vladimír Vondruš 25463db8a6 Shaders: alpha doesn't make sense for light colors. 6 years ago
Vladimír Vondruš 7257bbb871 Shaders: rework Phong to support directional and attenuated point lights. 6 years ago
Vladimír Vondruš 903e2c213c Shaders: properly use bitangents in Phong normal map calculation. 6 years ago
Vladimír Vondruš 5285dcc986 Shaders: add a normal texture scale parameter to Phong. 6 years ago
Vladimír Vondruš 9557de0534 Shaders,Trade: clarify use{less,ful}ness of specular alpha. 6 years ago
Vladimír Vondruš 19e0e96d74 Updated copyright year. 6 years ago
Vladimír Vondruš 881a50f7fa Shaders: clarify that object ID features need GL 3.0 extensions. 6 years ago
Michael Tao e5a6f543a0 Shaders: ambient also changes color with VertexColor in Phong. 6 years ago
Vladimír Vondruš 02525527a4 Shaders: ability to render instanced object ID in Flat/Phong. 6 years ago
Vladimír Vondruš a35d53118b Shaders: name the textureCoordinates attribute consistently in GLSL. 6 years ago
Vladimír Vondruš 5617cb5199 Shaders: vertex color support in Phong and Flat. 7 years ago
Vladimír Vondruš a3c8d8ec63 Shaders: allow Phong with zero lights. 7 years ago
Vladimír Vondruš 87ac8a8cd2 Shaders: support object ID output in Flat and Phong. 7 years ago
Vladimír Vondruš 08f6615048 Shaders: make alpha mask = 1.0 do what's expected. 7 years ago
Vladimír Vondruš 8d98f1161e Shaders: clamp shininess factor in Phong to minimize artifacts. 7 years ago
Vladimír Vondruš 0cb4ded506 Shaders: add normal texture support to Phong. 7 years ago
Vladimír Vondruš e6b7aa12fa Updated copyright year. 7 years ago
Vladimír Vondruš de3081042e Shaders: avoid overflowing alpha with multiple lights. 8 years ago
Vladimír Vondruš b615e1ae28 Shaders: support multiple lights in Phong. 8 years ago
Vladimír Vondruš a1ef8550d3 Shaders: don't multiply Phong diffuse alpha with light intensity. 8 years ago
Vladimír Vondruš fd1572a3a3 Shaders: default ambient color in Phong to transparent black. 8 years ago
Vladimír Vondruš 0e9cb6945e Shaders: define reasonable uniform defaults for all shaders. 8 years ago
Vladimír Vondruš daf287d2a6 Shaders: classical alpha masking support in Phong and Flat. 8 years ago
Vladimír Vondruš 6885f0647b Shaders: minor code reordering. 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š d6f5f43d60 Shaders: modernize coding style. 9 years ago
Vladimír Vondruš 23646e6690 Hell, this project is big. 10 years ago
Vladimír Vondruš da2ac00478 Shaders: ability to do alpha-masking with Phong. 11 years ago
Vladimír Vondruš fc5ddeebbf Shaders: ability to have both color and texture in Phong. 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. 13 years ago
Vladimír Vondruš 2c0e7da5a0 Shaders: fix compilation of textured Phong shader on OpenGL ES. 13 years ago
Vladimír Vondruš 51ca4be9a9 Shaders: fix Phong shader compilation for more than one texture. 13 years ago
Vladimír Vondruš fd1d067c36 Shaders: fix textured Phong for GLSL 1.20 and GLSL ES 1.0. 13 years ago
Vladimír Vondruš f166d006c2 Shaders: `const` for readonly variables is since GLSL 4.20. 13 years ago
Vladimír Vondruš 41f7784dc5 Shaders: ambient, diffuse and specular texture support in Phong. 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. 13 years ago
Vladimír Vondruš 7a894e97a0 Using ARB_explicit_uniform_location in shaders. 14 years ago