Igor Gnatenko
aec7ca0ce9
libs: update angelscript to 2.32.0
...
Fixes: https://github.com/supertuxkart/stk-code/issues/2528
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2018-01-26 21:19:01 +01:00
Sam
f5a0e6477e
put the correct convention
2018-01-26 11:10:16 +01:00
Sam
e75f1cb799
Merge branch 'master' of https://github.com/supertuxkart/stk-code
2018-01-26 10:52:23 +01:00
Sam
a1c9ad107f
Add the possibility to disable an object for shadow pass
2018-01-26 10:51:42 +01:00
Benau
a10b62b894
Use SPTextureManager to get displace.png
...
This will allow using texture compression for it
2018-01-26 16:02:51 +08:00
Benau
97fd634ed8
Allow auto-add usable uniforms to shader
2018-01-26 16:02:31 +08:00
Benau
9e2d649b55
Warn for failed shader compile or link in GUI when artist debug mode
2018-01-26 16:02:00 +08:00
Deve
74af810d50
Fixed compilation error.
...
It was failing with "'this' was not captured for this lambda function"
2018-01-25 21:43:19 +01:00
Benau
9041649a39
Don't check for reference counting in shader mananger
...
It will not be 1 if there are fallback shaders
2018-01-25 15:51:28 +08:00
Benau
297c66bf04
Remove unused cpp and hpp files
2018-01-25 15:41:30 +08:00
Benau
2448b10cd4
Fix correct spelling of deferred
2018-01-25 15:38:10 +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
Benau
5b4be274fb
Some more fallback for legacy pipeline
2018-01-25 01:51:10 +08:00
Benau
6bcee60a1c
Merge remote-tracking branch 'origin/master' into game_protocol
2018-01-24 10:20:06 +08:00
hiker
ecbb1db2c9
Flush buffer in case of a disconnect, which allows the server to use
...
buffered logging, which will be written when the client disappears.
2018-01-24 08:39:10 +11:00
Benau
d8511956f5
Only warn for possible undeleted opengl stuff when debug build
...
Happens when you press close button in stk window.
2018-01-23 16:18:48 +08:00
Benau
9ecf952057
Don't add instance data if missing shadow shader
2018-01-23 14:27:15 +08:00
Benau
40552b3fa0
Preload all visible spm (not including physics node) properly
...
Also change reset-button.spm to swatter_anim.spm, reset button
was replaced by thunderbird long time ago
2018-01-23 13:32:30 +08:00
Benau
95c12faa10
Use map for sorted name texture (easier for debug)
2018-01-23 11:55:54 +08:00
auria.mg
8c609c87d9
Fix compilation
2018-01-22 21:17:51 -05:00
Benau
dea6dc1f3f
Try to fix OSX build by using type index which is copy constructible
2018-01-23 09:53:23 +08:00
hiker
b4d9e03e5c
On GUI-less servers the frame rate can be <1ms. Previously the minimum
...
time-step size was 1 ms, which resulted in the world time advancing
faster than real time. This caused problems in the communication
and synchronisation with clients.
2018-01-23 08:30:23 +11: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
8fa5ad46c9
Use the original spm uv texture 1 and 2 for compare in scene manager
...
Because for splatting it will have some duplicated entries
Also remove never-working material code for splatting because of SP
2018-01-22 13:05:02 +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
39f4f8e966
Allow tracks and library objects to use custom shader
2018-01-22 10:34:49 +08:00
Benau
0ed74ac3e9
Add the ability to auto discard unused texture layer based on the compiled shader
2018-01-22 09:55:17 +08:00
Benau
0aa61ec746
Header clean up
2018-01-22 01:11:53 +08:00
Benau
9aae773e91
Use absolute path when caching
2018-01-22 01:09:58 +08:00
Benau
c85425c473
Only try to clean stuff if kart model is unique
2018-01-22 00:13:27 +08:00
Benau
f8c6de316a
Allow karts to have custom shader
...
Also implement proper cleaning for textures (mainly addons)
2018-01-21 16:31:49 +08:00
Benau
a39977d550
Use shared_ptr SPShader in mesh buffer
2018-01-21 15:35:38 +08:00
Benau
390554eca1
Add xml shader and the loader
2018-01-21 13:19:00 +08:00
Benau
b199b81427
Add the code required for reloading sp shader on the fly
2018-01-19 20:47:30 +08:00
Benau
0f95d36dbc
Add proper sharing and deletion of shader files
2018-01-19 14:41:33 +08:00
auria.mg
105935c645
Merge branch 'Fix3099'
2018-01-18 18:32:27 -05:00
auria.mg
8380e93e8d
FIx overflow
2018-01-18 18:02:26 -05:00
Benau
18fd12652d
Fix server build
2018-01-18 16:18:19 +08:00
Benau
5b440ae04b
Don't abuse the use of std::shared_ptr for moving texture
2018-01-18 13:49:35 +08:00
Benau
8a5994b9e3
Don't crash if missing texture image
2018-01-18 12:45:04 +08:00
Benau
0d74b1739b
Allow mesh textures to be reloaded
2018-01-18 12:35:41 +08:00
Benau
281b30dd5d
Fix invalid graph node sometimes detected
2018-01-17 13:52:40 +08:00
Deve
458ffd4617
Allow to force pot textures in graphical restrictions
2018-01-16 22:50:18 +01:00
Benau
c3d0db9856
Use normalized short for animated texture update
...
It should allow to have the maximum possible smooth animation
texture_trans_x,y is fmoded so it's guaranteed to be -1.0 to 1.0
2018-01-17 01:05:47 +08:00
Benau
7aaac81d0a
Disable backface culling for transparent material for legacy pipeline
2018-01-16 14:29:45 +08:00
auria.mg
10831b210e
Improve fix for #3099
2018-01-15 20:58:05 -05:00
auria.mg
1d9d628855
Try to fix #3099
2018-01-15 20:52:53 -05:00
hiker
a34b014fb5
Assign events to closest time step.
2018-01-16 08:53:45 +11:00
hiker
8d7ff2a948
Store event time explicitly, which makes network replay much easier.
...
Simplified update updateReplayAndGetDT function.
2018-01-16 08:43:59 +11:00
Benau
a37b60ac6e
Only add RenderInfo if the material has a list of random color
2018-01-15 15:43:50 +08:00