Commit Graph

2769 Commits

Author SHA1 Message Date
Deve
cee0de3af3 Fixed a bug in my previous commit.
I forgot that sin and cos functions want angle value in radians.
Now the code looks a bit ugly, but generates proper values.
2016-05-26 02:39:35 +02:00
Deve
cdae595724 Fixed SSAO on intel.
In ssao.frag we are computing theta valaue and it looks that intel driver doesn't like too big values for sinus and cosinus computations.

I just used modulo 360 to store lower angle values in theta variable.
2016-05-25 23:16:01 +02:00
auria.mg
6f36bc5b34 Update changelog and credits 2016-05-18 20:01:21 -04:00
auria.mg
2c6e678929 Add new volcano track 2016-05-18 19:57:09 -04:00
Deve
edfc7d285c Fixed shadows and GI for mesa drivers.
The check for GL_ARB_geometry_shader4 doesn't have sense at all because we don't use this extension and our geometry shaders use functionality which is available in core OpenGL 3.2.

The reason that it wasn't working for older mesa versions must be a bug in mesa or maybe missing other functionality (but not GL_ARB_geometry_shader4).

I checked it with mesa 11.2 and current git version and it works fine on intel, nouveau and with software rendering.

It needs some testing because it potentially affects all drivers with OpenGL >= 3.2 on every platform.

If someone could test it with Radeon drivers, I would be really happy to enable it in upcoming release, at least on linux.
2016-05-18 22:19:31 +02:00
auria.mg
5b2cb52dc5 Add higher-res icon 2016-05-14 21:15:11 -04:00
Deve
58f7424b4f Add a workaround for skybox.
The problem was with shader-based pipeline with disabled "advanced effects" in options.

In this case we don't use RTTs and gl_FragCoord contains values in range of whole window. So fo 2 players we still get gl_FragCoord.y = 0..window_size instead of gl_FragCoord.y = 0..window_size/2.

The easiest way to solve it seems to be modulo it by current viewport size. It should be compatible with advanced pipeline as well as single-player games.

Atm. I'm not sure if this should be applied to 0.9.2 branch. It should work fine, but needs some testing.
2016-05-08 21:39:50 +02:00
qwertychouskie
87f3609b06 Update screenshots and description 2016-05-06 19:50:57 -07:00
Deve
d989ae1d4a Update graphics restrictions for mesa:
- Increase version for sRGB-capable visual workaround because it doesn't look that it will be fixed anytime soon
- Enable compute shaders because it works fine now
- Enable texture compression because it works now too.

Texture compression for intel should work fine also for older versions, but it's hard to say which one version is the first working one.
2016-05-03 21:48:21 +02:00
Deve
62ea873373 Fixed compute shaders on mesa.
It was reporting an error:
[error  ] GLWrap: Error in shader gaussian6h.comp
[error  ] GLWrap: 0:77(1): error: storage qualifiers must come after precise, invariant, interpolation, layout and auxiliary storage qualifiers
2016-05-03 21:48:21 +02:00
hiker
1870691900 Decrease leaning somewhat, and increased leaning speed. 2016-04-27 18:11:57 +10:00
hiker
d90dc8ea37 Removed unused entry. 2016-04-27 17:58:28 +10:00
hiker
30d60acfaf Added freetype to list of software used. 2016-04-27 15:19:00 +10:00
auria.mg
4bc0cccf00 Fix user/login screen layout, fixes #2474 2016-04-25 19:10:56 -04:00
auria.mg
32eba771e2 Tweak GP win and GP lose buttons : translator reported they were too small, and also they were designed for mouse use only and didn't work well from another input device 2016-04-24 18:21:45 -04:00
auria.mg
8c337110a2 Fix text 2016-04-23 09:00:40 -04:00
auria.mg
b6431c3383 Tweak grand prix 2016-04-22 20:44:35 -04:00
auria.mg
cffd0bd00c Fix invalid XML and update translations 2016-04-22 20:28:21 -04:00
auria.mg
ea14dcc1ca Update pot file 2016-04-22 18:59:07 -04:00
auria.mg
1fc99d7948 Add a few more replays + minor text change 2016-04-22 18:55:26 -04:00
auria.mg
5e8168e020 Add a few more stock replays 2016-04-22 18:20:32 -04:00
Benau
55278122fe Allow showing same difficulty of ghost replay only 2016-04-22 23:07:45 +08:00
Benau
f6ce065cee Allow a few replays coming with the game 2016-04-22 09:49:46 +08:00
auria.mg
790cd807a3 Start updating changelog for STK 0.9.2. Prepare challenges/GPs for the new abyss track (replacing the old subsea) 2016-04-21 20:50:01 -04:00
auria.mg
c18343f60b Improvements to login screen : properly center buttons, and allow logging in by pressing enter 2016-04-12 19:27:11 -04:00
Benau
c258418577 Fix going back 2016-03-21 01:02:13 +08:00
Benau
fce3eec66f New GUI for track only screen, used in network and loaded from replay 2016-03-20 16:23:49 +08:00
Benau
b92210d4a0 No watching replay when split-screen
And some bugs fixes
2016-03-20 08:40:55 +08:00
Benau
da70d305a9 Allow watch replay only 2016-03-20 01:33:26 +08:00
Benau
07afd444a8 Allow racing against the replay on equal footing
It make record while replay possible too.

