Commit Graph

9136 Commits

Author SHA1 Message Date
deve
e57b927c96 Allow to compile STK on Windows using MinGW compiler.
It needs vorbis dll's as additional dependencies.

TODO: add an alternative to inet_ntop function.
TODO: link wiimote library
2014-09-03 14:08:23 +02:00
Stephen Just
050d83540c Use four-channel storage for diffuse/specular RTTs
Mesa doesn't seem to support three-channel texture storage, so
increase to four channels. This supposedly will not negatively
impact performance, and may actually improve it depending on the
driver implementation.

See http://www.gamedev.net/topic/560908-is-float-point-fb-possible-with-opengl/
2014-09-02 08:36:06 -06:00
hiker
6982e3d0ae Merge branch 'master' of github.com:supertuxkart/stk-code 2014-09-02 09:52:15 +10:00
hiker
06915cc354 Fix compilation on very old mesa versions. vlj, please check. 2014-09-02 09:51:30 +10:00
Vincent Lejeune
480d281f52 Fix crash reported when using plunger. 2014-09-02 01:19:34 +02:00
Vincent Lejeune
0b0cf09dd6 Try to fix build 2014-09-02 01:08:08 +02:00
Deve
57240124ba Rename rain class to weather 2014-09-01 20:18:06 +02:00
Deve
7d0dec5c49 Handle lightning and sound in weather property 2014-09-01 20:18:06 +02:00
Marc Coll Carrillo
76b4f929df Reset the scroll offset when clearing a dynamic ribbon widget 2014-08-31 17:54:40 +02:00
Marianne Gagnon
fd1f2537d4 Modify LOD node to use cleaner technique 2014-08-30 21:24:16 -04:00
vlj
5c1b24b4e4 Factorise a common interface to stkmeshscenenode/animatedmesh 2014-08-31 01:18:54 +02:00
Deve
47b46558f2 A bit better formatting in world status 2014-08-30 18:37:57 +02:00
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
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
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
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
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