Blender Git Commit Log

Git Commits -> Revision 302a5b5

Revision 302a5b5 by Jason Wilkins (soc-2014-viewport_fx)
July 4, 2014, 20:15 (GMT)
[OpenGL Policy] BlendFuncSeparate defaults to GL_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ZERO

Only set the blend func if the coefficients are different. Return them to the defaults when done.

Note: Fairly confident that Blender and the standalone Cycles renderer are correct, but that both the embedded and standalone game engine will need more testing.

Note: Do we actually want the default to be: GL_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ONE_MINUS_SRC_ALPHA?

Commit Details:

Full Hash: 302a5b56df1937986e54ef4600cca6f6a70d8066
Parent Commit: df33131
Lines Changed: +53, -103

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019