Code refactor: Split __VOLUME__ defines in Cycles.

* __VOLUME__ is basic volume support with Emission and Absorption.
* __VOLUME_SCATTER__ enables volume Scattering support.
* __VOLUME_DECOUPLED__ enables Decoupled Ray Marching.
This commit is contained in:
Thomas Dinges
2014-08-20 23:15:30 +02:00
parent 075f6eff74
commit 187d77612b
4 changed files with 29 additions and 6 deletions

View File

@@ -16,7 +16,7 @@
CCL_NAMESPACE_BEGIN
#ifdef __VOLUME__
#ifdef __VOLUME_SCATTER__
ccl_device void kernel_path_volume_connect_light(KernelGlobals *kg, RNG *rng,
ShaderData *sd, float3 throughput, PathState *state, PathRadiance *L,