Commit Graph

12433 Commits

Author SHA1 Message Date
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
vlj
c0e554de30 Remove UBO settings in the options 2014-08-04 01:50:04 +02:00
Marianne Gagnon
bb7d83a89a Merge branch 'NewBillboardText' 2014-08-03 19:49:31 -04:00
vlj
2fcb574c90 Automate UBO fix detection.
It only concerns Intel Sandy Bridge (maybe Ivy Bridge ?) gpu on Windows.
2014-08-04 01:45:08 +02:00
Marianne Gagnon
fd1bde9eeb New billboard text scene node is almost complete now 2014-08-03 19:30:59 -04:00
vlj
00b3049aad Forget to delete 2nd order SH coefficient arrays. 2014-08-04 01:26:35 +02:00
vlj
7f44467f67 Manually delete an IImage *
Ref couting doesnt seem to work on this object.
2014-08-04 01:16:41 +02:00
vlj
6c71334cda Only calculate diffuse coefficient once. 2014-08-04 01:12:45 +02:00
Marianne Gagnon
2ee9a29e11 Use new billboard text node in FTL 2014-08-03 18:19:38 -04:00
Marianne Gagnon
bfc4c43b3a Improve billboard text node 2014-08-03 18:17:25 -04:00
Marianne Gagnon
99135a9a40 Merge branch 'master' into NewBillboardText 2014-08-03 17:59:08 -04:00
Deve
03c3f1dae7 Fixed typo 2014-08-03 22:05:55 +02:00
Deve
b08ff9dedf Update .gitignore file.
Too many builds in one folder ;-)
2014-08-03 21:58:33 +02:00
Deve
15b316a9af xrandr: update width and height params when wanted resolution was not found and we get the default one. 2014-08-03 21:56:16 +02:00
Deve
b15c902aee Get dimensions of best resolution before creating irr device.
I also changed default 800x600 resolution to the size screen because sometimes this resolution may not exist. For example in rotated screens.
2014-08-03 21:50:59 +02:00
Marianne Gagnon
55e880530a bugfix, only use the texture in layer 0 to apply material 2014-08-02 20:33:30 -04:00
Vincent Lejeune
a03a6809f7 Fix strange colors in rtts. 2014-08-02 22:30:48 +02:00
vlj
4b7918021e Try to fix too dark tracks. 2014-08-02 21:43:14 +02:00
Marianne Gagnon
24ff6790f2 Add option to randomize particles start position, and use it on snow, so that snow falls more evenly 2014-08-01 21:17:56 -04:00
Marianne Gagnon
db0241c5e2 more video settings fixes 2014-08-01 20:56:04 -04:00
Marianne Gagnon
5f70471bce Fix previous commit about shadows vs UBOs, had forgotten shadows is an int and not a bool 2014-08-01 20:39:25 -04:00
Marianne Gagnon
2a9d63b7ae Disable shadows when UBOs are off 2014-08-01 20:21:44 -04:00