Benau
4025883243
Use sampleTextureLayer in shader files
2018-01-22 10:43:22 +08:00
Benau
390554eca1
Add xml shader and the loader
2018-01-21 13:19:00 +08:00
Deve
2516de8231
Disable npot textures on android emulator
2018-01-16 23:06:27 +01:00
Sam
6abd79dde6
Add the world position in default information avaliable to shaders
2018-01-14 10:39:16 +01:00
Benau
59045cd064
Merge remote-tracking branch 'origin/master'
2018-01-13 15:44:57 +08:00
Benau
24308ced03
Remove features in SP that give no performance boost at all
...
gl_Layer in vertex shader, bindless and array textures
2018-01-13 14:49:33 +08:00
Benau
503455d02f
Simplify instruction
2018-01-13 13:48:51 +08:00
Benau
c4f589fee7
Use the low quality for libsquish again
2018-01-13 11:55:57 +08:00
Benau
bb0cf72635
Add required code and color selector for rainbow karts
2018-01-13 00:38:46 +08:00
Benau
68e8da2353
Remove all unused shaders
2018-01-12 19:10:55 +08:00
Benau
b1f1afb9c5
Use SSE2 in windows build for faster libsquish
2018-01-12 17:47:18 +08:00
Benau
9ccb34c2a1
Adjust graphics presets for SP
2018-01-12 12:03:31 +08:00
Qwerty Chouskie
6aefa2542b
Reduce number of places version number needs to be changed on release
2018-01-11 08:56:23 -08:00
Benau
54c7914cb5
Update graphical restrictions
...
Mesa 17.4 will use the correct normalization forumla
Disable GLSL on intel HD2000 / HD3000 due to broken opengl 3.3 support
2018-01-08 15:55:28 +08:00
Benau
76788d7dd8
Fix GLES
2018-01-07 15:44:57 +08:00
Benau
5293a0dbef
Add b3d loader for SP
2018-01-06 12:07:22 +08:00
Benau
e1c7efd68c
Add sam's formula for pbr
2018-01-05 16:45:33 +08:00
hiker
28bc8c8e8f
Merge branch 'master' of github.com:supertuxkart/stk-code
2018-01-01 00:36:24 +11:00
Benau
cce8abe6f3
Port billboard text
2017-12-30 15:28:04 +08:00
Benau
d71ea71e35
Remove some ifdef
2017-12-29 18:10:51 +08:00
Benau
711fb8211a
Add samuncle way to sample texture slot
2017-12-29 15:39:22 +08:00
Benau
f040be710e
Fix normal visualizer
2017-12-29 00:52:29 +08:00
Benau
62e0effed6
Rename input variables
2017-12-27 12:31:21 +08:00
Benau
dbc3cd5ff5
Normalize in shader for broken drivers
2017-12-27 11:33:30 +08:00
Benau
891b053358
Add more functions to normal visualizer
2017-12-27 01:33:21 +08:00
Benau
ce45605c18
Use half float for texture matrix
2017-12-26 15:28:01 +08:00
Benau
daf1294e6f
Add minimap and adjust unlit shader for it
2017-12-26 14:34:34 +08:00
Benau
7797115867
Add SP for correct normal and easier shader system
2017-12-25 14:00:10 +08:00
hiker
4d02e736f7
Started to add smoothing of errors - atm only for position, not angle.
2017-12-18 23:13:59 +11:00
hiker
825deed8dd
Merge remote-tracking branch 'origin/master' into game_protocol
...
Fixed various conflicts.
2017-12-09 00:56:30 +11:00
auria.mg
d92476ae70
First implementation prototype of the new netwoking UI, as discussed.
2017-11-25 18:51:49 -05:00
hiker
b08e2f56e1
Make the number of state updated the server sends configurable.
2017-11-24 18:33:26 +11:00
hiker
f38f30a75c
Merge branch 'master' into game_protocol
2017-11-15 08:12:38 +11:00
hiker
f783be4d75
Updates translations with 0.9.3 version from transifex (no author credits updated).
2017-11-15 08:11:51 +11:00
hiker
84ccf82173
Updated script to handle existing entries without duplicating authors
...
(or even worse msgids for translator credits).
2017-11-14 17:55:07 +11:00
hiker
4fced331fe
Merge remote-tracking branch 'origin/master' into game_protocol
2017-11-10 16:08:03 +11:00
hiker
54b32ba6b1
Merge branch 'master' into game_protocol
2017-11-05 13:03:15 +11:00
Urtzi Odriozola
80efc29e69
All languages capitalized
...
In order to keep a correct order in a language selection menu, the language names need to be capitalized
2017-11-03 14:00:34 +01:00
Urtzi Odriozola
cb4ef7a68d
Update localized_name.txt
2017-11-03 09:32:52 +01:00
Deve
bcb452f76b
Add missing languages to tinygettext
2017-11-02 22:17:57 +01:00
Deve
719f3039b3
Remove invalid empty translations.
...
They are not available on transifex. Norwegian is nb and nn. Chinese is zh_TW and zh_CN.
2017-11-02 21:30:52 +01:00
auria.mg
2cc160d7cc
Tweak challenge that was too difficult. See #2997
2017-10-31 19:07:26 -04:00
Deve
f7886a31bf
Better fix for shadow acne
2017-10-29 20:26:46 +01:00
hiker
207e8cd475
Updaetd translator credits.
2017-10-27 10:52:48 +11:00
hiker
e95657b2f4
Updated credits to include all doncators and other contributors.
2017-10-26 10:21:32 +11:00
Benau
6cfe16a320
Add Karelian localized name
2017-10-25 00:24:56 +08:00
hiker
530bfce849
Updated translations.
2017-10-25 00:32:54 +11:00
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
hiker
28890aad33
Merge branch 'master' into game_protocol
...
Some minor changes to make code easier to read.
2017-08-09 09:50:46 +10: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
hiker
ea3f9f8945
Merge branch 'master' into game_protocol
2017-07-24 21:12:36 +10: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
hiker
3747427c5f
ixed handling of adding states to time step info to minimise
...
rewindw by assigning new events to existing time step info events.
2017-06-05 08:54:52 +10: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