Benau
d527c0eee2
Use icon to identify server owner, online and offline players
...
Also hide the friend request button for offline players
2018-03-12 11:28:13 +08:00
hiker
8cf885652f
Merge remote-tracking branch 'origin/master' into game_protocol
2018-03-08 09:51:00 +11:00
hiker
fa624c90e1
Merge remote-tracking branch 'origin/master' into fix-timestep
2018-03-08 09:50:14 +11:00
Benau
1dc7f3aa4e
Move port configuration to user and stk config
2018-03-06 15:38:51 +08:00
Deve
8f78d4e891
Add a popup on first run on android, so that user can choose if accelerometer should be enabled
2018-03-04 00:08:24 +01:00
Benau
43cf29af86
Merge remote-tracking branch 'origin/network_improvements'
2018-03-02 17:39:16 +08:00
Deve
a00c1cadc8
Simplify accelerometer selection in settings
2018-02-28 22:01:30 +01:00
samuncle
7db4ef8056
Add a shader to use the day/night cycle for lamps, etc
2018-02-27 23:38:28 +01:00
Benau
d8007c4518
Update server for new xml code
...
And initial work for starting a complete stk server
2018-02-26 14:23:34 +08:00
Benau
571a524f59
Update lobby for new gui engine code
2018-02-25 13:31:45 +08:00
Benau
34caab24fe
Update networking lobbdy for better display info
2018-02-25 02:09:07 +08:00
hiker
208c5eb6d8
Merge remote-tracking branch 'origin/master' into fix-timestep
2018-02-21 08:35:58 +11:00
Benau
3223d05c6c
Merge remote-tracking branch 'origin/master' into network_improvements
2018-02-20 00:14:29 +08:00
auria.mg
e26239e364
Improve the input sensing text to be a bit clearer
2018-02-13 20:35:07 -05:00
auria.mg
196b5a2bbe
Minor ajustments to kart color screen, make kart slightly bigger, make XML cleaner
2018-02-12 20:22:35 -05:00
auria.mg
2830dabfc1
Improve kart color selection screen, fixes #3122
2018-02-12 20:08:51 -05:00
Qwerty Chouskie
8a51cae73d
Final(?) tweak
2018-02-11 19:16:23 -08:00
Qwerty Chouskie
835d4ccc63
Update skidding effect
...
Also fix nitro when skiddding
2018-02-11 19:01:42 -08:00
hiker
4d03fbd1fb
Made the physics time step size configurable in the config file.
2018-02-12 08:23:06 +11:00
hiker
37d81be033
Made the physics time step size configurable in the config file.
2018-02-10 17:55:45 +11:00
Benau
9a5ce54c4f
Merge remote-tracking branch 'origin/master' into game_protocol
2018-02-09 00:53:02 +08:00
Benau
0e5b7b532c
Further boost stk by writing 1 less framebuffer attachment
...
Now we can get determine the background color by depth, so
the alpha tricks in diffuse color fbo is not necessary
And using rgba8 to pack normal doesn't seem to cause visual glitches.
2018-02-07 12:49:45 +08:00
samuncle
704fe3e32a
Fix a bug in the emissive contribution. Now there is a bigger range of value for bloom
2018-02-06 23:15:21 +01:00
Ben Krajancic
0f3518e71b
Unlimited Split-Screen ( #3104 )
...
* Initial SplitScreen
All are upside down and player 1, 5 player does 6 even...
* Working version of splitscreen
* black screen fix
* te fix
* Update race_gui.cpp
* Change item
* wrong way fix and refactorings
* Fix icon scale, cleaning code for lap count
* Remove tabs
* Add settings option
* Fix FOV
Right now the FOV gradually decreases when going from 1,2,3,4 players. Then after 4 players it wont drop any lower. This behaviour can easily be replaced in the future
* Prevent overflow
* Unlimited splitscreen
* Space out duplicate skins across additional players
* Update stk_config.cpp
* Update irr_driver.cpp
* Update options_screen_ui.cpp
* Update irr_driver.cpp
* Update options_screen_ui.cpp
* Update race_gui.cpp
* Update irr_driver.cpp
* Fix for empty pixels at edges
* Fix referring to template not int
* Fix compile errors
* Progress towards fixing selection screen
* Begin process for selections
* Fix selection screen for >4 people
Important GUI changes included
* Disable changing rows/cols ingame
* fix sp related crash
* Styling fixes
2018-02-05 20:01:32 -05:00
Benau
ac8294abdb
Clean up debug visualization
...
Allow toggle (triangle) normal / (bi)tangent / wireframe separately
2018-02-03 13:14:15 +08:00
Benau
a2052b77b9
Remove unneeded flat out
...
We can share the same uniform name, esp flat out is not working
for my adreno 306 in android 5.0
2018-02-03 00:21:59 +08:00
Benau
e3483fccbe
Unroll the skinned mesh shader for loop
...
This give some fps improvement for adreno 306 in android 5.0
2018-02-02 21:59:13 +08:00
Benau
e4c827176a
Remove flat for hue_change
...
It causes bad rendering in adreno 306 in android 5.0
2018-02-02 21:17:24 +08:00
Benau
e06fabde96
Clean up alpha test and unlit shader
...
Remove 1 wrong line in alpha test shader
2018-02-01 11:26:58 +08:00
Benau
154ad8d0db
Fix skybox blending with light scatter
2018-01-31 01:31:12 +08:00
Benau
9e57bfb73f
Split point light scatter so it can be combined together
2018-01-30 13:42:50 +08:00
Magne Djupvik
748a65c013
Made Old Mine Expert challenge a bit more challenging.
2018-01-29 18:51:43 +01:00
Magne Djupvik
b5d2ce4850
Added back 5 seconds to challenges after feedback.
2018-01-29 16:52:18 +01:00
Qwerty Chouskie
89a8219ec9
Tweak particle emission rate
...
The boost-specific rate was never really noticeable anyways.
2018-01-28 13:36:45 -08:00
Magne Djupvik
ad2665c641
Made Northern Resort and Blackhill Mansion Expert challenges more difficult.
2018-01-28 15:17:27 +01:00
Benau
11f9b74e13
Don't use out variable in vertex shader
2018-01-28 15:28:20 +08:00
Qwerty Chouskie
d4aa7b69ad
New skidding particle effect (and a small fix for the SFX)
...
The textures are here:
https://jacobspctuneup.tk/STK/skid-particle1.png
https://jacobspctuneup.tk/STK/skid-particle2.png
2018-01-26 14:41:41 -08:00
Sam
c4b42c1852
Add layer of abstraction to output pbrData
2018-01-26 20:16:16 +01:00
Sam
e75f1cb799
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-01-26 10:52:23 +01:00
Benau
97fd634ed8
Allow auto-add usable uniforms to shader
2018-01-26 16:02:31 +08:00
Benau
ff38cb6423
Clean up advanced pipeline off code
...
Don't use RTT at all in game when it's off
2018-01-25 15:36:34 +08:00
Sam
37a6f464b9
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-01-24 21:51:11 +01:00
Benau
6bcee60a1c
Merge remote-tracking branch 'origin/master' into game_protocol
2018-01-24 10:20:06 +08:00
Deve
94c3efa8d3
Force legacy device for sandy bridge generation celeron graphics cards
2018-01-23 22:40:42 +01:00
Benau
e5cdf3a086
Remove all unneed gamma correction when advanced pipeline off
...
Except for the colorization stuff
2018-01-23 01:16:45 +08:00
Benau
86393ba0a9
Use alphatest as a fallback shader for unlit
...
Adjust graph shader when advanced pipeline off, and no srgb prefilled
texture when advanced pipeline off
2018-01-22 13:27:21 +08:00
Benau
45957af6f8
Remove !sRGB in shader which is always true now
...
Also don't use tonemap in RTT
2018-01-22 12:54:39 +08:00
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
Benau
1f8e047164
Update credits about new Hexley
2017-01-04 00:49:31 +08:00
Deve
6a16f23132
Fixed GLES
2016-12-31 03:41:37 +01:00
auria.mg
09e1e6d7a3
Update achivement with new track name. Fixes #2712
2016-12-30 17:05:30 -05:00
Deve
278ef781bf
GLES: Make sure that we are using fixed pipeline when force legacy device is set in graphics restrictions.
...
It is generally safe for GLES drivers. The driver often reports OpenGL ES 3.1 or 3.0 support even though we request only GLES 2.0. But we can still use GLES 2.0 / GLSL 1.0 functions on GLES 3.x context, so it shouldn't cause any issues.
I also added Android Emulator to graphics restrictions.
2016-12-29 16:01:46 +01:00
samuncle
b669382b93
Change the detail map to a more usefull decal shader. Now we can add easily details to texture
2016-12-28 10:23:07 -05:00
Benau
7085c164b5
Merge remote-tracking branch 'origin/geometry_detail'
2016-12-26 23:56:18 +08:00
Benau
ebef08c3d8
Try to combine all text field dialogs
2016-12-26 10:53:14 +08:00
Benau
3c9174d278
Add a general debug dialog
...
To be used later
2016-12-25 16:41:55 +08:00
samuncle
e62edcc89a
Ground work for geometry detail option
2016-12-24 19:16:39 -05:00
Deve
424b62552e
Fixed MLAA in GLES renderer.
...
This function was used by Cand for his OpenGL 2.1 renderer. The round function is available since GLSL 1.3 (OpenGL 3.0), so there is no need to override it.
If it will be needed in future, I suggest to change the name to round_stk or something similar.
2016-12-23 15:12:16 +01:00
Benau
15d6c7207a
Minor improvements for non-instanced shaders
2016-12-23 19:22:30 +08:00
Benau
d932451295
Don't out a interpolated color change
...
It will should be determined by colorization mask in fragment shader
2016-12-23 11:38:32 +08:00
Benau
f7e2122b79
Allow drawing instanced glow color without explicit location
2016-12-23 10:36:35 +08:00
Benau
a339975df6
Clean skidmark earlier if there are many karts
2016-12-23 10:08:12 +08:00
Benau
8008ec851e
Allow to use hardware skinning with opengl 3.1
...
Now we only need UBO to store the joint matrices to support it
2016-12-23 01:31:13 +08:00
Benau
ffa4ad84cb
Merge branch 'hardware_skinning'
2016-12-22 10:38:06 +08:00
Deve
082661db65
Add a possibility to change touch device settings in GUI
2016-12-20 23:10:57 +01:00
Benau
4f2e2331ee
Correct the spelling of shader files
2016-12-18 14:59:37 +08:00
Benau
752d847b09
Add the remaining shaders for GL3 hardware skinning
...
Also use the same shader code for normal map shader
2016-12-15 15:55:14 +08:00
Benau
a696fd6dff
Add transparent skinned mesh shader
2016-12-15 09:52:02 +08:00
Benau
85bd8c3146
Add unlit and normal map skinned mesh shader
...
Also fix normal map with skinned mesh, now vertices and joints
will be recalculated for tangents mesh
2016-12-14 16:28:37 +08:00
Benau
e9b68a8a1f
Use a non-hardcoded values for mat4 array (max 1024)
...
Also cull mesh that doesn't have enough space to be rendered
2016-12-11 15:50:53 +08:00
Benau
8ca0c54bdc
Merge remote-tracking branch 'origin/master' into hardware_skinning
2016-12-10 10:09:30 +08:00
samuncle
ae0b1136f5
better shader for underwater vegetation
2016-12-09 11:38:56 -05:00
Benau
c68492f42b
Use a for loop for four bones (thanks leyyin suggestion!)
2016-12-09 23:21:41 +08:00
Benau
94f6d09bf5
Allow indirect and azdo shadow rendering for skinned mesh
2016-12-09 22:37:17 +08:00
Benau
76e070b709
Allow GL3 to have hardware skinning
2016-12-09 18:41:13 +08:00
Benau
b7e047b4c1
Avoid using else if in skinning vertex shader
2016-12-09 14:16:30 +08:00
Benau
57d9e83ed4
First version of hardware skinning
...
Todo: shadow, non-instanced shaders, culling, changeable offset...
2016-12-07 02:15:11 +08:00
Benau
ed43d16a1c
Allow alpha test shader to be colorizable
2016-12-04 13:21:39 +08:00
Benau
7d5f786da8
Make grass shader colorizable
2016-12-04 00:59:09 +08:00
Benau
4261a96d06
Fix inconsistency between grass shader and the instanced version
...
1. Assign the missing depth stencil texture (dtex)
2. Correct the movement and color
2016-12-03 15:54:59 +08:00
Benau
acf0ac909f
And a correct ifdef for bindless texture
2016-11-30 15:00:08 +08:00
Benau
9e8fb63dc4
Fix AZDO with colorization
...
Also re-arrange texture layer
2016-11-30 13:52:06 +08:00
Benau
5884d7b9d8
Avoid using matrix4 calculation
2016-11-28 15:44:14 +08:00
Benau
45c5b0ffd6
Improved colorization in instanced rendering
2016-11-28 13:08:27 +08:00
Benau
decf3b9715
4 bindless textures + texture translation + colorization in vao
2016-11-28 10:47:14 +08:00
Benau
60908c3e1d
Try to use vec2 for texture translation only
...
In stk, only setTextureTranslate is used which modify 8,9 of
matrix array. Also don't update it when it is identity.
2016-11-28 10:41:27 +08:00
Deve
7e4dfdb97e
Remove version from graphics restrictions for sRGB-capable visual workaround.
...
It doesn't look that they're going to fix it soon.
2016-11-11 16:22:31 +01:00
Benau
8b069df97f
Merge remote-tracking branch 'origin/renderer_refactoring'
2016-11-11 08:43:42 +08:00
LoadingPleaseWait
578a3732c0
Add help page with icons for banana penalties
2016-11-04 22:16:06 -05:00
Benau
2f0252be98
Merge remote-tracking branch 'origin/master' into renderer_refactoring
2016-10-28 21:41:49 +08:00
Benau
24f926b780
Merge remote-tracking branch 'origin/spare_tire_kart'
2016-10-18 14:32:44 +08:00
deve
5502fa4ebe
Declare custom alpha also when bindless sampler is enabled
2016-10-17 08:23:27 +02:00
Benau
af223ddf24
Try to use sun color to determine custom alpha for ghost karts
...
This may need more adjustments, also add custom_alpha uniform float
to transparent fragment shader to remove duplicated shader
2016-10-17 01:03:10 +08:00
Benau
23a1b08efe
Allow normal map karts to be used in ghost race
...
Also split ghost karts out of additive shader, so fixed issues like
"drivers are facing backwards", "water in abyss affects ghost karts"
Todo: maybe transparency depend on current track color?
2016-10-16 15:40:40 +08:00
Legimet
ee17928382
Fix credits for Boom-boom-boom song
2016-10-08 12:07:39 -04:00
Benau
71359a087d
Add heart billboard with red kart for spare tire karts
2016-10-08 14:29:28 +08:00
hiker
ec3dd221a2
Merge branch 'doc' of https://github.com/konstin/stk-code into konstin-doc
2016-09-21 09:12:32 +10:00
fHachenberg
a82f36d61d
Fixes issue #2065
...
Changes applied:
*symbol files added
*LabelWidget removed from SkillLevelWidget and replaced by IconButtonWidget
Subsequently variables and method containing Label or Text renamed
setSize method was rewritten
*Unused property "m_label_name" removed from SkillLevelWidget
*Substitution label->icon also introduced renamings in KartStatsWidget.
For instance, setDisplayText is now named setDisplayIcons
2016-09-20 14:01:02 +02:00
Deve
852cc068d3
Restore SSAO on linux with GLES renderer.
2016-09-17 03:55:50 +02:00
Deve
d05cff09c8
Add a graphics restriction for BGRA format on android.
...
It causes issues with particles transparency.
2016-09-17 03:55:50 +02:00
auria.mg
6a94d12a11
Update credits
2016-09-15 20:05:06 -04:00
auria.mg
f2bf4eb549
Add new soccer ball icons
2016-09-15 20:00:00 -04:00
Deve
3a9b2b9872
Fixed advanced lighting on android
2016-09-12 21:43:31 +02:00
deve
6c9050f47a
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2016-08-26 10:36:09 +02:00
deve
5abc047b0c
Declare precision also in vertex shaders in GLES renderer.
...
Some drivers complain that it was declared only in fragment shaders.
2016-08-26 10:35:48 +02:00
auria.mg
061323ffb0
Add information for translators
2016-08-23 20:01:06 -04:00
auria.mg
a07a8b6516
Fix XML files and regenerate strings
2016-08-23 19:53:41 -04:00
Aapo Rantalainen
38e5799167
Four help?.stkgui -files were treated as binary by git ( #2612 )
2016-08-23 19:36:16 -04:00
konstin
138daf57a4
Move credits file back
2016-08-23 11:07:13 +02:00
konstin
4ce6fb04ea
Remove unused documentation and tool files
2016-08-23 01:58:53 +02:00
Deve
d5fe015ba7
Fixed typo in previous commit.
2016-08-20 08:35:08 +02:00
Deve
a001505abd
Set ForceLegacyDevice for intel ironlake and for old radeon drivers.
...
This hopefully will allow to run STK with these graphics cards and drivers.
2016-08-20 08:13:17 +02:00
Alpt
67e94e73ce
In the addons screen, show a tip to remember that the Internet connection is disabled. (Issue #1763 ). ( #2605 )
2016-08-19 18:28:59 -04:00
Elderme
41cd1e0364
merged with master
2016-08-18 22:36:19 +02:00
Michael Murphey
d213bef9db
Place buttons in confirm dialog horizontally ( #2573 )
...
* Place buttons in confirm dialog horizontally closes #2548
* Use RibbonWidget for MessageDialog
* Use buttonbar for confirm dialog
2016-08-16 19:08:45 -04:00
Deve
bd6ad544cc
Fixed bloom with scale_rtts_factor parameter.
2016-08-15 08:46:02 +02:00
Benau
2d95df1722
Update appdata file to latest standard
2016-08-12 00:48:57 +08:00
MTres19
8e8433f08c
Credit where credit is due ( #2593 )
...
* Give GeekPenguinBR and TuxKartDriver credit
* Give credit to samuncle and konstin
2016-08-05 19:12:52 -04:00
auria.mg
ea939459e8
Improve string as suggested on transifex
2016-07-30 21:51:31 -04:00
Elderme
a21d7b4b71
Merge branch 'master' into renderer_refactoring
2016-07-26 22:16:48 +02:00
Elderme
cd1b9a66a0
Merged master in branch
2016-07-26 21:31:52 +02:00
qwertychouskie
9cbf8a0641
Update link
2016-07-23 14:16:09 -07:00
Benau
744a4705b6
Auto embolden glyph of bold face, without fallback font
2016-07-21 12:26:19 +08:00
Benau
a72f67015c
Remove 36MB CJK fonts, use the previous font instead
2016-07-20 09:49:10 +08:00
Benau
89f06ed8d3
Fix crash with fixed pipeline
2016-07-18 23:56:14 +08:00
Benau
05419cd555
Initial work on new font rendering engine
2016-07-18 16:03:11 +08:00
Benau
8408a7c158
Merge remote-tracking branch 'origin/master' into colorful_track_object
2016-07-15 09:27:59 +08:00
Deve
93fc20e275
Merge OpenGL ES renderer branch
...
It adds support for OpenGL ES renderer, which is needed for Android port and for running STK on other embedded devices such as Raspberry Pi.
Currently it works in two ways:
- Shader-based pipeline, which requires OpenGL ES 3.0 (Android >= 4.3)
- Fallback to irrlicht-based fixed pipeline that needs OpenGL ES 2.0. The fixed pipeline generally works, but it is affected by the same issues as our OpenGL 2.1 fixed pipeline renderer.
I tried to modify our OpenGL renderer as little as possible to avoid regressions. The only one major change is that we are now using the "#stk_include" directive in shaders instead of linking multiple shaders into one program.
Currently it works only on linux. The Android port needs some refactoring. In theory it should be possible to make it working on Windows, but we would need some OpenGL ES SDK, or maybe modified libglew.
At this stage it is playable with current mesa drivers. I tested it on intel graphics card and I didn't notice any issues.
On Android only the OpenGL ES 2.0 renderer with fixed pipeline has been tested for now.
2016-07-14 20:54:30 +02:00
Benau
53374176ad
First try to support colorization texture mask
2016-07-15 00:53:22 +08:00
Deve
886382bb54
Merge remote-tracking branch 'origin/master' into gles
2016-07-11 23:43:10 +02:00
Deve
0f7976e5f8
Merge branch 'master' into gles
2016-07-11 23:23:02 +02:00
Benau
19acdad9b4
Replace Ubuntu font with a really free font
2016-07-11 15:52:16 +08:00
Deve
f1effe3208
Revert "Fixed a grass being too dark in some places."
...
This reverts commit 2b734a9579
.
2016-07-09 02:20:06 +02:00
Deve
2b734a9579
Fixed a grass being too dark in some places.
...
It seems to be an inconsistency in using sRGB rendering.
2016-07-07 01:52:22 +02:00
Deve
04d3bfb9a1
Restore previous version of object pass shader.
...
This one doesn't have sense at all. We should make sure that uniforms are always initialized in c++ code.
2016-07-05 01:10:53 +02:00
Deve
9ceab23c5f
Apply ssao fix from master
2016-06-30 00:50:33 +02:00
Deve
0fb119068b
Fixes in more shaders
2016-06-28 21:55:51 +02:00
Benau
22e5c0909c
Allow setting color without copying the mesh
2016-06-28 14:55:48 +08:00
Deve
bf54626815
Added missing file
2016-06-27 23:06:48 +02:00
deve
964baad705
Some fixes
2016-06-27 13:39:20 +02:00
deve
d5e30ee41e
Port also other shaders to use #stk_include
2016-06-27 13:11:27 +02:00
Benau
892bc490f7
Make shaders run as efficient as possible
2016-06-27 13:49:27 +08:00
Deve
f679078e75
Port some basic shaders to use #stk_include.
...
Already working race with disabled advanced lighting :)
2016-06-26 16:39:34 +02:00
Benau
8bae12e080
Fix potential warning
2016-06-26 15:52:47 +08:00
Benau
b467d0819d
Add a missed shader
2016-06-26 07:16:07 +08:00
Benau
416050a923
Use a more simple way to render red/blue karts
2016-06-26 07:14:11 +08:00
Deve
ce8a1c4e1b
Already working GUI in shader-based pipeline
2016-06-25 15:10:53 +02:00
Elderme
80713ec019
Fixed glow color issue when GL_ARB_draw_indirect extension is not available
2016-06-25 14:55:51 +02:00
Benau
7e806fe86f
Merge remote-tracking branch 'origin/master' into render_kart_driver_differently
2016-06-25 16:31:08 +08:00
Benau
2f217fd55b
Allow render red or blue karts in soccer mode using shader
2016-06-25 16:29:54 +08:00
Deve
d13716a917
Initial linux version.
...
Currently works only with irrlicht-based renderer because shaders are not ported yet.
2016-06-24 02:47:13 +02:00