Commit Graph

12687 Commits

Author SHA1 Message Date
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
konstin
f3d0d3cf4e better comments 2014-08-09 19:56:01 +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
konstin
c59f243550 Merge branch 'master' of https://github.com/supertuxkart/stk-code into save_gp 2014-08-09 17:06:16 +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
hiker
f39e22e442 Merge branch 'master' of https://github.com/leyyin/stk-code into leyyin 2014-08-08 11:10:56 +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
Daniel Butum
c272d39d09 Merge remote-tracking branch 'upstream/master' 2014-08-07 13:33:21 +03:00
hiker
18cb4f6d12 Merge remote-tracking branch 'origin/master' into bumpy 2014-08-07 11:16:53 +10: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
hiker
20242dae5e Merge remote-tracking branch 'origin/master' into bumpy 2014-08-07 10:13:07 +10: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
hiker
e68d09c2e4 Merge remote-tracking branch 'origin/master' into bumpy 2014-08-07 10:00:16 +10: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
Marianne Gagnon
30c11ad6d4 tweak braking config value 2014-08-05 20:10:46 -04:00
hiker
03160e3b7b Increase the brake force the longer the brake key is pressed (before it
took ~1.6 seconds for a kart to stop, now 0.5; while hardly any change to
short brakes to slow down the kart a bit only). Also made the impulse to
keep karts parallel to the ground configurable.
2014-08-06 07:52:02 +10:00
Daniel Butum
28f7a45664 Do not show password_confirm field in the output when registering 2014-08-05 19:40:56 +03:00
Daniel Butum
c6c0c6e590 Rename some API calls 2014-08-05 19:12:56 +03:00
hiker
1ba6537e37 Merge remote-tracking branch 'origin/master' into bumpy 2014-08-05 08:26:05 +10:00
hiker
44da1fb4f2 Keep flying karts parallel to the ground in the physics, not outside.
This avoids odd side effects that happened before (e.g. very bad collisions
with track; problems when dropping karts on rescue on the walldriving branch).
2014-08-05 08:21:52 +10:00