Commit Graph

12455 Commits

Author SHA1 Message Date
hiker
7684ee74bd Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-11 13:20:07 +10:00
Marianne Gagnon
2c1feb5f06 Improve debug values popup 2014-08-10 19:09:44 -04:00
vlj
495cd25d1c Do some symetry on skybox top/bottom.. 2014-08-10 23:15:02 +02:00
vlj
856169794d Use singleton for DoF. 2014-08-10 22:27:26 +02:00
vlj
0f5effc2d9 Use collision shape for RSM size. 2014-08-10 22:05:00 +02:00
Marianne Gagnon
b2e08c94a7 Fix physics of instanced nodes 2014-08-09 21:22:12 -04:00
Vincent Lejeune
e6b558262b Do not display grass normal
It requires taking account of the wind, ie another shader.
2014-08-09 21:37:31 +02:00
Vincent Lejeune
020e939e2b Normalize normals in normal view. 2014-08-09 21:24:50 +02:00
Vincent Lejeune
c546b25ae9 Fix perspective in normal view. 2014-08-09 21:19:26 +02:00
Vincent Lejeune
c07aed260a Visualize vertex normals in normal view. 2014-08-09 21:09:31 +02:00
Vincent Lejeune
bcc2196ccf Fix SSAO on splatting material. 2014-08-09 20:05:49 +02:00
vlj
768d51d0c3 Add sliders to change ssao parameters. 2014-08-09 19:22:30 +02:00
vlj
496269e73b Make SSAO param changeable. 2014-08-09 18:51:52 +02:00
Vincent Lejeune
41cca2e56e Fix ambient handling. 2014-08-09 01:41:30 +02:00
Vincent Lejeune
54c9f32033 Store ambientlight directly in irr_driver. 2014-08-09 01:30:36 +02:00
Vincent Lejeune
c8a9515ad0 Use debug slider to change ambient on the fly. 2014-08-09 01:10:19 +02:00
Vincent Lejeune
5dffc86d26 Use lambda for debug_slider instead. 2014-08-09 00:43:28 +02:00
Vincent Lejeune
281fceee0b Revert "Try to use lambdas."
This reverts commit cdb760ae51.
2014-08-09 00:36:12 +02:00
Deve
99ce91dc46 Strength of bouncy edges should depend on soccer ball mass. 2014-08-08 23:07:03 +02:00
vlj
cdb760ae51 Try to use lambdas. 2014-08-08 21:46:55 +02:00
hiker
4d085a134c Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-08 11:14:47 +10:00
Vincent Lejeune
5ba2f6c97b Inadvertantly inverted RSM and model matrixes. 2014-08-08 01:47:29 +02:00
Vincent Lejeune
8db09a55cd Add Splatting RSM shader type. 2014-08-08 01:07:55 +02:00
vlj
60f76ee612 Fix RSM 2014-08-07 22:45:25 +02:00
vlj
6c3aeceb51 Fix GI
It was using wrong swizzle for depth texture.
2014-08-07 22:32:42 +02:00
Vincent Lejeune
dbed303d90 Try to fix ci 2014-08-07 21:02:16 +02:00
Vincent Lejeune
95fb3ea580 Add support moving texture in rsm. 2014-08-07 20:44:33 +02:00
Vincent Lejeune
e932638aef Port sunlight* shaders to singleton. 2014-08-07 20:07:03 +02:00
Vincent Lejeune
160d061e84 Port Tonemap shader to singleton
Should fix kart selection screen without UBO support.
2014-08-07 19:36:32 +02:00
Vincent Lejeune
4faa7cf2b7 Store current screen size
When UBO support is lacking.
2014-08-07 19:30:11 +02:00
Vincent Lejeune
8544ff10e9 Disable depth test in non dynamic light mode.
Just in case...
2014-08-07 02:47:07 +02:00
Vincent Lejeune
7c31275704 Forget the ... 2014-08-07 02:43:21 +02:00
Vincent Lejeune
506dca47eb Better if we dont remove the real function call... 2014-08-07 02:42:23 +02:00
Vincent Lejeune
27d3d3bfb3 Add a static assert.
Check if we pass correct count of uniforms name to AssignUniforms().
2014-08-07 02:37:53 +02:00
Vincent Lejeune
926fc3ac7c Use singletonshader template for colorize 2014-08-07 02:29:13 +02:00
Vincent Lejeune
87bf242164 Fix shadows for unlit with alpha ref. 2014-08-07 02:12:13 +02:00
Vincent Lejeune
858b789419 Support vertex color for alpha ref material. 2014-08-07 02:11:55 +02:00
Vincent Lejeune
8dcf9f6a21 Text billboard uses unlit material. 2014-08-07 01:51:10 +02:00
Vincent Lejeune
c0d57100a7 Enable ref + vertex color for unlit mat. 2014-08-07 01:50:53 +02:00
Marianne Gagnon
024f6f3fee clean up billboard text code 2014-08-06 19:33:09 -04:00
Vincent Lejeune
986fd8050a Fix ambient term. 2014-08-07 01:02:30 +02:00
Vincent Lejeune
79fba1779e Port stkbillboard to singleton shader 2014-08-07 00:52:44 +02:00
Vincent Lejeune
a0e457ac13 Port shadow shaders to singleton and remove non singleton. 2014-08-07 00:40:09 +02:00
vlj
1abd3b7bac Merge pull request #1439 from konstin/master
fix video options dialog
2014-08-04 21:33:11 +02:00
konstin
03b2379eef fix video options dialog 2014-08-04 21:11:53 +02:00
deve
5511f55dd9 Add fallback if irrlicht won't report any resolution. 2014-08-04 08:39:02 +02:00
Marianne Gagnon
00e6e7bcc2 Fix billboard text scene nodes having wrong rotation when attached to a parent node (.e.g. a kart) 2014-08-03 20:17:11 -04:00
vlj
fb9dc7af74 Fix for travis-ci 2014-08-04 02:08:08 +02:00
Marianne Gagnon
072c118f95 Fix splatting, which had been broken by a recent commit of mine 2014-08-03 20:03:17 -04:00
Marianne Gagnon
346faff845 Clean up video settings dialog. Not a bad attempt vlj but not quite there ;) 2014-08-03 19:57:33 -04:00