Files
test/source/gameengine/Ketsji
Thomas Szepe 2b632dd8c2 BGE: Fix T37074: GLSL max texture units limit
Actually for the the amount of GLSL textures units is limited by the amount of multitexture units (GL_MAX_TEXTURE_UNITS_ARB).
Most of the Nvidia graphic cards supports only 4 multitexture units, so Nvidia users can not use more then 4 GLSL textures for a custom shader.
This patch removes this limitation by using GL_MAX_TEXTURE_IMAGE_UNITS_ARB if GLSL is supported, but still limit the amount to the maximum texture limit of 8.

Reviewers: lordloki, agoose77, danielstokes, panzergame, sybren, moguri

Reviewed By: panzergame, sybren, moguri

Projects: #game_engine, #game_rendering

Maniphest Tasks: T37074

Differential Revision: https://developer.blender.org/D1389
2015-07-27 20:34:13 +02:00
..
2015-03-23 21:43:42 +01:00
2014-10-07 15:47:32 -05:00
2014-10-07 15:47:32 -05:00
2013-03-18 11:44:56 +00:00
2014-10-07 15:47:32 -05:00
2012-09-16 04:58:18 +00:00
2015-03-23 21:43:42 +01:00
2012-10-29 02:11:40 +00:00
2012-09-16 04:58:18 +00:00
2013-03-29 06:21:28 +00:00
2014-07-21 10:53:07 +10:00
2012-09-16 04:58:18 +00:00
2013-03-26 07:29:01 +00:00
2012-09-16 04:58:18 +00:00
2012-09-16 04:58:18 +00:00
2012-11-05 14:24:35 +00:00
2014-10-07 15:47:32 -05:00