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 |
|
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 |
|
Benau
|
a37b60ac6e
|
Only add RenderInfo if the material has a list of random color
|
2018-01-15 15:43:50 +08:00 |
|
Benau
|
cbd7b3fd84
|
Add some fallback for legacy pipeline for SP
|
2018-01-15 13:46:37 +08:00 |
|
Benau
|
a3a00f70f8
|
Remove unused entries in materials and fog settings
|
2018-01-15 13:23:21 +08:00 |
|
Benau
|
681ef66d8d
|
Rename _nm to _Normal for normal map textures
|
2018-01-15 12:37:57 +08:00 |
|
Benau
|
9c2f91c11b
|
Don't crash for wip-tracks / karts (wrong shader name or incomplete terrain)
|
2018-01-15 11:07:58 +08:00 |
|
Deve
|
8698705468
|
Fixed android compilation
|
2018-01-14 00:14:31 +01:00 |
|
Benau
|
d0fb0500eb
|
Update to opengl 3.3 for SP
|
2018-01-14 01:28:30 +08:00 |
|
Benau
|
59045cd064
|
Merge remote-tracking branch 'origin/master'
|
2018-01-13 15:44:57 +08:00 |
|
Benau
|
4194977df5
|
Fix shadow visualization
|
2018-01-13 15:38:52 +08:00 |
|
Benau
|
9e90bd251d
|
Use hardware skinning GR in sp_mesh_node
|
2018-01-13 15:16:16 +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
|
7902e2ad06
|
Fix focusing of kart color slider dialog
|
2018-01-13 11:58:32 +08:00 |
|
Deve
|
2f7d7b677d
|
Don't fail to start if glx display in glew is not available.
It should be safe, because we check if display is available in irrlicht device anyway.
|
2018-01-13 00:06:37 +01: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
|
e5fff9e65a
|
Reallocate the vertices vector for dynamic draw call when resize
|
2018-01-12 17:18:49 +08:00 |
|
Benau
|
feb1667acc
|
Precompute srgb to linear values to array
|
2018-01-12 13:58:49 +08:00 |
|
Benau
|
6071d2f983
|
Remove all unused / unstable opengl-related code
|
2018-01-12 13:04:40 +08:00 |
|
Benau
|
9ccb34c2a1
|
Adjust graphics presets for SP
|
2018-01-12 12:03:31 +08:00 |
|
Benau
|
7f3722d90b
|
Make supports SP checking global
|
2018-01-12 01:28:13 +08:00 |
|
Benau
|
4252895d8b
|
Remove old unused glsl code
|
2018-01-12 01:18:07 +08:00 |
|
Benau
|
49568f3fd9
|
Auto fallback to legacy pipeline if not supports all functions required by SP
|
2018-01-11 15:55:53 +08:00 |
|
Benau
|
26a481e478
|
Allow using system libsquish
|
2018-01-11 14:40:33 +08:00 |
|