24 Commits

Author SHA1 Message Date
Benau
4a29e46817 Remove warning for skinned mesh shader fallback
The shader will be unused anyway if there is no armature
2018-08-29 09:32:34 +08:00
Benau
809cce0c26 Fallback to default shader in case any shader is missing 2018-08-29 08:04:36 +08:00
Benau
5fb0113362 Don't enable texture matrix if no vbo or ibo 2018-05-11 19:27:41 +08:00
Benau
295c793f91 Use 4 32bit floats for quaternion for sam's wall 2018-04-12 16:27:48 +08:00
Benau
2448b10cd4 Fix correct spelling of deferred 2018-01-25 15:38:10 +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
0ed74ac3e9 Add the ability to auto discard unused texture layer based on the compiled shader 2018-01-22 09:55:17 +08:00
Benau
a39977d550 Use shared_ptr SPShader in mesh buffer 2018-01-21 15:35:38 +08: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
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
feb1667acc Precompute srgb to linear values to array 2018-01-12 13:58:49 +08:00
Benau
3374ec66e3 Better memory management for vertex buffers 2018-01-11 11:30:55 +08: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
1604ca1daa Use 2018 header for SP 2018-01-08 09:31:15 +08:00
Benau
294f0d79d1 Port feature unlocked to use SP 2018-01-05 01:06:58 +08:00
Benau
cce8abe6f3 Port billboard text 2017-12-30 15:28:04 +08:00
Benau
590850eacf Add dynamic draw call for skidmarks 2017-12-28 16:14:09 +08:00
Benau
52b19dd83a Use glVertexAttrib only in debug view 2017-12-27 13:50:17 +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
ce45605c18 Use half float for texture matrix 2017-12-26 15:28:01 +08:00
Benau
7797115867 Add SP for correct normal and easier shader system 2017-12-25 14:00:10 +08:00