We show the ghost only when start racing, fixing the overlapping issue.
2016-03-19 14:57:22 +08:00
Benau
5b7161710d Add GUI option in track info screen for random item location. 2016-03-17 12:16:19 +08:00
Benau
c48ce20091 Thanks leper for this fix 2016-03-14 00:43:00 +08:00
Benau
8a9168a024 Remove the hard-coded localized name in language.cpp 2016-03-13 10:25:26 +08:00
Marianne Gagnon
5500a06ceb Tweak subsea challenge 2016-03-10 20:57:43 -05:00
Marianne Gagnon
90f0c12393 More work on networking UI 2016-03-10 18:48:40 -05:00
Marianne Gagnon
35451515a2 Work on "Create server" screen to include more options 2016-03-09 19:47:45 -05:00
Marianne Gagnon
193aabe393 Remove weird unicode character from help GUI files 2016-03-09 19:47:21 -05:00
Marianne Gagnon
8ba337c343 Regenerate pot file, fixing transifex issue hopefully 2016-03-08 21:35:25 -05:00
hiker
edbdde4536 Replaced another soft-dash with a normal - (to avoid transifex complains). 2016-03-07 13:58:44 +11:00
hiker
c6cef53c99 Merge branch 'refactor-network-string' 2016-03-07 12:26:36 +11:00
hiker
68e394702b Merge branch 'refactor-network-string' of github.com:supertuxkart/stk-code into refactor-network-string 2016-03-07 12:20:43 +11:00
hiker
64993718b4 Replaced soft-dash with a normal - (to avoid transifex complains). 2016-03-07 12:15:20 +11:00
Marianne Gagnon
04999c35ee More work on networking UI 2016-03-06 20:01:40 -05:00
Marianne Gagnon
14c8ecddb5 Add waiting screen for networking 2016-03-01 18:58:51 -05:00
Benau
96a10ce92c Update strings 2016-02-29 10:59:42 +08:00
Benau
64522d9d13 Merge remote-tracking branch 'origin/master' into fix_replay 2016-02-17 14:03:58 +08:00
Marianne Gagnon
9c49312714 Work on networking GUI, combine older server interfaces with the newer online/profile screens 2016-02-16 18:33:09 -05:00
Benau
a6412d7a07 Add ghost icon, use it in race setup screen 2016-02-15 09:28:36 +08:00
Benau
8a121ed32b Add Ghost replay GUI 2016-02-13 01:34:00 +08:00
Benau
7765b43d42 Merge remote-tracking branch 'origin/master' into fix_replay 2016-02-11 13:45:16 +08:00