Commit Graph

9333 Commits

Author SHA1 Message Date
Deve
507d9566a0 Don't start rain sound too early 2014-08-30 18:37:57 +02:00
Deve
d8f61e336e Move creating rain to world class because now it doesn't depend on cameras. 2014-08-30 18:37:57 +02:00
Marianne Gagnon
a8c5ab43d3 Rename variable + bugfix 2014-08-29 21:09:12 -04:00
Marianne Gagnon
90396678b7 Separate lightshaft from sun 2014-08-29 20:28:19 -04:00
vlj
af4575f6db Fix crash on nvidia linux 2014-08-30 01:03:01 +02:00
vlj
fc80ebbbcb Use storage buffer for vao manager 2014-08-29 21:59:05 +02:00
vlj
1e1ba34f45 Use a separate update() member 2014-08-29 21:59:04 +02:00
Deve
61d70ea599 Add rain sound 2014-08-29 21:54:17 +02:00
Deve
5a937d6f12 Fixed creating rain class 2014-08-29 21:54:17 +02:00
Vlj
537d435f7f Add some compile time check 2014-08-29 21:29:18 +02:00
Deve
50319c7c58 Check if user config dir exists 2014-08-29 21:12:00 +02:00
vlj
ae18730c92 Use ATI instead of AMD in vendor name. 2014-08-28 22:08:56 +02:00
vlj
5878cb35ec Implement runtime detection of srgb bindless fix 2014-08-28 22:02:12 +02:00
Vincent Lejeune
a3b8494ad5 Remove Base Vertex/Offset if base instance is unavailable 2014-08-27 22:27:06 +02:00
Vincent Lejeune
998b5a89ac Fix transparents 2014-08-27 19:32:45 +02:00
Vincent Lejeune
5a212989df Fix build on travis 2014-08-27 17:44:24 +02:00
vlj
00049f2f04 Init texture only once, not each frame 2014-08-27 17:22:59 +02:00
hiker
2a5591ad1f Enable continue button. 2014-08-27 22:57:03 +10:00
hiker
db3db6f8b5 First version of the GP info screen (instead of dialog). 2014-08-27 22:08:50 +10:00
hiker
46396f4a7e Fix #1484 (crash on windows in release mode). 2014-08-27 13:46:42 +10:00
Vincent Lejeune
4cb8955f83 Free texture memory when an object is destroyed 2014-08-26 23:58:42 +02:00
Vincent Lejeune
a1ec19e672 Factorise AZDO related code 2014-08-26 23:52:48 +02:00
vlj
53c52470ee Use one call for each shadow cascade instead of a big one. 2014-08-26 21:56:16 +02:00
Vincent Lejeune
4f411ccdb1 Fix spheremap shader 2014-08-26 21:05:43 +02:00
Vincent Lejeune
264a9dbe46 Do not split animated mesh from static list 2014-08-26 20:45:55 +02:00
Vincent Lejeune
bf5410b793 Add unlit instanced shader 2014-08-26 20:34:59 +02:00
Vincent Lejeune
cad1efbff1 Add instanced detail shader 2014-08-26 20:34:37 +02:00
Vincent Lejeune
0960f090dc Add instanced spheremap shader 2014-08-26 20:34:26 +02:00
hiker
672ec8e5e8 Fixed crash: m_tracks is NULL, and can't be used to get the default
number of laps here.
2014-08-26 16:39:54 +10:00
hiker
b029c3e990 Fixed setting of actual number of laps of a track; cleaned up docs. 2014-08-26 16:37:06 +10:00
hiker
c9fb0c5b16 Removed unnecessary include. 2014-08-26 16:36:05 +10:00
Deve
4b597b97b7 Fixed path to data directory on linux.
Ideally we should use relative paths, which could make possible to run the game after using:
make install DESTDIR=./any/local/path

