Commit Graph

12384 Commits

Author SHA1 Message Date
vlj
8ec57b7683 Factorize unlit shader. 2014-07-13 02:39:33 +02:00
vlj
fbcc430e0e Fix linux build. 2014-07-13 02:33:17 +02:00
vlj
fd7427a1cf Factorize detail and spheremap 2014-07-13 02:30:37 +02:00
vlj
12af5eee9a Factorize some pass2 shaders init code 2014-07-13 02:18:20 +02:00
vlj
a249ee8835 Add userconfig param 2014-07-13 01:34:20 +02:00
vlj
cc24407f09 Try another (dirty) fix. 2014-07-13 01:30:00 +02:00
vlj
6d643d973c try to fix shader.hpp. 2014-07-13 01:23:49 +02:00
vlj
ff2ebfe731 Try to fix linux compilation. 2014-07-13 01:13:09 +02:00
vlj
22be386247 Turn Pass 1 shader to singleton, and factorize the setUniforms. 2014-07-13 01:10:28 +02:00
vlj
ef1bca5424 Try to factorize shader using variadic templates. 2014-07-13 00:11:35 +02:00
Vincent Lejeune
55a5185796 Avoid drawing negative color with splatting material. 2014-07-12 21:25:11 +02:00
Vincent Lejeune
de5499401c Factorize splatting material. 2014-07-12 21:15:43 +02:00
Vincent Lejeune
97971a11b9 Fix RSM 2014-07-12 21:06:34 +02:00
Vincent Lejeune
ff92825531 Fix shadows. 2014-07-12 20:58:00 +02:00
Vincent Lejeune
df2595f594 Some shader factorization 2014-07-12 20:31:54 +02:00
Vincent Lejeune
51a9a215b6 Use a default texture for rubber band 2014-07-12 20:24:28 +02:00
Vincent Lejeune
d7139920ed Fix position reconstruction formula in ssao 2014-07-12 19:54:52 +02:00
Marianne Gagnon
abe8275969 Merge branch 'renderFactorisation' 2014-07-11 20:51:12 -04:00
Marianne Gagnon
6f0e3c0c08 Remove useless RTT and simplify rendering of icons on the minimap 2014-07-11 20:50:42 -04:00
vlj
e62301c9f6 Merge branch 'renderFactorisation' 2014-07-12 01:20:19 +02:00
vlj
2e1da31278 Wrong condition used. 2014-07-12 01:19:12 +02:00
vlj
8612e49072 Early exit renderSkybox without skybox textures 2014-07-12 00:57:37 +02:00
Marianne Gagnon
9abdc84989 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2014-07-11 18:55:30 -04:00
Marianne Gagnon
45f9cc20d9 Add asserts to catch issue early 2014-07-11 18:54:35 -04:00
vlj
a17e4c47f9 Disable WIIUSE by default on linux. 2014-07-12 00:46:19 +02:00
vlj
ba38819fff Enable CPP2011 on linux. 2014-07-12 00:38:03 +02:00
vlj
e44f68afa2 Factorize all first pass materials. 2014-07-12 00:21:30 +02:00
Vincent Lejeune
5acc53685c Use const ref in recursive variadic template unroll_arg<>::exec 2014-07-11 20:39:20 +02:00
Vincent Lejeune
3a4cc63602 Factorize transparent materials too 2014-07-11 20:10:21 +02:00
Vincent Lejeune
ebc0d956d4 Fix linux compilation 2014-07-11 19:32:43 +02:00
Vincent Lejeune
04e9daeefd Factorize detail mat too 2014-07-11 01:27:20 +02:00
Vincent Lejeune
f723a764fc Factorize Unlit material 2014-07-11 00:39:20 +02:00
Vincent Lejeune
555b2c433c Factorize spheremap too. 2014-07-10 22:32:12 +02:00
Vincent Lejeune
7f8331a5b5 Use variadic recursion to expand tuples
It's quite non trivial to do but it should save a lot of typing later.
2014-07-10 22:19:20 +02:00
vlj
c2f7c14fdb Try to factorize using tuple 2014-07-10 18:49:17 +02:00
vlj
feda837de8 Factorize some rendering loops. 2014-07-10 18:11:35 +02:00
Marianne Gagnon
2d847cb6b9 Fix overworld minimap 2014-07-09 23:34:39 -04:00
Marianne Gagnon
297d8aaf86 Fix crash when disabling GLSL 2014-07-09 20:41:55 -04:00
auriamg
95c59b8d51 Merge pull request #1401 from konstin/master
running whitespace.py
2014-07-09 20:25:58 -04:00
vlj
87e07a83d5 Factorize and comment generateCubemapFromTextures 2014-07-10 01:29:38 +02:00
vlj
822c8725dd Remove rimlight material 2014-07-10 01:02:52 +02:00
Vincent Lejeune
0e4b9040d6 Factorize a function and add proper doxy comment. 2014-07-10 00:38:13 +02:00
konstin
4633d82c23 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2014-07-09 21:19:17 +02:00
vlj
1324fa7b36 Readd support for 2tcoord vtx in rsm. 2014-07-09 18:06:24 +02:00
vlj
114b3f8830 Remove unused methods 2014-07-09 18:02:25 +02:00
vlj
7a989901e8 Fix ssao viz on nvidia. 2014-07-09 18:00:16 +02:00
vlj
481a5bd0d0 Fix bubble shader with glsl < 330. 2014-07-09 17:49:47 +02:00
vlj
5ee410c139 Use a default texture for transparent if not provided. 2014-07-09 17:47:09 +02:00
hiker
60ac76a3e8 Merge pull request #1398 from konstin/fix1
check if reverse is available; fix #1396
2014-07-09 14:17:56 +10:00
Marianne Gagnon
8c74ab5e14 Forgot to hide debug item 2014-07-08 22:07:49 -04:00