Files
SingularityViewer/indra
Shyotl 67c8ac2b04 Skinned shaders were exceeding maximum amount of vertex uniforms on amd hardware.
-Changed the transform matrix uniform to a 3x4 matrix and packed translation into it to free up uniforms. (3x3 is converted to 3x4 internally, so we were needlessly eating 3*52 extra uniform slots. translationPalette might also have been treated as a vec4 internally too, wasting 52 more slots.)
-matrix3x4 requires opengl2.1 and newer, so added a new featuretable mask.
-Also added a featuretable mask to disable hardware skinning and deferred shading on hardware with less than 1024 vertex uniforms.
NOTE: On old old old amd hardware, evidently a 3x4 matrix might be upgraded to 4x4. I'm unsure, but I doubt such hardware has 1024+ uniform components available to begin with. 4x3 supposedly doesn't do this, but opengl is column-major, so this makes little sense.
2014-05-17 03:31:45 -05:00
..
2013-11-21 01:28:16 +01:00
2013-10-22 00:59:26 +02:00
2013-05-25 03:19:33 +02:00
2013-12-09 03:39:47 +01:00
2013-09-23 17:19:44 -05:00
2013-12-28 20:52:11 +01:00
2014-03-25 19:39:02 -04:00
2013-11-06 17:39:04 -05:00
2013-10-21 20:42:31 +02:00
2013-10-19 23:05:53 +02:00