I also added path to "supertuxkart-assets" directory, which cmake already search.
2014-08-25 21:53:24 +02:00
Vincent Lejeune
0b4532b6da Implement AZDO 2014-08-25 17:30:03 +02:00
hiker
48ac661af7 Merge remote-tracking branch 'origin/master' into gui_screen 2014-08-25 22:23:14 +10:00
hiker
76767141f7 Removed old track info dialog, fixed crashes in track info screen
(caused when making some spinners etc. visible).
2014-08-25 22:20:42 +10:00
hiker
8f3bff10f8 If minimum or maximum is set for a spinner widget, automatically
adjust the value if its too low or high.
2014-08-25 21:57:43 +10:00
hiker
c9936ffb97 Forgot to actually add the new files :( 2014-08-25 10:47:36 +10:00
hiker
0de942b5f3 Alpha version of a track info screen (instead of a dialog). 2014-08-25 10:40:37 +10:00
hiker
bf23f31a10 Fixed typo. 2014-08-25 10:33:29 +10:00
hiker
aef5b3aaea Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-25 10:30:12 +10:00
Vincent Lejeune
805d35a5e6 Do not draw twice the second pass instanced mesh 2014-08-25 02:17:23 +02:00
Vincent Lejeune
55346185d7 Fix instancing without base instance support 2014-08-25 02:13:01 +02:00
Vincent Lejeune
f3752a03f0 Enable arb debug output on all non apple platform 2014-08-25 01:53:05 +02:00
Vincent Lejeune
44de38bf10 Pack instanceData 2014-08-25 01:45:33 +02:00
Vincent Lejeune
b401d1e082 Push empty InstanceData independently of gl level 2014-08-25 01:09:52 +02:00
Vincent Lejeune
aa6e3570df Fix attempt for crash. 2014-08-25 00:40:19 +02:00
Vincent Lejeune
7bff68870c Read sampler from attributes. 2014-08-24 21:50:59 +02:00
vlj
4a62fd7968 Use an instance manager 2014-08-23 19:53:54 +02:00
Vincent Lejeune
a0b376f04d Fix some warnings 2014-08-23 18:53:38 +02:00
hiker
16b88d13db Fixed compiler warning. 2014-08-23 12:10:12 +10:00
hiker
fbc438b998 Fixed error message to correctly say that online user names needs to
be at least 3 characters long - though at this stage we need to
wait for the server to be updated as well, since it will now reject
a shorter user name.
2014-08-23 09:56:30 +10:00
hiker
5b633f0487 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-23 09:50:39 +10:00
Vincent Lejeune
6ac3d69471 Play with bindless textures 2014-08-22 23:48:28 +02:00
vlj
bc24c4558f Register some api functions 2014-08-22 23:48:14 +02:00
Deve
90ecf50414 Show console on windows only in debug mode 2014-08-22 20:40:22 +02:00
Deve
8711955bdc Fixed onEscapePressed event in addons loading screen.
It actually was unused previously. I'm also not sure why there was assert(false) ?
2014-08-22 19:59:30 +02:00
Deve
ad870c37f4 Back to previous resolution when escape was pressed in confirm resolution dialog 2014-08-22 19:46:03 +02:00
hiker
52a7d071dd Fixed some Log:: messages that used incorrect syntax and did not print
some variables. Made all log:: messages use the same components 'addons'.
2014-08-22 16:34:18 +10:00
hiker
3ef30dfd48 Merge branch 'no_floating' 2014-08-22 12:46:10 +10:00
hiker
80e1effccf Added some debug output to get more info for #1464 (unnecessary download
of addon icons). To be removed later.
2014-08-22 12:44:46 +10:00
hiker
84e78d884a Merge remote-tracking branch 'origin/master' into no_floating
Conflicts:
	src/karts/kart.cpp
