Commit Graph

13494 Commits

Author SHA1 Message Date
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
Benau
7859a00967 Remove unused mesh code 2018-01-11 13:38:08 +08:00
Benau
68ceceb6e3 Remove unused texture code 2018-01-11 12:47:02 +08:00
Benau
3374ec66e3 Better memory management for vertex buffers 2018-01-11 11:30:55 +08:00
auria.mg
de8298f734 Try to fix #3089 2018-01-10 18:48:18 -05:00
Benau
4823c46ad9 Preload the container id of materials 2018-01-10 13:10:12 +08:00
Benau
f4fb2cb41c Fix no graphics and server only run 2018-01-10 11:35:02 +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
57fad498f8 Fix traffic light when changing resolution 2018-01-08 14:31:47 +08:00
Benau
1604ca1daa Use 2018 header for SP 2018-01-08 09:31:15 +08:00
Benau
aa9dce1672 Add texture compression cache 2018-01-08 09:28:11 +08:00
auria.mg
e3f3f7d291 Fix compilation on travis 2018-01-07 19:33:05 -05:00
auria.mg
6a21ca75fb Improve text legibility 2018-01-07 19:09:42 -05:00
auria.mg
196117c41e Bugfix when loading saved GP, but the GP has changed 2018-01-07 18:47:16 -05:00
auria.mg
3c591bcf39 Tweak text color to improve legibility 2018-01-07 18:47:01 -05:00
auria.mg
246d010895 Fix compilation 2018-01-07 18:31:37 -05:00
Deve
51e1153cc9 Fixed unsafe printf 2018-01-07 21:33:43 +01:00
Benau
262337bc13 Fix some leaking when switching resolution 2018-01-07 14:58:32 +08:00
Benau
157faaf616 Fix tracks with no skybox 2018-01-06 15:35:35 +08:00
Benau
0633099662 Add a quick fallback tangent computation 2018-01-06 12:47:22 +08:00
Benau
5293a0dbef Add b3d loader for SP 2018-01-06 12:07:22 +08:00
Benau
a06d9e858b Add some fallback 2018-01-05 23:46:23 +08:00
Benau
294f0d79d1 Port feature unlocked to use SP 2018-01-05 01:06:58 +08:00
Benau
60b173559a Disable cull face after drawing mesh (for gui) 2018-01-04 14:39:32 +08:00
hiker
8a25effa5c While it does not make a difference in this case, it should be &&, not &. 2018-01-03 22:03:33 +11:00
hiker
92426606c0 Fixed profiler in case that rendering is not done from main thread. 2018-01-03 21:48:52 +11:00
Benau
d24796aa6f Use win / lose animation in grand prix result screen 2018-01-03 16:33:55 +08:00
Benau
511c8e316b Make skidding show curve compile 2018-01-03 15:35:25 +08:00
Benau
1de1cdf530 Port line debug to SP, removing all unicolor code too 2018-01-03 15:28:29 +08:00