Add checks for number of lights and warning in vtkOpenGLGPUVolumeRayCastMapper
Fix for issue : #18507 (closed)
Small fix to prevent VTK from crashing when vtkOpenGLGPUVolumeRayCastMapper has to handle more than 6 lights. This fix adds tests to prevent the stack from being smashed in vtkOpenGLGPUVolumeRayCastMapper::vtkInternal::SetLightingShaderParameters
, and adds a warning.
Edited by Gaspard Thevenon