Commit Graph

3028 Commits

Author SHA1 Message Date
Benau
fc2e05c0a6 Use a trick to make skinned mesh shader branchless 2017-10-22 13:03:45 +08:00
Benau
7252a38da1 Fix skinning glitches possible in (some) cards 2017-10-22 02:17:37 +08:00
Benau
6a79d204c1 Don't use SSBO for skinning
It causes trouble in hd5670 in windows
2017-10-22 01:31:15 +08:00
Benau
e61eb3415a Remove hardcoded max 1024 bones for skinning 2017-10-20 17:10:08 +08:00
Benau
8a0232382a Some fixes for some shader compiler 2017-10-20 09:25:43 +08:00
Benau
553b2439ac Allow using SSBO for skinning if supported 2017-10-20 01:27:44 +08:00
Benau
0d96906d54 Use texture buffer (texture2d in gles) for skinning 2017-10-19 13:31:07 +08:00
Deve
1a9cf6a46f Set max texture size to 256 for Raspberry Pi 2017-10-18 21:13:23 +02:00
Deve
c3e772e863 Add different explosion effect for Android.
It gives much better performance while it still looks similar.
2017-10-17 23:34:19 +02:00
Benau
9f10676dd3 Remove unused billboard shader 2017-10-16 07:43:00 +08:00
Benau
4573e51e98 Fix #2427 2017-10-15 19:14:07 +08:00
Benau
058f9163db Some work to make particle shader able to render billboard
The lifetime in height map stimulation will always now < 1.0f
2017-10-15 13:57:01 +08:00
Benau
f646a26fbe Clean up particle .xml
Remove unsupported entries, notice that particles now are auto-
faded out by lifetime