2014-08-22 12:23:55 +10:00
hiker
0e23c54562 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-22 12:15:14 +10:00
hiker
f0f4b8d9f6 Improved error message. 2014-08-22 12:14:06 +10:00
Vincent Lejeune
b5273d6426 Port gaussian17*shader (non compute) to TextureRead. 2014-08-22 02:21:20 +02:00
Vincent Lejeune
dc35efa9d7 Port nvidia workaround to TextureRead 2014-08-22 02:08:05 +02:00
hiker
c3821e703b Made line endings consistent. 2014-08-22 09:49:55 +10:00
Vincent Lejeune
5c879b623f Fix pointlight call 2014-08-22 00:47:19 +02:00
Vincent Lejeune
547018f0ab Port PointLight shader 2014-08-22 00:30:14 +02:00
Vincent Lejeune
cee48821d3 Port diffuse env map shaders 2014-08-22 00:20:04 +02:00
Vincent Lejeune
062bcb1ff0 Fix gl debug output rant about uninitialised sync 2014-08-21 23:31:45 +02:00
Vincent Lejeune
187c9fca85 Port SunLight to TextureRead 2014-08-21 23:29:40 +02:00
Vincent Lejeune
c38a26b92a Use a separate rtt for diffuse/specular 2014-08-21 23:26:16 +02:00
Deve
4584464798 Add icon to exe file as resource.
It's hard to test for me because currently I can compile it only on virtual machine and it takes long time.
But it should work.
2014-08-21 21:38:59 +02:00
hiker
c6f7448911 Use sqrt(speed) to scale the collision impulse, which results in
weaker impulses when hitting the terrain.
2014-08-21 22:34:51 +10:00
hiker
1179ebf4e9 Fix suspension to some more realistic values. 2014-08-21 21:33:26 +10:00
hiker
15cccf9301 Make the graphical y offset configurable (and basically disable
it for now by setting it to 0).
2014-08-21 17:28:06 +10:00
hiker
171b442ae6 Removed artificial Y offset to allow evaluation of more karts. 2014-08-21 09:59:29 +10:00
hiker
856eb747b4 Fixed shadows with a hack. 2014-08-21 08:01:54 +10:00
Stephen Just
78df1bf371 Fix hasGLExtension on Windows.
Windows requires loading the glGetStringi function explicitly.
Also included fallback for when it is not found.
2014-08-20 14:38:49 -06:00
Marianne Gagnon
c8b50c67ef Fix leak 2014-08-20 20:38:05 -04:00
Vincent Lejeune
d968ce11bf Add a function that kills shaders and use it when reloading shader.
Thus there is no mesh corruption.
2014-08-21 02:19:33 +02:00
Vincent Lejeune
5abc404ed9 Use stream_copy for tfb buffers. 2014-08-21 01:17:16 +02:00
Vincent Lejeune
dd1f0739f0 Properly clean program object in load shader function. 2014-08-20 23:30:25 +02:00
Vincent Lejeune
06df2d12c7 Forgot to free a temp array. 2014-08-20 23:16:20 +02:00
Vincent Lejeune
04f6c7e729 Use singleton template for VAOManager (ex VBOGatherer) 2014-08-20 23:08:04 +02:00
hiker
210a8e7ae9 Set the graphical suspension depending on physical suspension (capped).
Adjusted graphical chassis to be 0.1 higher to have similar look at previously
and avoid graphical chassis going into terrain,
2014-08-20 22:19:26 +10:00
hiker
e95536c265 Fixed height computation. Moved adding of gravity center
shift, which probably fixed the problems we had with
 'wheels inside kart chassis' tests earlier.
