mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +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:
@@ -77,3 +77,4 @@ const int OccEquationCoords_World = 1; //!< world-space clipping plane
|
||||
//! Parameters of clipping planes
|
||||
uniform vec4 occClipPlaneEquations[THE_MAX_CLIP_PLANES];
|
||||
uniform int occClipPlaneSpaces [THE_MAX_CLIP_PLANES];
|
||||
uniform int occClipPlaneCount; //!< Total number of clip planes
|
||||
|
Reference in New Issue
Block a user