Also remove flips that are not visible at all
2017-10-15 12:47:21 +08:00
Benau
c3a22ddcf7 Pre-generate some particles if max count is small 2017-10-14 14:42:24 +08:00
Benau
a0c9ba2b8c Pack mixed color into instanced array
With half-floats for lifetime and size for same stride
2017-10-14 12:33:08 +08:00
Benau
0b9a3e1c69 Fix some issues found in first-try 2017-10-14 09:47:13 +08:00
Benau
0066722dab Features completed cpu particle 2017-10-14 00:19:59 +08:00
Deve
63ecbefbdd I forgot about particles 2017-10-12 22:55:26 +02:00
Deve
6794670510 Disable srgb framebuffer for intel hd 2000 too 2017-10-11 20:53:49 +02:00
Benau
839142b752 Add up-to-date restriction for hd3000 in windows 2017-10-11 11:25:28 +08:00
Deve
ae4e302741 Add a way to run STK without srgb framebuffer 2017-10-09 21:18:15 +02:00
auria.mg
0453809915 Update credits 2017-10-08 19:56:13 -04:00
Benau
2217083421 Replace broken abyss replay with candela city 2017-10-08 11:16:25 +08:00
auria.mg
3ad081104e Re-extract strings for missing track, oops 2017-10-04 20:59:30 -04:00
auria.mg
7a63955a06 Minor challenge tweak 2017-10-04 18:56:43 -04:00
auria.mg
1c9e4bc04a Tweak hacienda easy challenge, see #2951 2017-10-04 18:50:27 -04:00
Deve
bc84559f1d Revert a hack for shadows.
It helps for horizontal surfaces, but makes vertical surfaces worse (for example rocks in cornfield crossing), so it's not really a solution.
2017-10-04 22:19:19 +02:00
auria.mg
0f790d4331 Update strings 2017-10-03 19:04:34 -04:00
Deve
27a79526b1 Allow to use particles heightmap simulation in GLES 2017-10-02 23:05:12 +02:00
Sam
c4726e767a Merge branch 'master' of https://github.com/supertuxkart/stk-code 2017-09-28 20:07:17 +02:00
Sam
e3bfa79d43 Now you must progress the story mode to unlock sara the wizard 2017-09-28 20:05:12 +02:00
auria.mg
4078863d1d Update achivements.xml, fixes #2940 2017-09-19 18:44:05 -04:00
Deve
70471a7266 Adjust explosion particle size to updated explosion image (removed transparent margins).
Causes minor performance improvement, but better than nothing.
2017-09-19 22:42:39 +02:00
auria.mg
32243e7eb3 Update the newlt-added icons with ones whose liense is known 2017-09-14 19:44:34 -04:00
auria.mg
1d2e882ffe Merge branch 'master' into master_fhach
# Conflicts:
#	src/guiengine/widgets/kart_stats_widget.cpp
2017-09-14 19:24:06 -04:00
deve
9681a9586f Update supertuxkart.pot 2017-09-13 06:20:20 +02:00
deve
6500cf716a Use better names in touch device settings 2017-09-13 06:18:07 +02:00
Deve
f96863c421 Add a possibility to totally disable particles.
Particles cause a crash on some radeon devices, so people can at least disable it to make the game working.
Also tfb causes quite big slowdown on slow devices even if there is no particles displayed, so it can give few more fps.
2017-09-08 00:33:46 +02:00
hiker
92aec928a1 Tweaked physics so that wheel raycasts happen from inside the collision shape
(fixes karts getting stuck at borders), use a longer less bevelled collision
shape better kart stability), and reduce angular factor to make it less
likely that karts can drive on walls.
2017-09-06 09:06:04 +10:00
Deve
6f11a1669f Make particles in GLES renderer to look a bit better.
Now kart exhaust is not too dark anymore.
2017-09-02 01:01:35 +02:00
deve
8c73b67309 Update supertuxkart.pot 2017-08-30 06:50:51 +02:00
auria.mg
6e30154fc3 Update strings 2017-08-29 19:48:32 -04:00
auria.mg
96c4e26ef3 Update strings 2017-08-28 19:36:34 -04:00
auria.mg
e852714466 Update challenges for new city track 2017-08-23 18:52:10 -04:00
Benau
850afc8620 Allow using animated texture with displace shader
Plus some clean-up
2017-08-23 00:55:25 +08:00
Deve
6a03f147f6 Add a possibility to use ubo on gles.
Disabled by default on android, because it's been tested on only one device and it's a bit slower in most cases.
2017-08-22 00:02:34 +02:00
Benau
ad369b88da Remove .b3d usage in stk-code 2017-08-21 16:02:06 +08:00
Benau
3031fabcf9 Add spm loader 2017-08-16 13:48:27 +08:00
Benau
cc8331f5cd Fix #2897 2017-08-09 15:03:37 +08:00
Benau
79c6705bb1 Fix #2814 2017-08-09 13:00:09 +08:00
Deve
bc6ff38b22 Simplify light factor when advanced lighting is disabled.
In this case only diffuseMatColor really matters, other values are constant.

It improves performance on GLES renderer and it's also noticeably faster for GL on desktop.
For example:
- fps increased for me from 60 to 69 on Hacienda with intel HD 4000
- from 43 to 49 on lighthouse

There is much less difference on nvidia graphics card, but still it gives small performance improvement.
2017-08-06 22:18:18 +02:00
Deve
a89b2f5df2 Minor tweak for linux icon.
On freedesktop specs they suggest to use 48x48 icon.
2017-07-30 12:56:25 +02:00
Deve
7d4fbb8d0c Minor modification in play tutorial text. Fixes #2535 2017-07-29 00:43:17 +02:00
scootergrisen
cb8e0d7b2a Add danish translation 2017-07-14 00:40:56 +02:00
Deve
d44802a482 Add a workaround for some qualcomm devices on android 4.4 2017-07-11 00:37:31 +02:00
Benau
8653d410f8 Option 1 for fixing android 4.4
Reinit vertex attribute pointer each time, performance may hurt
2017-07-09 00:46:42 +08:00
Deve
9fc1acc4c0 Allow to draw steering wheel on the right side 2017-07-05 21:21:33 +02:00
Deve
2cda14686d Simplify touch device settings 2017-07-05 20:43:57 +02:00
auria.mg
3fcf62a84a Add support for multiple crah sounds, update sfx credits 2017-04-17 20:42:20 -04:00
hiker
00bba293ad Merge remote-tracking branch 'origin/master' into physics-tweaks 2017-04-05 23:59:34 +10:00
Deve
af98b526d6 Give few more fps in GLES renderer by pre-computing diffuse/specular color 2017-03-28 22:15:33 +02:00
Deve
a7f0d3762c Some fixes for GLES renderer.
- Don't use BGRA format at all. It doesn't work with non-typical cases (i.e. with srgb or compressed textures) and also casues artifacts on some android devices. I kept the extension in central settings, but it probably won't be used.
- Use sRGB texture format when advanced lighting is enabled. This makes it closer to the original OpenGL renderer and also avoids to have even more #ifdef's for sRGB conversions.
- Keep RGBA textures for non-advanced lighting to make it simpler.

