konstin
367acd7738
Almost rewrite of GrandPrixData::reload()
2014-04-30 10:54:42 +10:00
konstin
d747b6af3f
Minor changes to the grand prix editor
2014-04-30 10:39:27 +10:00
hiker
3487f70740
Minor correction to patch from konstin.
2014-04-30 10:35:06 +10:00
konstin
ca08ee9d86
fixed identing, added comments, corrected spelling, etc.
2014-04-30 10:19:23 +10:00
Marianne Gagnon
4bddf29320
Fix bullet assertion failure
2014-04-29 19:48:54 -04:00
hiker
13024bf6ef
On first time start the player is automatically asked to create a new
...
player with a sensible default name.
2014-04-30 08:42:43 +10:00
hiker
ecef685b32
Adding new players now works.
2014-04-30 07:54:49 +10:00
Guillaume P
fac9cafa96
Create the directory where resized textures will be cached.
2014-04-29 18:57:36 +02:00
hiker
b412d0507d
Merge pull request #1303 from leyyin/master
...
Fix some bugs in the online screens
2014-04-29 16:25:18 +10:00
Marianne Gagnon
8d2b56a34a
Improve flying mode, part 2
2014-04-28 19:55:41 -04:00
Marianne Gagnon
389ec42bde
Improve flying mode
2014-04-28 19:55:30 -04:00
hiker
6f5c523e86
Fixed display of players, thanks to auria.
2014-04-29 09:46:00 +10:00
hiker
396e3bb54e
Merge remote-tracking branch 'origin/master' into new_login
2014-04-29 09:10:37 +10:00
hiker
812da3e0c0
Some work on new login screen, though wip atm.
2014-04-29 09:02:44 +10:00
Guillaume P
03fbdc260d
Add a new option for high-definition textures.
2014-04-28 18:42:23 +02:00
hiker
2f17264f39
Very eary first version of a new login screen.
2014-04-28 16:41:47 +10:00
hiker
b3291caea2
Moved 'startup now' code in separate function to make main more readable.
2014-04-28 07:51:24 +10:00
Marianne Gagnon
2ee7f7a2e8
Bugfix : use ambient light from the sun when SH maps are not used
2014-04-26 20:04:16 -04:00
Daniel Butum
5ecfed293d
Fix back button in the register screen and login as guest
2014-04-26 13:42:30 +03:00
Daniel Butum
fc5da9eb9a
Fix back button in login screen and fix 'move on uninitialised value in MusicInformation'
2014-04-26 13:33:09 +03:00
vlj
a2e202a695
Missing "track->hasShadows" check
2014-04-26 02:22:33 +02:00
Marianne Gagnon
97b6db3fdc
Honor the per-track flag to disable god rays
2014-04-24 19:24:23 -04:00
vlj
c5fbd5ff84
Reenable ability to change exposure/lwhite.
2014-04-25 00:59:02 +02:00
vlj
5b8b1a8b57
Temporary comment out exposure/lwhite settings
2014-04-25 00:29:33 +02:00
Vincent Lejeune
7239154a3a
NormalMap should cast shadows too
2014-04-24 21:23:32 +02:00
Vincent Lejeune
84ddd7119e
Use glPolygonOffset to remove shadow acne
...
It's a 2002 trick from M. Kilgard
2014-04-24 21:02:24 +02:00
vlj
ef07b25202
Make possible to tweak exposure/lwhite in adm
2014-04-24 17:47:17 +02:00
hiker
370e2e4935
Merge remote-tracking branch 'origin/master' into new_login
2014-04-24 12:26:29 +10:00
Marianne Gagnon
3f17545541
Use hasShadows flag from Track
2014-04-23 19:19:11 -04:00
Marianne Gagnon
2e53328847
Add debug sliders for vlj
2014-04-23 19:03:23 -04:00
hiker
ea2b797bb3
Keep track of online ids used in the player.xml file.
2014-04-24 08:17:44 +10:00
vlj
b939d06be5
Properly add Depth of Field
2014-04-23 22:08:37 +02:00
vlj
22d993dfbe
Merge branch 'tonemap'
...
Conflicts:
data/shaders/tonemap.frag
2014-04-23 18:20:30 +02:00
vlj
77795c796f
Revert "Revert "Enable tonemap.""
...
This reverts commit e57339841b
.
2014-04-23 18:18:43 +02:00
vlj
fb56a4086f
Fix normalmap roughness
2014-04-23 18:09:48 +02:00
Vincent Lejeune
1bb4926ba2
Reorder post processes effects.
2014-04-23 18:09:48 +02:00
Vincent Lejeune
96c8180dfc
Remove color_in, it's been superseeded
...
Keep the shader because it will be partly used for dof.
2014-04-22 19:51:36 +02:00
hiker
2e3adee1a2
Merge branch 'master' of https://github.com/whichrakesh/stk-code into whichrakesh-master
...
Fix counting of bananas only for current player. Fixed conflicts.
Conflicts:
src/achievements/achievement_info.hpp
2014-04-22 17:20:40 +10:00
hiker
469ac9c433
Don't fire a cake if the target kart is invulnerable. Some cosmetic
...
changes to reduce line length, and added more comments.
2014-04-22 16:53:12 +10:00
hiker
ef341344e7
Merge branch 'skiddingAI' of https://github.com/gupascal/stk-code into gupascal-skiddingAI
2014-04-22 14:29:35 +10:00
hiker
886e7614e2
Fixed -help command line options (which was broken elsewhere before).
2014-04-22 14:24:32 +10:00
hiker
1bff514c27
Merge branch 'master' of https://github.com/leyyin/stk-code into leyyin-master
2014-04-22 14:14:49 +10:00
hiker
c8d679139f
Improved documentation.
2014-04-22 14:13:27 +10:00
Vincent Lejeune
b0e56ca2b0
Use some diffent value/equation for tonemap
2014-04-22 02:29:22 +02:00
Marianne Gagnon
5373390fac
Load textures for ambient lights separately from skybox textures
2014-04-21 20:25:51 -04:00
Vincent Lejeune
e57339841b
Revert "Enable tonemap."
...
This reverts commit a0e63dea46
.
2014-04-22 00:44:58 +02:00
vlj
a0e63dea46
Enable tonemap.
2014-04-21 02:33:12 +02:00
vlj
8947242de4
Add proper tonemap, although disabled.
...
It currently generates way too much HDR.
2014-04-21 01:52:44 +02:00
vlj
1d40851600
Fix light shaft
2014-04-21 00:52:18 +02:00
Marianne Gagnon
f0b61c98d7
No longer create an obsolete irrlicht water node. To be replaced by a better water shader
2014-04-19 20:24:43 -04:00
Marianne Gagnon
8e579d4874
Add UBOs flag to graphics options
2014-04-19 20:23:49 -04:00
vlj
87248b46f3
Tweak shadows CSM split.
2014-04-20 02:01:29 +02:00
vlj
fde29887f0
Fix roughness in instanced mesh.
2014-04-20 01:24:38 +02:00
Marianne Gagnon
478e904d1c
Remove debug logging
2014-04-19 19:15:38 -04:00
vlj
18b2b341e7
Dont stick to integer coordinate for CSM.
2014-04-20 00:24:37 +02:00
vlj
1291d0cc93
Increase shadow fidelity.
2014-04-20 00:21:30 +02:00
vlj
a457b9f423
Shadows: Clean shaders.
2014-04-20 00:04:49 +02:00
vlj
dd3e15b298
Debug: display cascade in shadow debug mode
2014-04-19 23:57:27 +02:00
vlj
5d3d44e400
Avoid an extra blit in bloom.
2014-04-19 23:29:42 +02:00
vlj
ce6397c5e7
Remove an leftover return.
2014-04-19 23:20:40 +02:00
vlj
c353a60443
Glow: Use blit.
2014-04-19 23:20:12 +02:00
Daniel Butum
c7e9b87e90
Fix memory leak on early exit(0) in handleCmdLinePreliminary()
2014-04-19 20:44:30 +03:00
Vincent Lejeune
d7eaaf4885
Add a m_ubo_disabled switch in user config file.
...
This should be used to workaround a bug in intel windows drivers.
2014-04-19 18:38:57 +02:00
vlj
c695875654
PointLight: Use a 1/(1 + d + k d^2) attenuation
...
This is not physically accurate, but a 1/d^2 attenuation makes light
extend too broad, and went too high if close from the source.
2014-04-19 02:04:39 +02:00
Marianne Gagnon
f6d52511ea
Merge branch 'Issue_1263'
2014-04-18 18:24:31 -04:00
Vincent Lejeune
c2d9e9fc42
Directly draw on default fbo if dyn lights are disabled
2014-04-18 19:06:57 +02:00
Vincent Lejeune
9437b16c00
Dont print glGetError result, prefer DEBUG_OUTPUT
2014-04-18 18:50:13 +02:00
Vincent Lejeune
b77a20f621
Bloom: Blit fbo instead of using a shader
2014-04-18 18:45:00 +02:00
Vincent Lejeune
9b926ce713
Do not write to 2 buffers outside of renderLights()
2014-04-18 18:34:02 +02:00
Guillaume P
cca44705cb
Merge remote-tracking branch 'remotes/upstrem/master' into skiddingAI
2014-04-18 08:49:54 +02:00
Guillaume P
43441cf3cc
A kart is now considered as slow if he is slower than the current kart.
2014-04-18 08:49:18 +02:00
hiker
c9fd09725a
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-17 15:40:36 +10:00
hiker
a8bf73633f
Renamed CurrentUser to OnlinePlayerProfile.
2014-04-17 15:39:51 +10:00
hiker
f6d22922d2
Fixed linux compilation.
2014-04-17 13:18:31 +10:00
hiker
056aa5ed6f
Refactor so that PlayerProfile provides a proper interface plus
...
function/states for local use, and CurrentUser implements the
missing functions.
2014-04-17 08:19:04 +10:00
hiker
447ca89c0a
Removed CurrentUser usage from all files except PlayerManager
...
and PlayerProfile.
2014-04-16 11:13:35 +10:00
Vincent Lejeune
1a908b254f
Use more compatible fbo format
2014-04-15 14:48:27 +02:00
hiker
5ec71c5b06
Moved getProfile from CurrentUser to PlayerManager::getCurrentOnlineProfile().
2014-04-15 16:25:55 +10:00
Marianne Gagnon
70cb9cec59
Update graphics options screen
2014-04-14 19:32:44 -04:00
hiker
8b05f69031
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-15 09:08:04 +10:00
hiker
3b85f601b1
Support automatic online login even if current user is not saved
...
(i.e. online login is now started after the player is selected).
2014-04-15 09:07:13 +10:00
hiker
f33a9f7cf6
Fixed #1282 : STK crash on startup for the first time.
2014-04-15 09:06:50 +10:00
Marianne Gagnon
9993e31601
First pass to update video options menu
2014-04-14 19:05:33 -04:00
Marianne Gagnon
60a3cfb3fd
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-14 18:32:36 -04:00
Vincent Lejeune
ea1ba4147d
Try to fix additive blend for object
2014-04-14 23:50:12 +02:00
vlj
4c85f6255b
Remove the ability to disable pixel shaders
...
It doesn't work with GL 3.1 and mesa drivers (which requires a core
context)
2014-04-14 22:11:20 +02:00
vlj
b7f6084fba
Add a config option to disable dynamic lights
2014-04-14 22:06:24 +02:00
vlj
63db2d33c0
Fix a memleak
2014-04-14 21:50:14 +02:00
vlj
b0041633ee
Handle skybox texture compression.
2014-04-14 21:48:38 +02:00
vlj
de1bbad76c
Add some more graphic config options.
2014-04-14 21:46:51 +02:00
vlj
1d84ea850b
Add an option for Tex compression
...
Also turn m_ssao into bool.
2014-04-14 21:37:50 +02:00
vlj
308c9c3b94
Fix too dark screen with MLAA enabled.
2014-04-14 03:48:35 +02:00
Vincent Lejeune
5b47891514
Apply MLAA after color_in.
2014-04-14 03:30:42 +02:00
Vincent Lejeune
ba27eb42ef
Bloom: Weight the different sized contribution.
2014-04-14 02:45:15 +02:00
Vincent Lejeune
d342dd78d8
Bloom: Use power of two quads.
2014-04-14 02:15:13 +02:00
Vincent Lejeune
123a192963
Use half res FBO for SSAO
...
SSAO is a medium frequency effect, using half res fbo is fine and
improve performance and look by doing an additionnal bilinear filtering.
Also tune up some values.
2014-04-14 01:01:36 +02:00
Vincent Lejeune
4c37cadd5f
Fix crash when loading instanced node without texture.
2014-04-13 22:56:14 +02:00
Marc Coll Carrillo
82cc7af4f6
Avoid the use of the new GP editor as a cheating aid
2014-04-13 21:34:28 +02:00
Guillaume P
3febfecbef
Merge remote-tracking branch 'remotes/upstrem/master' into skiddingAI
2014-04-13 20:31:28 +02:00
Marianne Gagnon
99a50ec70c
misc little changes
2014-04-13 14:25:10 -04:00
Vincent Lejeune
3cd85a829e
Compress/convert to srgb per material basis.
...
This allows to remove manual conversion in normalmap shader.
2014-04-13 17:53:52 +02:00
samuncle
1f14e26bde
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-13 01:01:59 +02:00
samuncle
04e5bb1239
Tweak the new camera
2014-04-13 01:01:24 +02:00
Vincent Lejeune
59c50ebbdd
Use ITexture instead of GLuint in GLMesh
2014-04-12 22:33:27 +02:00
Marianne Gagnon
a2d60cc97d
move camera closer to kart
2014-04-11 21:24:07 -04:00
vlj
d873d2d4fd
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-12 02:17:31 +02:00
vlj
3828e70f5a
Fix for glow effect
2014-04-12 02:15:02 +02:00
hiker
fcedb80a89
Fixed some compiler warnings.
2014-04-12 09:49:46 +10:00
hiker
b8c304b229
Merge branch 'SmoothMoveCamera' of https://github.com/divvy81/stk-code into smooth
2014-04-12 09:28:18 +10:00
Vincent Lejeune
68a71f6e22
Use for_in macro in stkmeshscenenode too.
2014-04-12 00:47:32 +02:00
konstin
9d22b74b54
Fixing compilation issues on linux
2014-04-11 20:14:20 +02:00
vlj
8775a5e006
Properly clean FBO and RTT.
2014-04-11 17:53:28 +02:00
hiker
71ddeda94f
Tried to avoid compilation problem on travis (though afaik there are
...
still other issues with building on travis atm), though atm only
by a quick hack.
2014-04-12 01:48:55 +10:00
Dk
d1dcf826a8
Merge remote-tracking branch 'upstream/master' into SmoothMoveCamera
2014-04-11 17:48:16 +05:30
hiker
488c1231c9
Moved getUserState from CurrentUser to PlayerManager::getCurrentOnlineState().
2014-04-11 16:37:48 +10:00
hiker
3a5a0a56b2
Moved isRegisteredUser from CurrentUser into PlayerManager::isCurrentLoggedIn.
2014-04-11 16:20:04 +10:00
hiker
071aa01f35
Changed all calls to CurrentUser::getID() to PlayerManager::getCurrentOnlineId().
2014-04-11 16:06:51 +10:00
Marianne Gagnon
00e85b4637
Use PtrVector to get for_in iteration
2014-04-10 20:04:33 -04:00
vlj
09d13e2bfe
Try to fix travis ci build.
2014-04-11 00:37:50 +02:00
hiker
df88a013c2
Fixed more conflicts, removed compiler warnings.
2014-04-11 08:14:38 +10:00
hiker
54c7d67b90
Merge branch 'master' of github.com:supertuxkart/stk-code
...
Conflicts:
src/graphics/render.cpp
src/graphics/shaders.cpp
src/graphics/stkmesh.cpp
2014-04-11 08:08:13 +10:00
hiker
27a5959fcc
Added stack trace to LeakCheck on windows. Re-enabled stack
...
trace printing (though off as default).
2014-04-11 08:00:10 +10:00
vlj
42482e0c41
Some more conversion
2014-04-10 23:03:57 +02:00
vlj
3a55bbe796
Generalize use of UBO.
2014-04-10 21:16:44 +02:00
Vincent Lejeune
fee89a3a3e
Start decoupling tree based draw sequence.
2014-04-10 21:16:43 +02:00
Vincent Lejeune
55097aba91
Add shader file as comment for easier debug
2014-04-10 21:16:43 +02:00
Vincent Lejeune
9ba636f661
Gather View Projection and shadows matrix generation.
2014-04-10 21:16:42 +02:00
hiker
8483f58f9d
Moved saved session data from UserConfig to PlayerProfile - which
...
means that now each player can individually save an online session.
2014-04-10 21:14:13 +02:00
hiker
a6f4f50281
Fixed documentation.
2014-04-10 21:14:12 +02:00
hiker
6a3698232e
Removed unused parameters.
2014-04-10 21:14:11 +02:00
hiker
ec213fbe28
Removed signedInAs function.
2014-04-10 21:14:11 +02:00
hiker
79edc5fa48
Made getCurrentUser() a static function.
2014-04-10 21:14:10 +02:00
hiker
1d71f8f1e1
Moved ServerJoinRequest from CurrentUser into RequestConnection
...
(from which file it is also used in online_screen). And cosmetic
changes everywhere.
2014-04-10 21:14:09 +02:00
hiker
1299db94e6
Cosmetic changes only.
2014-04-10 21:14:08 +02:00
hiker
502987d3e0
Now each PlayerProfile has a (currently still called) CurrentUser
...
which manages online connection data. Work-in-progress to use
only one object for all player data (instead of two atm: PlayerProfile
and CurrentUser).
2014-04-10 16:32:58 +10:00
Dk
e0d22a28d6
Camera Moves Back Smoothly
2014-04-10 07:06:13 +05:30
Marianne Gagnon
f42e4203cd
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-09 18:55:22 -04:00
Marianne Gagnon
c2fb05cc61
Compute tangents for core track mesh, allowing normal maps
2014-04-09 18:55:17 -04:00
hiker
481b5f22bb
Fixed compiler warnings.
2014-04-09 19:07:58 +10:00
hiker
5182cdb18b
Fixed line endings.
2014-04-09 19:07:44 +10:00
hiker
25c96d88ec
Moved saved session data from UserConfig to PlayerProfile - which
...
means that now each player can individually save an online session.
2014-04-09 08:33:42 +10:00
hiker
de697f26c8
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-09 08:28:01 +10:00
Vincent Lejeune
55489bc188
Use UBO instead of copying Shadow VP matrixes.
2014-04-08 21:45:04 +02:00
Vincent Lejeune
d67834574b
Remove some instance of setTransform.
2014-04-08 14:15:29 +02:00
Vincent Lejeune
4f92d9bc6b
Remove unused code.
2014-04-08 13:49:13 +02:00
Vincent Lejeune
f65b460f1c
Remove some reference to ETS_WORLD.
2014-04-08 13:49:11 +02:00
hiker
8c197a24b2
Fixed documentation.
2014-04-08 16:52:29 +10:00
hiker
c599359737
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-08 12:52:59 +10:00
vlj
62c6029e7a
Clean another line.
2014-04-08 02:05:55 +02:00
vlj
84488b192f
Another round at cleaning.
2014-04-08 02:02:08 +02:00
vlj
246d581e4c
Some cleaning.
2014-04-08 01:52:19 +02:00
hiker
384bdb1124
Removed unused parameters.
2014-04-08 08:19:14 +10:00
hiker
38051c0191
Removed signedInAs function.
2014-04-08 08:09:28 +10:00
hiker
43593d6312
Made getCurrentUser() a static function.
2014-04-08 08:06:52 +10:00
hiker
5956f2fdf7
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-08 08:00:51 +10:00
Vincent Lejeune
c5fd99a096
Clamp to edge when blurring fbo.
2014-04-07 22:38:20 +02:00
Vincent Lejeune
8fc3453eda
Fix instancied glossy map.
2014-04-07 22:29:06 +02:00
Vincent Lejeune
939e574cd8
Make bloom effect more subtle.
2014-04-07 22:19:25 +02:00
vlj
e00ce85d7c
Support FresnelSchlick factor.
2014-04-07 21:35:10 +02:00
vlj
79c6424703
Use specularmap as glossiness map.
2014-04-07 21:35:09 +02:00
Vincent Lejeune
8aa5031fc0
FBO: Combined TMP1 and TMP2 should embed DS.
2014-04-07 17:47:49 +02:00
hiker
d88f513ad6
Moved ServerJoinRequest from CurrentUser into RequestConnection
...
(from which file it is also used in online_screen). And cosmetic
changes everywhere.
2014-04-07 21:15:42 +10:00
hiker
cb8daa4977
Cosmetic changes only.
2014-04-07 16:52:09 +10:00
hiker
9b1b66689b
Moved achievement notification for server from CurrentUser to
...
Achievement.
2014-04-07 13:19:07 +10:00
Marianne Gagnon
569d68dfe1
Add asset to 'clearWindow' to catch invalid uses
2014-04-06 21:05:09 -04:00
Marianne Gagnon
06a3d770e5
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2014-04-06 20:57:37 -04:00
Marianne Gagnon
61ad56f088
Fix recovery dialog
2014-04-06 20:57:28 -04:00
gl3nn
8d3d65270a
Don't allow showing the notification dialog without using the dialog
...
queue anymore.
2014-04-07 02:12:45 +02:00
hiker
73e8fb3556
Merge branch 'master' of github.com:supertuxkart/stk-code
2014-04-07 09:42:09 +10:00
Marianne Gagnon
a413fa3f15
Add proper instancing fallback when shaders are off
2014-04-06 18:46:25 -04:00
Marianne Gagnon
456d57f7ce
Instancing : don't crash when shaders are off
2014-04-06 18:31:15 -04:00
hiker
cb959acb44
Added 'action' parameter to setUserDetail, and made it work when
...
the user is not logged in, so that it can be used for the recovery request.
2014-04-07 08:25:48 +10:00
hiker
6b7dcedc02
Don't log the value of 'current', 'new1' and 'new2' (which are used
...
when changing passwords).
2014-04-07 08:13:33 +10:00
vlj
dd51124680
Fix specular light buffer not written to.
2014-04-06 17:40:51 +02:00
Vincent Lejeune
ada1d2617c
Clear SSAO fbo at least once.
...
On intel driver (windows) texture swizzling seem not to work everytime
so use an untouched rtt instead of swizzling SSAO rtt if ssao is
disabled.
2014-04-05 21:21:01 +02:00
Vincent Lejeune
150ee87471
Use glFrameBufferTexture on shadows buffer
...
We're sure there is at least gl 3.2 support.
2014-04-05 20:53:38 +02:00
Vincent Lejeune
a951a8c885
Wrong glsl check when compressing textures.
2014-04-05 20:48:50 +02:00
Vincent Lejeune
04176d52a8
Do not create shadow vao for ctx < gl 3.2
2014-04-05 20:16:15 +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
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
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
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
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
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
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
Vincent Lejeune
881d0b9954
Factorize luminance computation.
2014-03-31 17:24:53 +02:00
vlj
8fc383206f
Improve ao and bloom.
2014-03-30 23:47:19 +02:00
vlj
77b289fed6
Remove some unused code
2014-03-30 23:38:18 +02:00
vlj
6d3901f6a2
Clean skybox handling
2014-03-30 21:51:46 +02:00
Vincent Lejeune
1481a110a5
Use utils function for renderbloom/blend
2014-03-30 20:49:14 +02:00
vlj
bfdba01f2b
Expand HDR use.
2014-03-30 19:15:25 +02:00
vlj
10e2218b8c
Convert texture from srgb and use srgb fbo
2014-03-30 18:19:59 +02:00
Marianne Gagnon
9a5e3d9c9c
Try to handle case where addons XML file cannot be loaded
2014-03-30 11:48:38 -04:00
Marianne Gagnon
7cd93708cf
Merge remote-tracking branch 'konstin/spaces' : Remove trailing spaces, use spaces and not tabs for indentation
2014-03-30 11:25:16 -04:00
konstin
4d3e835021
re-adding -help
2014-03-30 16:19:09 +01:00
Marianne Gagnon
d08e81ab56
Improve behavior when using instancing with physics objects
2014-03-29 18:39:15 -04:00
konstin
7cc83e1475
running whitespaces.py update 1
2014-03-29 11:33:43 +01:00
konstin
663fffdebb
Revert "Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces"
...
This reverts commit 65e2dcf2f0
.
2014-03-29 11:32:04 +01:00
vlj
91c4e9de94
Fix orientations.
2014-03-29 02:19:08 +01:00
Marianne Gagnon
b7c07536f0
Merge branch 'Instancing'
2014-03-28 21:10:52 -04:00
Marianne Gagnon
d90c3753df
Pass absolute rotation, not relative rotation
2014-03-28 21:05:21 -04:00
vlj
1bac60c48a
Attempt to fix orientations.
2014-03-29 02:04:20 +01:00
vlj
f4eeb68fd4
Merge branch 'Instancing'
2014-03-29 01:22:57 +01:00
vlj
ca1a1e37d9
Fix normals for normal object.
2014-03-29 01:22:08 +01:00
Marianne Gagnon
fb90388e10
Apply patch by Marc Coll to improve upon his work on GP progress display
2014-03-28 19:16:56 -04:00
Marianne Gagnon
9406d69a72
Cleanup instancing nodes when cleaning track
2014-03-28 18:46:52 -04:00
konstin
fc2d55d6a5
Fixing #1263 and little bit refactoring
2014-03-28 22:10:43 +01:00
konstin
65e2dcf2f0
Running whitespaces.py; no more trailing whitespaces & tabs -> 4 spaces
2014-03-28 20:08:39 +01:00
vlj
35c8a14938
Forgot to clean some VAOs.
2014-03-28 01:55:10 +01:00
vlj
008b070aab
Properly clean GL buffers in instancing node.
2014-03-28 01:43:59 +01:00
vlj
c70b9ba0f8
Explicitly build the inverse matrix
...
Some drivers does not support inverse function although they advertise
glsl 140 support, and it's faster to do it manually as we know the
structure of the matrix.
2014-03-27 19:12:55 +01:00
vlj
b384716cc4
getWind() changes.
2014-03-27 01:25:04 +01:00
Marianne Gagnon
348a20288f
Apply patch by Marc Coll to have better progress reports during long GPs, thanks!
2014-03-26 20:14:29 -04:00
Vincent Lejeune
14500d65ab
Reverse order of templates in glwrapp.hpp
2014-03-26 21:18:36 +01:00
Vincent Lejeune
0f451c8f9d
List files when shader link fails.
2014-03-26 20:49:58 +01:00
vlj
8b652ababb
Merge object_pass*.vert
2014-03-26 19:04:46 +01:00
vlj
ae5c7b8c3d
Implement UI single color overload
2014-03-26 19:04:45 +01:00
Guillaume P
c04ee0f345
When a kart has crashed, make the impulsive force a little more realistic. (depending on the kart velocity).
2014-03-25 16:59:20 +01:00
vlj
71881ac64d
Add orientation to grass material
2014-03-25 16:49:03 +01:00
hiker
24dc70427f
Fixed compiler warnings.
2014-03-25 20:54:20 +11:00
Vincent Lejeune
9fef40318e
Fixes for grass instancied material.
2014-03-25 00:09:32 +01:00
Vincent Lejeune
72556fddc3
Don't use glDebugMessageCallbackARB if null
2014-03-24 21:47:24 +01:00
vlj
a866b3f416
Add Grass material support for instancing.
2014-03-24 16:40:40 +01:00
Sachith Hasaranga Seneviratne
7232e6c11e
Scripts can now squash karts by id and for a defined period of time
2014-03-24 11:32:46 +05:30
Sachith Hasaranga Seneviratne
6385937668
Revert "Trigger now has access to kart that triggered it"
...
This reverts commit 88de3ebfb7
.
2014-03-24 11:12:51 +05:30
Sachith Hasaranga Seneviratne
f9cdb05751
Revert "Revert "Removed unnecessary comment""
...
This reverts commit e967e9a1f9
.
2014-03-24 11:12:04 +05:30
Sachith Hasaranga Seneviratne
e967e9a1f9
Revert "Removed unnecessary comment"
...
This reverts commit 954e963d1a
.
2014-03-24 11:10:43 +05:30
Sachith Hasaranga Seneviratne
88de3ebfb7
Trigger now has access to kart that triggered it
2014-03-24 09:05:28 +05:30
Marianne Gagnon
d798398478
Merge branch 'Instancing' of https://github.com/supertuxkart/stk-code into Instancing
2014-03-23 18:55:51 -04:00
Marianne Gagnon
bb28e26eff
Cleanup for instancing
2014-03-23 18:55:45 -04:00
vlj
3423cbf60b
Some fixes.
2014-03-23 20:05:51 +01:00
Vincent Lejeune
76cf04f548
Clean code to make it extendable later
2014-03-23 19:50:33 +01:00
Vincent Lejeune
5c8ef365a5
Merge instanced_object_pass vertex shaders.
2014-03-23 19:28:07 +01:00
Vincent Lejeune
5dd2d28134
Merge branch 'master' into Instancing
2014-03-23 19:20:23 +01:00
Marianne Gagnon
ae92b4007b
Add initial basic support for loading instancing nodes
2014-03-22 20:55:30 -04:00
Marianne Gagnon
ce1cbd44da
Use new single-color overload in font where possible
2014-03-22 19:38:48 -04:00
vlj
a21d162d5a
Add an overload for draw2DImage with a single color
2014-03-23 00:29:47 +01:00
vlj
6fc2248d7a
GPUParticles: some factorisation
2014-03-23 00:19:57 +01:00
vlj
9752689d15
Do not render billboard outside of transparent pass
2014-03-22 23:18:07 +01:00
vlj
c0b2b23692
Factorise cubevbo/vao in shader.cpp
2014-03-22 23:09:33 +01:00
vlj
fd82494ee8
Add file path when a compiler error arise.
2014-03-22 22:32:01 +01:00
Vincent Lejeune
2cbf8dafc7
SkyShader: attrib position is not always 0.
2014-03-22 20:05:56 +01:00
Vincent Lejeune
29749d5dbd
Merge commit 'f3e2da881a4d394c4ca902548e788f5b4c0bdd81'
...
* commit 'f3e2da881a4d394c4ca902548e788f5b4c0bdd81':
Do not build shadow shader without gs support.
Add a function to query supported glsl ver
Some drivers dont support const array
2014-03-22 18:54:51 +01:00
Vincent Lejeune
f3e2da881a
Do not build shadow shader without gs support.
2014-03-22 18:36:21 +01:00
Vincent Lejeune
ae3cf30070
Add a function to query supported glsl ver
2014-03-22 18:36:20 +01:00
Unitraxx
c647fa5081
Merge pull request #1252 from mcsab/master
...
Reset-per-lap achievement support
2014-03-22 01:12:28 +01:00
Csaba Molnar
ca19a428b2
merge, comment fix, never-consistence fix
2014-03-22 01:02:52 +01:00
Csaba Molnar
3a5812dd6c
Merge branch 'master' of https://github.com/supertuxkart/stk-code
...
Conflicts:
data/achievements.xml
2014-03-22 00:52:33 +01:00
Vincent Lejeune
1f1e79477d
Add missing utils/log.hpp in glwrap.hpp
2014-03-22 00:24:00 +01:00
Vincent Lejeune
340eaa9352
Factorize getLightFactor
2014-03-21 18:36:47 +01:00
Vincent Lejeune
01b88fde9d
Factorize DecodeNormal from misc shaders.
2014-03-21 18:17:21 +01:00
Vincent Lejeune
77e5f413c7
Factorize EncodeNormal from Pass1 shaders.
2014-03-21 18:10:54 +01:00
Vincent Lejeune
f0e96bb7f2
Use variadic function to load shader
2014-03-21 18:09:10 +01:00
Vincent Lejeune
9728226ee3
Forgot to dereference a value.
2014-03-21 15:58:21 +01:00
Guillaume P
0faa3b2eac
Don't fire a cake if the target kart is driving too slow.
2014-03-21 14:36:31 +01:00
Guillaume P
c857bbaec0
Merge remote-tracking branch 'remotes/upstrem/master' into skiddingAI
2014-03-21 14:05:42 +01:00
Sachith Hasaranga Seneviratne
954e963d1a
Removed unnecessary comment
2014-03-21 15:40:08 +05:30
Sachith Hasaranga Seneviratne
4dd0d4c0bb
Added better Message
2014-03-21 15:36:59 +05:30
Sachith Hasaranga Seneviratne
c1b8927b31
Cleaned up a bit
2014-03-21 15:31:28 +05:30
Marianne Gagnon
89e070c7f3
Revert dubious change from GP patch
2014-03-20 21:30:10 -04:00
Marianne Gagnon
2f2547420d
Apply Marc Coll's Grand Prix editor, thanks! There will be refinements to come for sure, but this is a very nice start
2014-03-20 21:13:05 -04:00
vlj
68935decaa
Reenable Debug Output on windows.
2014-03-21 01:44:14 +01:00
vlj
a35b7d1e2d
Do not reload Caustic/displace texture each frame
2014-03-21 01:43:45 +01:00
auriamg
dee2a0300e
Merge pull request #1259 from cosmincav/master
...
Added achievement: unstoppable
2014-03-20 20:08:43 -04:00
vlj
f06ad3c785
Reenable transparent + fog material.
2014-03-20 18:25:44 +01:00
vlj
b3f59437b1
Fix rubber band effect for plunger.
2014-03-20 18:06:59 +01:00
cosmin.crecana
8616ce546a
achievement_unstoppable
2014-03-20 15:30:11 +02:00
Sachith Hasaranga Seneviratne
4334d9a022
Added haybail.as
2014-03-20 15:05:33 +05:30
vlj
a3eee305ca
Remove the max distance for lights
2014-03-19 23:07:40 +01:00