]> git.tdb.fi Git - libs/gl.git/commit
Lighting affecting the alpha value of a surface makes no sense
authorMikko Rasa <tdb@tdb.fi>
Sun, 19 Aug 2012 00:34:22 +0000 (03:34 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 19 Aug 2012 00:34:22 +0000 (03:34 +0300)
commit101b961cbdcc3a2459bb7c12e3d8e6e5c320b94b
treecc7522e90e468ebaf4217ef35ecf21d934680758
parent29f2d9da4ef0a0134c56bd2f8c7e6acac7773a61
Lighting affecting the alpha value of a surface makes no sense

Use lighting only for RGB components, and take alpha directly from color
or material.  This should prevent problems caused by alpha>1.
source/program.cpp