-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Fix the ATI volume rendering issue finally.
A bug in the ATI driver causes gl_FrontLightModelProduct to not be defined for diffuse and specular coefficients. Therefore compute this product explicitly as gl_LightSource[0].diffuse*gl_FrontMaterial.diffuse gl_LightSource[0].specular*gl_FrontMaterial.specular The ambient term, gl_FrontLightProduct[0].ambient seems to be defined though.
- Loading branch information
1 parent
62d58a6
commit ffe79ee
Showing
1 changed file
with
26 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters