36 Commits (82a1f8e76787caa3e4e6a7fdc4519df2a698e69a)

Author SHA1 Message Date
Vladimír Vondruš 822fa0d644 Updated copyright year. 4 years ago
Vladimír Vondruš 026aa7757e Shaders: instancedNormalMatrix isn't needed if Phong has zero lights. 4 years ago
Vladimír Vondruš df75ab926a Shaders: calculate Phong light directions in the fragment shader. 5 years ago
Vladimír Vondruš fd3bd7e737 Shaders: ANGLE, for fucks sake! 5 years ago
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š 658e8109a1 Shaders: fix grouping in Phong.vert. 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š 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š ba156d329a Shaders: stray semicolon in a GLSL source. 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
Eric Undersander 8b8b9c456b Shaders: remove incorrect light direction normalization in Phong.vert. 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
Vladimír Vondruš 55685ea382 Shaders: implement instancing 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š 9a06b3515b Shaders: implement texture coordinate transformation for all shaders. 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š 0cb4ded506 Shaders: add normal texture support to Phong. 7 years ago
Vladimír Vondruš e6b7aa12fa Updated copyright year. 7 years ago
Vladimír Vondruš b615e1ae28 Shaders: support multiple lights in Phong. 8 years ago
Vladimír Vondruš 0e9cb6945e Shaders: define reasonable uniform defaults for all shaders. 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. 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š 51db425bdb Shaders: use generic definitions also in GLSL sources. 13 years ago
Vladimír Vondruš ef42287cf9 Shaders: use location 1 for texture coordinates and location 2 for normals. 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
Vladimír Vondruš 308a92a911 Shaders: pass normal matrix the right way. 14 years ago
Vladimír Vondruš 81b69f17e1 Shaders: another iteration in porting of Phong and Flat shaders to GLES. 14 years ago
Vladimír Vondruš 084294e60b Blind port of PhongShader to OpenGL ES 2.0. 14 years ago
Vladimír Vondruš 5ad3844626 PhongShader: fall back to GLSL 1.20 if 3.30/3.20 is not supported. 14 years ago
Vladimír Vondruš 40523e530c PhongShader: using `position` for vertex position. 14 years ago
Vladimír Vondruš 4152e1fc9d Better ability to create portable shaders. 14 years ago
Vladimír Vondruš e868d8e03c Deprecating AbstractShaderProgram::bind*Location(). 14 years ago
Vladimír Vondruš d1f5ec7479 Phong shader: finally fixed specular highlights. 14 years ago