2014-08-20 21:35:22 +10:00
hiker
4a028afb8f Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-20 21:25:15 +10:00
hiker
4228fbb0d4 Temporary fixed windows compilation (glGetStringi not known). Needs
a proper fix!!
2014-08-20 21:24:20 +10:00
hiker
6073788813 Fix linux compilation (no nullptr). 2014-08-20 21:07:12 +10:00
Stephen Just
6b3786457f Fix OpenGL extension detection on Linux/Mesa.
Created function in glwrap to test whether a GL extension is available.
This required using OpenGL3's glGetStringi. Backwards compat code can
be added to function if necessary.
2014-08-19 16:19:38 -06:00
vlj
160d4ae432 Merge branch 'texture-factorization' 2014-08-20 02:54:54 +02:00
vlj
fc945a429f Another place found 2014-08-20 02:46:48 +02:00
vlj
d11d56f6cd Replace std::vector<GLuint>{...} in post_processing 2014-08-20 02:42:59 +02:00
vlj
7de6b7adcd Use createVector in others places 2014-08-20 02:21:34 +02:00
vlj
4197e2c320 Another ifdef sets... 2014-08-20 02:05:16 +02:00
vlj
5559a9fd1d Add some #if !defined(APPLE) in debug screen 2014-08-20 02:02:34 +02:00
vlj
b3e6ed03b1 Use VERSION_3_3 macro 2014-08-20 01:56:16 +02:00
vlj
af4fdaf96b Add "functionnal" include in debug.cpp 2014-08-20 01:56:04 +02:00
vlj
953dd9db0d Put some others bunch of code between ifdef win32 2014-08-20 01:48:28 +02:00
Marianne Gagnon
5788073b17 osx fixes 2014-08-19 19:44:27 -04:00
vlj
d0e22164d5 Add some ifdef for OSX 2014-08-20 01:31:11 +02:00
vlj
190aed6219 Use createVector in some others places 2014-08-20 01:27:26 +02:00
vlj
a28f4d26b4 Add a "createVector" function for OSX 2014-08-20 01:13:39 +02:00
vlj
af9c3d53b7 Use template to declare shader texture usage. 2014-08-19 22:06:49 +02:00
vlj
2a473a550a Remove wrappers. 2014-08-19 17:30:44 +02:00
vlj
92e5126ebf Fix travis ci 2014-08-19 17:16:27 +02:00
Vincent Lejeune
4641854c49 Factorize gl headers include in a separate file.
It should avoid conflict with Xorg headers
2014-08-19 17:01:45 +02:00
vlj
5128ab920b Fix build 2014-08-19 17:01:32 +02:00
Vincent Lejeune
30c91217a7 Factorize gl headers include in a separate file.
It should avoid conflict with Xorg headers
2014-08-19 16:52:49 +02:00
vlj
bd7ec06d49 Fix build 2014-08-19 16:52:43 +02:00
Vincent Lejeune
da843cc8c1 Add sampler object support 2014-08-19 02:36:06 +02:00
vlj
bdd7951c46 Split animated meshes list from the others 2014-08-19 02:35:51 +02:00
Marianne Gagnon
9af41a5166 Add actual light under thunderbird 2014-08-18 20:01:45 -04:00
Vincent Lejeune
da90ea491e Unlit material supports tex matrix 2014-08-19 01:36:06 +02:00
auriamg
fcbc41171e Merge pull request #1463 from konstin/gp_editor_laps
small improvements to the gp editor
2014-08-18 19:04:43 -04:00
konstin
33686e9abc make gp editor use default number of laps 2014-08-18 15:16:53 +02:00
konstin
e400b5c212 improve readability 2014-08-18 15:15:22 +02:00
konstin
2f6424c3a2 replace unecessary NULL-checks 2014-08-18 15:11:51 +02:00
hiker
fe62df253d Exit quicker if a request is being executed when stk is quit. 2014-08-18 22:43:26 +10:00
hiker
b2a936c8cd Fix crash caused when downloading requests for icons were still
executing at game end.
2014-08-18 22:42:27 +10:00
Marianne Gagnon
fcb80cdb2c Update thunderbird to have new-engine-friendly traffic light animation 2014-08-17 19:33:45 -04:00
Marianne Gagnon
83a1acc961 Merge branch 'save_gp' 2014-08-16 15:42:46 -04:00
Marianne Gagnon
9992f3afa6 bugfix 2014-08-16 15:42:35 -04:00
Marianne Gagnon
5ed8358505 Misc fixes, null crash on invalid billboards, some non-weather particle emitters incorrectly created with Y randomization 2014-08-16 15:26:39 -04:00
Deve
990a297154 Get real width and height of best fit resolution only if resolutions list is not empty. 2014-08-16 12:21:55 +02:00
hiker
8c525ab2d4 Make the physics settings configurable, but default to use the old
settings for now.
2014-08-16 10:20:24 +10:00
hiker
6d5651f357 Test to see if the physics work better. 2014-08-16 09:44:00 +10:00
Marianne Gagnon
af33992691 Remove accidentally added file 2014-08-15 18:34:59 -04:00
vlj
8b81d0ac3f Map UBO to change its value. 2014-08-16 00:33:47 +02:00
vlj
5f6d0bd63c Use stream storage for ubo 2014-08-16 00:19:45 +02:00
vlj
cbd77b469c Do not use srgb fbo if ubo workaround is enabled. 2014-08-15 22:06:05 +02:00
Vlj
647a5d6990 Fix skybox generation with non square textures 2014-08-15 02:14:30 +02:00
Marianne Gagnon
0a95344a01 Fix potentiel crash 2014-08-14 19:54:35 -04:00
Marianne Gagnon
c425e7e153 Also export GPU markers to CSV 2014-08-14 19:41:33 -04:00
Marianne Gagnon
58f509d953 Fix vlj's profiler code, only worked in single player 2014-08-14 19:08:21 -04:00
Vincent Lejeune
07bff38427 Fix a typo. 2014-08-14 21:45:31 +02:00
Vincent Lejeune
f9c692052e Try a fix for nvidia and GI 2014-08-14 21:26:16 +02:00
vlj
49779d36bf Do not update mesh in shadow pass.
It may introduce some 1 frame latency between shadows and geometry but
in practice it's not noticeable.
2014-08-14 18:55:21 +02:00
vlj
33e3b43346 Add a (quite big) timeout to sync. 2014-08-14 18:40:14 +02:00
Vlj
8ec4fb6308 Use sync object 2014-08-14 18:12:15 +02:00
vlj
18981ff943 Set unsynchronized bit in transparent pass 2014-08-14 16:29:59 +02:00
vlj
1c7fe8c518 Use mapbuffer to modify animated mesh buffer content. 2014-08-14 16:14:36 +02:00
vlj
6ef8f666ee Add mapbuffer glfunction. 2014-08-14 16:06:42 +02:00
vlj
d1f83c0334 Properly clean/regen vbo in updatevbo() 2014-08-14 14:27:18 +02:00
vlj
9840650038 Update some data usage hint. 2014-08-14 14:11:04 +02:00
vlj
21683251a2 Fix shadow lod level in singleplayer 2014-08-14 02:43:01 +02:00
hiker
52fba7958a Fixed pre-2011 compilation. 2014-08-14 10:24:23 +10:00
hiker
3521368112 Oops - committed file with typo :( 2014-08-14 10:21:26 +10:00
hiker
27155b5543 Merge branch 'master' of github.com:supertuxkart/stk-code 2014-08-14 10:19:54 +10:00
Marianne Gagnon
a5f36ec412 Add new particles flag for vlj 2014-08-13 20:23:21 -04:00
hiker
f338282a15 Merge branch 'master' of github.com:supertuxkart/stk-code
Conflicts:
	src/graphics/stkinstancedscenenode.cpp
2014-08-14 10:19:31 +10:00
Marianne Gagnon
1de0e50607 Merge branch 'master' of https://github.com/supertuxkart/stk-code 2014-08-13 20:10:28 -04:00
Marianne Gagnon
5c3c7afeae Fix bogus cast resulting in reading random URL in particles 2014-08-13 20:10:02 -04:00
vlj
5f78f2687f Merge branch 'master' of https://github.com/supertuxkart/stk-code 2014-08-14 02:09:15 +02:00
vlj
9120d792be Fix GPUTimer 2014-08-14 02:09:12 +02:00
Marianne Gagnon
ba3027b6bb Little improvement to for_in macro. Still only works on PtrVector though 2014-08-13 19:47:59 -04:00
hiker
86ea16bd43 Fixed compilation for pre-C++-2011 compilers. 2014-08-14 09:38:31 +10:00
vlj
47e176d4a3 User wrong VS for instanced normal
Also fix the srgb normal map.
2014-08-14 00:55:12 +02:00
Marianne Gagnon
b95765c172 use better tool to calculate tangents 2014-08-13 18:35:07 -04:00
Marianne Gagnon
976ea043bb Add missing bit of code 2014-08-13 18:25:21 -04:00
Vlj
3e277f8edf Dont alloc quaternion buffer if not flip 2014-08-13 23:56:27 +02:00
Vlj
c7a4d45d08 Fix malloc/delete mismatch 2014-08-13 23:52:47 +02:00
Vincent Lejeune
b5016ba85e Factorise simulation code. 2014-08-13 22:47:03 +02:00
Vincent Lejeune
00e945e75c Port heightmap simulation shader. 2014-08-13 22:42:02 +02:00
Vincent Lejeune
47cfe08fe1 Port simple simulation particle shader. 2014-08-13 22:32:15 +02:00
Vincent Lejeune
8117260bf6 Factorise attribute location of simulation program. 2014-08-13 22:26:52 +02:00
Vincent Lejeune
e6eac5b57f Clean quaternionbuffer at the right place. 2014-08-13 22:02:18 +02:00
Vincent Lejeune
f43538aad7 Factorize again code in gpuparticle. 2014-08-13 21:59:57 +02:00
Vincent Lejeune
b5f89501f6 Factorize some GL code in gpuparticle. 2014-08-13 21:38:33 +02:00
Vincent Lejeune
013e823408 Extract ParticleVBO from gpuparticle.cpp 2014-08-13 21:13:28 +02:00
Vincent Lejeune
dc02eec7b6 Port particle rendering shaders too. 2014-08-13 21:04:03 +02:00
Vincent Lejeune
22137eee88 Port UI shaders. 2014-08-13 20:25:56 +02:00
Vincent Lejeune
dc9993d780 Add Debug for instanced vertex type mismatch. 2014-08-13 19:28:02 +02:00
Vincent Lejeune
70b0fce50c Add support for instanced normal map mesh. 2014-08-13 19:20:40 +02:00
Vincent Lejeune
ebacfcfcef Put RSM draw in its own method. 2014-08-13 18:59:30 +02:00
Vlj
fda6aac5dd Reenable shadows for instanced mesh 2014-08-13 17:33:10 +02:00
hiker
de16d1ace3 Bugfix: A new local only user was now able to change the online account.
If a new account is created with an online account, make the online account
the default.
2014-08-13 21:46:53 +10:00
hiker
7111eb55ee Merge branch 'laps' of https://github.com/konstin/stk-code into konstin-laps 2014-08-13 16:01:22 +10:00
Vlj
ce5d09f159 Move instanced rendering code to render_geometry.cpp
Shadows are disabled temporary
2014-08-13 04:11:44 +02:00
hiker
98bb7e3959 Merge branch 'bumpy' 2014-08-13 11:16:03 +10:00
Vincent Lejeune
292aa0cbc4 Factorize FullScreen shaders invocations. 2014-08-13 02:01:29 +02:00
Vincent Lejeune
955e0d3259 Move RHDebug code to post process 2014-08-13 01:21:48 +02:00
Marianne Gagnon
345a3bc451 Fix logic in video settings popup 2014-08-12 19:18:38 -04:00
Vincent Lejeune
03a6499c27 Port RHDebug and Passthrough Layer 2014-08-13 01:13:41 +02:00
hiker
c5a1d8bf34 Merge branch 'fix-camera' into bumpy 2014-08-13 08:55:16 +10:00
hiker
d26547aa16 Try to stop the karts from hovering. 2014-08-13 08:53:31 +10:00
Vincent Lejeune
0dd1fd605c Port MLAA Shaders 2014-08-13 00:51:32 +02:00
Vincent Lejeune
b0d63ab399 Fix windows build 2014-08-13 00:21:43 +02:00
Vlj
465e52713e Port passthrough and glow shaders 2014-08-13 00:08:02 +02:00
Vlj
c3cead9f9c Port Bloom shaders. 2014-08-12 23:45:56 +02:00
Vlj
d8e4a352ba Port gaussianV shaders 2014-08-12 23:20:03 +02:00
Vlj
be52d07418 Port motion blur and GaussianH shaders 2014-08-12 21:14:37 +02:00
Vlj
44c03ce99d Port light shaft shaders 2014-08-12 19:55:01 +02:00
vlj
9dd2021f8d Factorize List* related code. 2014-08-12 19:18:01 +02:00
vlj
838bb4fa7c Clean some code. 2014-08-12 18:57:54 +02:00
vlj
d6015c12af Revert "Factorize tuple remap."
This reverts commit 8c032a7df6.
2014-08-12 16:38:47 +02:00
vlj
d9be494db1 Revert "Use function object when unrolling args."
This reverts commit c5216e7cff.
2014-08-12 16:38:43 +02:00
vlj
05a63ac595 Revert "Factorize render pass code"
This reverts commit 10ce84fe46.
2014-08-12 16:38:38 +02:00
Vlj
10ce84fe46 Factorize render pass code 2014-08-12 00:05:46 +02:00
vlj
c5216e7cff Use function object when unrolling args. 2014-08-11 23:15:27 +02:00
vlj
8c032a7df6 Factorize tuple remap. 2014-08-11 22:57:07 +02:00
vlj
671ab38d18 Inverted uniform names. 2014-08-11 22:03:03 +02:00
Vlj
23df4c99dd Fix 2014-08-11 21:21:58 +02:00
Vlj
1afe0fa4ee Port some shaders 2014-08-11 20:50:10 +02:00
hiker
11f3c1fc11 Added the recovery dialog back in :) 2014-08-11 22:39:08 +10:00
hiker
40224a85f6 For old server change actions change-password to change_password
and 'recover' to 'recovery'. Removed unused API::VERSION.
2014-08-11 21:56:13 +10:00
hiker
3f5ab358df Merge branch 'leyyin' 2014-08-11 14:22:30 +10:00
hiker
93fcb9a2a7 Added server-version configuration, which supports the GSOC server (version 2).
Made version 1 compatible with the 0.8.1 stkaddon server (i.e. all commands
are sent to client-user.php, and receive the actual command as 'action' parameter).
2014-08-11 14:10:01 +10:00
Marianne Gagnon
2c1feb5f06 Improve debug values popup 2014-08-10 19:09:44 -04:00
hiker
940a296366 Merge remote branch 'origin/master' into leyyin 2014-08-11 09:05:34 +10: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
hiker
4d1d4492b1 Removed support for non-bevelled shapes (has not been used in years).
Fixed position of physical (raycast) wheels to be in (or on the edge)
of the collision body, not outside. Removed support for defining
kart-specific physical kart position (was never used).
2014-08-10 21:54:18 +10: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
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
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
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
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