Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-10-22 17:23:45 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-22 17:53:06 +0400
commitd2d1b19170c5790b2ef971f5d825d3c36e008513 (patch)
tree6f72ebf7152740c2bf3390418d2762fa6655c745 /intern/cycles/render/shader.h
parentc24698a37e1382c6f2ee3c8da935a3399a7836b4 (diff)
Cycles: Expose volume voxel data interpolation to the interface
It is per-material setting which could be found under the Volume settings in the material and world context buttons. There could still be some code-wise improvements, like using variable-size macro for interp3d instead of having interp3d_ex to which you can pass the interpolation method.
Diffstat (limited to 'intern/cycles/render/shader.h')
-rw-r--r--intern/cycles/render/shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/render/shader.h b/intern/cycles/render/shader.h
index 368496fd188..0eef62a1c61 100644
--- a/intern/cycles/render/shader.h
+++ b/intern/cycles/render/shader.h
@@ -69,6 +69,7 @@ public:
bool use_transparent_shadow;
bool heterogeneous_volume;
int volume_sampling_method;
+ int volume_interpolation_method;
/* synchronization */
bool need_update;