Commit Graph

11279 Commits

Author SHA1 Message Date
Vincent Lejeune
04176d52a8 Do not create shadow vao for ctx < gl 3.2 2014-04-05 20:16:15 +02:00
Max Teufel
4f7bc981bd Declare use of OpenGL 3.2 on OS X 2014-04-05 19:33:45 +02:00
Vincent Lejeune
012cf599b4 Use 2D version of glFramebufferTexture
glFramebufferTexture is not supported on GL 3.1 context, while
glFramebufferTexture2D is.
Also fix an inverted comparaison.
2014-04-05 19:22:03 +02:00
hiker
8e8f02a1dc Bugfix: if the recovery dialog was shown and cancelled, no more mouse
events got sent to the LoginDialog. Seems to be the same problem that was
reported in #1216, and properly fixed in
d954fc6c72. Auria, can you check if this is correct?
2014-04-06 01:27:04 +11:00
hiker
0a107897ca Moved user search and password change from CurrentUser into the
corresponding dialogs.
2014-04-06 01:25:31 +11:00
hiker
800a012283 Removed unnecessary copy of Addon. 2014-04-05 22:25:35 +11:00
hiker
a9ecf5b601 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-04-05 22:00:30 +11:00
hiker
4a3cf13bc4 Moved voting code from CurrentUser to VoteDialog. 2014-04-05 21:59:56 +11:00
Vincent Lejeune
2264f8e3a7 Disable srgb texture compression for Intel
RGB texture compression works fine but it looks like srgb TC isnt
properly supported.
A later TODO would be to convert rgb to srgb in cpu and use compression
again.
2014-04-05 03:13:45 +02:00
vlj
a57e81a37c Use custom FBO instead of Irrlicht's ones.
This allows STK to use multisampled FBO.
2014-04-05 02:42:05 +02:00
Vincent Lejeune
ca214230e3 MLAA: Load the right shader for step 2
No wonder why it didnt work as expected before...
2014-04-04 19:42:05 +02:00
hiker
85bd942de7 Removed unnecessary variable. 2014-04-04 21:00:22 +11:00
hiker
21f145b951 Moved requestGetAddonVote from CurrentUser into VoteDialog.
Some cosmetic only changes to VoteDialog to follow style guide.
2014-04-04 16:46:28 +11:00
hiker
34d79a8cd2 Fixed warning about modal dialog shown while previous dialog is open. 2014-04-04 16:44:55 +11:00
hiker
c663839d98 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-04-04 15:39:48 +11:00
hiker
59cbfbab6b Fixed compiler warning. 2014-04-04 13:51:27 +11:00
hiker
6bf328e199 Try to fix clang compilation (note that std::swap does not work
on std::vector<bool>).
2014-04-04 13:50:35 +11:00
hiker
de694cc5fe Merge branch 'master' of github.com:supertuxkart/stk-code 2014-04-04 08:36:24 +11:00
hiker
dcba93aa7e Moved canceling of friend requests into UserInfoDialog. 2014-04-04 08:15:48 +11:00
vlj
6a3556b4ba Shaders'outputs use premultiplied alphas 2014-04-03 14:46:35 +02:00
vlj
8552ddae1c MLAA: Fix gamma in the shaders.
MLAA looks correct now.
2014-04-03 14:15:51 +02:00
hiker
e8e4b7ad5f Fixed unnecessary double precision computation. 2014-04-03 17:13:54 +11:00
hiker
af94314462 Merge branch 'crash-impulsion' of https://github.com/gupascal/stk-code into gupascal-crash-impulsion 2014-04-03 17:00:51 +11:00
hiker
d9267a937a Moved 'removeFriendRequest' into UserInfoDialog. 2014-04-03 16:58:38 +11:00
Vincent Lejeune
afa2e2e98d Use a A8R8G8B8 fbo to apply mlaa. 2014-04-03 00:55:30 +02:00
Vincent Lejeune
964d9a25f1 Some port fixes for MLAA 2014-04-03 00:27:46 +02:00
Vincent Lejeune
33b44c8c97 Port MLAA to new pipeline. 2014-04-03 00:14:58 +02:00
hiker
712d4cf84e Updated documentation for Christmas mode. 2014-04-03 08:20:43 +11:00
Vincent Lejeune
26c797e79e Fix kart shadows. 2014-04-02 00:09:49 +02:00
Vincent Lejeune
5573ee4e34 Follow more closely Crysis subsurface scatt. 2014-04-01 23:35:32 +02:00
Vincent Lejeune
f41b737913 Merge grass_pass*.vert 2014-04-01 23:16:30 +02:00
Vincent Lejeune
23e5ec709d Add a fake subsurface scattering for grass. 2014-04-01 23:13:16 +02:00
vlj
0fb6515bca Instancing: Support for alpha ref shadow. 2014-03-31 22:06:37 +02:00
vlj
52018bbdea Instancing: Support shadow. 2014-03-31 21:52:42 +02:00
Vincent Lejeune
008e5e747a GPUParticles: some factorisation. 2014-03-31 20:49:14 +02:00
Vincent Lejeune
27cccd6102 Fix sources.cmake 2014-03-31 20:12:02 +02:00
Vincent Lejeune
7ebeaa45e8 Some cleaning. 2014-03-31 20:04:34 +02:00
Vincent Lejeune
427ca42f49 Enable texture compression. 2014-03-31 19:44:11 +02:00
Vincent Lejeune
e034cd31a0 Fix context creation for intel. 2014-03-31 19:29:20 +02:00
Vincent Lejeune
551e6cc9c8 Add support for alpha ref instancied materials. 2014-03-31 19:16:26 +02:00
Vincent Lejeune
8c3c380ded Actually enable scale. 2014-03-31 18:25:12 +02:00
Vincent Lejeune
bb311618e3 Instancing: Add support for scale transformation. 2014-03-31 18:10:45 +02:00
Vincent Lejeune
e1e791ff73 reenable diffuse env map 2014-03-31 17:33:30 +02:00
Vincent Lejeune
35f91e73ca Merge branch 'properlinearpipeline'
* properlinearpipeline:
  Disable auto exposure for now.
  Using formula from an article suggested by samuncle
  Improve bright attenuation although not perfect
  Plug in brightness adaptation
  Add some code to average log luminance.
  Write a shader to convert CIE to RGB.
  Factorize luminance computation.
  Improve ao and bloom.
  Remove some unused code
  Fix negative value that introduces a bug on nvidia
  Expand HDR use.
  Convert texture from srgb and use srgb fbo
2014-03-31 17:26:08 +02:00
Vincent Lejeune
33f31dbf30 Disable auto exposure for now. 2014-03-31 17:25:04 +02:00
vlj
251e7f669e Using formula from an article suggested by samuncle 2014-03-31 17:25:04 +02:00
vlj
af93a04987 Improve bright attenuation although not perfect 2014-03-31 17:25:03 +02:00
vlj
58615c0207 Plug in brightness adaptation 2014-03-31 17:25:03 +02:00
vlj
6e8b45a6d8 Add some code to average log luminance. 2014-03-31 17:25:02 +02:00
vlj
a2ab6fc80c Write a shader to convert CIE to RGB. 2014-03-31 17:25:01 +02:00