Blender Git Commit Log

Git Commits -> Revision 4a04d7a

Revision 4a04d7a by Lukas Stockner (master)
May 19, 2017, 02:59 (GMT)
Fix T51553: Cycles Volume Emission turns black when strength is 0 or color is black

The problem was that Cycles implicitly uses a transparent surface shader when only
volume nodes are used, but since the black emission shader gets optimized away,
it was no longer detected and therefore no transparent surface was used.

Therefore, the shader now stores whether volume nodes were connected before
optimizing.

Commit Details:

Full Hash: 4a04d7ae8930502037cd23dc94ed1bc9bc0043ac
Parent Commit: cf1127f
Lines Changed: +16, -4

2 Modified Paths:

/intern/cycles/render/shader.cpp (+7, -4) (Diff)
/intern/cycles/render/shader.h (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021