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
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
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
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
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