Now advanced lighting in GLES looks almost the same as in OpenGL 3.x (without shadows/GI)
2017-03-25 22:23:46 +01:00
hiker
6c35c08474 Increased suspensoin stiffness to offset the reduced impulse casued
by removing the '*f' factor (seee 9a5eec3761).
Otherwise the AI triggers rescue in sandtrack because of very frequent
chassis-track collisions.
2017-03-24 09:58:26 +11:00
hiker
f35b9c9480 Try setting kart (vs track specificially) friction to 0, and
reduce roll/pitch impact which should keep karts more parallel
to the ground.
2017-03-23 19:22:53 +11:00
hiker
b8655e53cc Added support to modify the angular factor of a kart. The angular
factor can be used to reduce the effect of an impulse for roll
and pitch - keeping karts more parallel to the ground.
2017-03-23 19:07:34 +11:00
hiker
f55c39b3b1 Support setting of friction for karts, moveable and track in stk_config.xml
and kart_characteristics.xml (for now no changed settings, all are at
tbe default of 0.5).
2017-03-22 19:52:03 +11:00
Benau
02c8c87d5d Remix all image quality options 2017-03-16 01:04:53 +08:00
Sam
97670ed23c Improved wind effect for vegetation 2017-03-12 21:35:48 +01:00
Deve
adfa8f30f9 Better fix for missing transparency in GLES legacy pipeline 2017-03-08 23:17:03 +01:00
Deve
11024569b0 More tweaks to GLES legacy pipeline 2017-03-02 22:19:10 +01:00
deve
82e724c12e One more fix for GLES legacy pipeline 2017-02-27 06:41:26 +01:00
Deve
40fe3585bb One more fix for legacy pipeline in GLES renderer.
It looks that the second texture is not used at all and it may cause a crash, so just disable it.
2017-02-27 00:58:43 +01:00
auria.mg
5d342a2dab Fix all tracks achivement following the replacement of the farm track 2017-02-25 20:56:17 -05:00
auria.mg
5b85d36dfa Tweak a few challenges in easy mode following feedback 2017-02-24 20:06:29 -05:00
Deve
ef2cba0f85 Display multitouch settings properly on low resolutions 2017-02-20 21:56:33 +01:00
Arthur-D
70511c5348 Lower terrain-impulse. It should keep its intended function of avoiding getting stuck when driving perpendicular to walls, but should be less forceful and look less artificial as a result. 2017-02-17 23:13:39 +01:00
Deve
40e326bb41 Avoid using fixed pipeline on newer intel graphics cards.
The force legacy device graphics restriction is needed for ironlake graphics cards. But newer generations in pentium/celeron processors also are named just "Intel(R) HD Graphics" without any number.

