1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024402: TKOpenGl - Implement clipping planes in Phong GLSL program

Limit number of lights (breaks compatibility with old hardware).
This commit is contained in:
duv
2014-02-13 13:06:51 +04:00
committed by apn
parent 816d03eef3
commit 5495fa7e65
6 changed files with 45 additions and 13 deletions

View File

@@ -50,6 +50,7 @@ enum OpenGl_StateVariable
// OpenGL clip planes state
OpenGl_OCC_CLIP_PLANE_EQUATIONS,
OpenGl_OCC_CLIP_PLANE_SPACES,
OpenGl_OCC_CLIP_PLANE_COUNT,
// OpenGL light state
OpenGl_OCC_LIGHT_SOURCE_COUNT,