Blender Git Loki

Git Commits -> Revision 35a683b

Revision 35a683b by Brecht Van Lommel (soc-2013-dingto)
December 8, 2013, 12:00 (GMT)
Cycles Volume: materials without a surface shader now act transparent when
there is a volume shader.

This is the behavior you would expect I think and makes setup easier. More
optimizations are possible in this case to avoid surface shading altogether, but
it's probably not so noticeable altogether as this will early out and not get to
any expensive computations as far as I know.

Note that these still count as transparent bounces even if there is no BSDF. Not
entirely happy with that, but there should be some way to limit the depth?

Commit Details:

Full Hash: 35a683bfe4ba32fd0dfe1499dd572c4f78c46274
Parent Commit: 9bea4db
Lines Changed: +71, -42

4 Modified Paths:

/intern/cycles/kernel/kernel_path.h (+51, -35) (Diff)
/intern/cycles/kernel/kernel_types.h (+6, -5) (Diff)
/intern/cycles/kernel/kernel_volume.h (+5, -2) (Diff)
/intern/cycles/render/shader.cpp (+9, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021