Commit Graph

12249 Commits

Author SHA1 Message Date
vlj
db4457655b Fix for real torch in chocolate. 2014-07-14 03:00:46 +02:00
vlj
b186bc7f18 Try to fix chocolate torch displaced effect. 2014-07-14 02:25:04 +02:00
vlj
f1ddf87a5f Plugin displacement material. 2014-07-14 02:25:03 +02:00
Marianne Gagnon
f00c55850a Remove old way of doing displacing, turn into a flag in STKMesh. Does not compile, vlj will do the rest 2014-07-14 02:25:03 +02:00
Marianne Gagnon
b456205b56 Another attempt at fixing kart selection screen, hopefully the right one 2014-07-13 19:48:13 -04:00
Marianne Gagnon
2be5c99d47 fix assertion failure on kart selection screen caused by manipulating variables directly instead of using the appropriate methods 2014-07-13 19:08:07 -04:00
vlj
d0f6e54bba Add a isDisplacement bool 2014-07-14 00:35:23 +02:00
Marianne Gagnon
415a502ef1 As requested by vlj, move singleton from networking to utils 2014-07-13 18:03:26 -04:00
Vincent Lejeune
4e1fd9b4af Move geometry rendering code to another file. 2014-07-13 21:49:25 +02:00
Vincent Lejeune
f2acac7230 Inadverly inverted shadow and shadow_grass.vert 2014-07-13 21:37:12 +02:00
Vincent Lejeune
54b1ce39e4 Add Grass shadows.
For non instancing object.
2014-07-13 21:33:44 +02:00
Vincent Lejeune
b2fc9eb682 Turn shadow shaders into singletons. 2014-07-13 21:08:49 +02:00
Vincent Lejeune
7b9fc60f9c Factorise grass material 2014-07-13 18:56:17 +02:00
Vincent Lejeune
adba84969e Remove unneeded templates 2014-07-13 17:58:51 +02:00
Vincent Lejeune
67ab653aa0 Wrap setUniformsHelper inside a struct 2014-07-13 17:58:39 +02:00
vlj
d5bc6819fe Factorize splatting shader. 2014-07-13 11:33:44 +02:00
vlj
c71a2c131f Factorize transparent shaders. 2014-07-13 11:25:31 +02:00
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