The newest drivers for ironlake graphics card is 8.15 and it's unlikely that it will get an update. So assume that all drivers older than 9.x are ironlake generation or that are too old to run STK anyway.
2017-02-17 21:23:22 +01:00
Deve
5cdcf39583 Add intel HD2000 to graphics restrictions.
It's just slower HD3000 version, so disable the same features for it.
2017-02-17 19:50:50 +01:00
Deve
ab8a68f295 Enable HD textures on newer intel graphics cards.
It should work fine for intel HD4000 and newer, especially after recent memory management improvements in STK.
2017-02-17 19:44:28 +01:00
Benau
269b1b5cb9 Add restriction for intel hd4600 on windows about compute shader
Fix #1916
2017-02-17 13:52:50 +08:00
auria.mg
f181acea3d Add Jymis to credits 2017-02-15 18:38:56 -05:00
Benau
c635e8d1c4 Get rid of some srgb conversion in shader, see #2787 2017-02-13 10:06:35 +08:00
Deve
68a99fd38b Fixed sRGB for GLES renderer.
It's a bit ugly solution because we should handle it properly in one place and not add another sRGB correction... But it's already working solution and it doesn't affect the OpenGL renderer, so we can use it until better fix will be done.
Now the GLES renderer looks almost the same as the original OpenGL 3.x one :)
2017-02-11 23:56:44 +01:00
Deve
3794e0bbbe Use slightly lower rate for explosion effect.
It causes fps drop on slow devices when explosion occurs near the camera and everything is white for a while.
2017-02-11 14:30:08 +01:00
Deve
a877cb848f Added better icons for touch steering.
Thanks to jymis!
2017-02-11 00:51:22 +01:00
Alayan-stk-2
0293dabfd3 New GP point system (#2765)
* Change grand-prix node for the new GP point system

* New GP point system

* Typo fix
2017-02-07 19:31:53 -05:00
Deve
5df2531a65 Added a hack that removes ugly lines when shadows are enabled.
Mathematically it's not 100% correct, but it looks much better.
2017-02-07 21:48:50 +01:00
Deve
4852664143 Allow to use accelerometer for turning left/right.
It should be much more comfortable on small devices.
Though it's not possible to get default screen orientation (and real device orientation) using NDK functions, so at this stage user has to manually choose if he needs "tablet" or "phone" accelerometer.
2017-02-07 13:48:08 +01:00
Alayan-stk-2
8858d4d86f Parachute improvements (#2768)
* Change grand-prix node for the new GP point system

* New GP point system

* Add parachute characteristics for rank and speed time multipliers

* Add new parachute characteristics

* typo fix

* Add rank and speed parachutes characteristics

* Add rank and speed parachute characteristics

* Add rank and speed parachute characteristics

* Add rank and speed parachute characteristics

* Add rank and speed parachute characteristics

* Add logic for parachute time scaling according to rank

* Add logic for parachute time scaling according to speed

* Separate GP and parachute branches

* Separate GP and parachute branches
2017-02-05 18:54:32 -05:00
Deve
28d85d7ba3 Use explicit attrib location when the extension is available.
It allows to enable it easily in GLES renderer. And we check if this extension is available anyway because it's needed for shadows, so we can use it for other shaders too.
2017-02-01 21:58:10 +01:00
Deve
49a77a8f48 Add a possibility to disable touch steering in options.
It may be useful if someone wants to play with external keyboard.
The multitouch_mode parameter will be also used to choose between steering with buttons and using accelerometer.
2017-01-25 21:50:11 +01:00
Arthur-D
925d756454 Adding some replays from Kitoko, thanks! Also removing a few so as to keep a low number of replays, and renamed easy replay files to novice. 2017-01-23 23:44:34 +01:00
samuncle
d935f0318c The exhaust is tweaked a bit 2017-01-23 00:27:31 -05:00
samuncle
9e1afc89ee Add a permanant exhaust to the kart, tweaking needed 2017-01-22 23:20:07 -05:00
samuncle
50f3c224b3 change the name to development more accurate 2017-01-22 22:14:19 -05:00
samuncle
d600720830 Add a new category of production babies 2017-01-22 22:09:56 -05:00
samuncle
e86e146442 Add emit map to a shader, so cars in candela are like small dots 2017-01-20 00:06:35 -05:00
samuncle
b9dd867c86 Use gamma corrected decal 2017-01-14 09:41:29 -05:00
auria.mg
6e2a11abd1 Update GPs and challenges for the new farm track replacement 2017-01-13 20:06:41 -05:00
James Cowgill
4aae66a050 Convert CREDITS to UTF-8 (#2723)
* Convert CREDITS to UTF-8

* Remove trailing whitespace in CREDITS

* Read CREDITS file as utf-8

* Make CREDITS file non-executable
2017-01-07 18:56:15 -05:00