Author: ArcRiley
Date: 2007-07-03 21:12:15 -0400 (Tue, 03 Jul 2007)
New Revision: 334
Modified:
trunk/pysoy/src/materials/Material.pxi
Log:
fixed for alpha blending
Modified: trunk/pysoy/src/materials/Material.pxi
===================================================================
--- trunk/pysoy/src/materials/Material.pxi 2007-07-04 01:08:03 UTC (rev
333)
+++ trunk/pysoy/src/materials/Material.pxi 2007-07-04 01:12:15 UTC (rev
334)
@@ -44,6 +44,7 @@
_white[0] = 1.0
_white[1] = 1.0
_white[2] = 1.0
+ _white[3] = 1.0
if self._colorTex :
gl.glMaterialfv(gl.GL_FRONT, gl.GL_AMBIENT_AND_DIFFUSE, _white)
(<soy.textures.Texture> self._color)._bind()
_______________________________________________
PySoy-SVN mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-svn