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
5884d7b9d8
Avoid using matrix4 calculation
2016-11-28 15:44:14 +08:00
Benau
60908c3e1d
Try to use vec2 for texture translation only
...
In stk, only setTextureTranslate is used which modify 8,9 of
matrix array. Also don't update it when it is identity.
2016-11-28 10:41:27 +08:00
Vincent Lejeune
8db09a55cd
Add Splatting RSM shader type.
2014-08-08 01:07:55 +02:00
vlj
60f76ee612
Fix RSM
2014-08-07 22:45:25 +02:00
Vincent Lejeune
95fb3ea580
Add support moving texture in rsm.
2014-08-07 20:44:33 +02:00
vlj
4e079b0e14
Fixes shader errors reported by Auria
2014-07-17 02:17:49 +02:00
vlj
d5c91dcfe4
Remove Untextured material.
2014-07-02 22:37:51 +02:00
vlj
948c5e8aa2
Use explicit attribute location.
...
Should help implementing basevertex later, and simplify vao creation a
lot.
2014-06-24 23:17:41 +02:00
Vincent Lejeune
180bd939e0
Add RSM support
2014-05-28 07:47:06 +02:00