diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-04 02:45:13 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-04 02:45:13 +0300 |
commit | f02dde5de7f1d54f489a124cea128bc993b708d7 (patch) | |
tree | 5da5e306b841ca2463c0de63d34a942f6fb5cc2a /source/blender/makesdna/DNA_material_types.h | |
parent | 1f33d574c2d18f0037f5e168dbd1a54d23dad6d7 (diff) |
Patch from Raul Fernandez Hernandez - volume render multiple scattering fixes
Also: Changed 'Spread' value to be proportional to the light cache voxel grid
(i.e. 0.5 spreads half the width of the grid), so that it's independent of light
cache resolution. This means that results should be similar as you increase/
decrease resolution.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_material_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h index 36de890e6dc..7a19262b0cd 100644 --- a/source/blender/makesdna/DNA_material_types.h +++ b/source/blender/makesdna/DNA_material_types.h @@ -69,7 +69,7 @@ typedef struct VolumeSettings { float stepsize; float ms_diff; float ms_intensity; - int ms_steps; + float ms_spread; } VolumeSettings; typedef struct Material { |