diff options
author | Thomas Dinges <blender@dingto.org> | 2014-08-21 01:15:30 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-08-21 01:15:30 +0400 |
commit | 187d77612bcc13a85c8017c872b99bccd7e8f28c (patch) | |
tree | e287b262815f4b10fc30242061a307b22bc4d95f /intern/cycles/kernel/kernel_path_volume.h | |
parent | 075f6eff746b9fc6b1eabfccb213f02decd62fe8 (diff) |
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.
Diffstat (limited to 'intern/cycles/kernel/kernel_path_volume.h')
-rw-r--r-- | intern/cycles/kernel/kernel_path_volume.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_path_volume.h b/intern/cycles/kernel/kernel_path_volume.h index e7047f0ab85..4d6bf47ef9e 100644 --- a/intern/cycles/kernel/kernel_path_volume.h +++ b/intern/cycles/kernel/kernel_path_volume.h @@ -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, |