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:
authorMatt Ebb <matt@mke3.net>2008-09-26 11:12:36 +0400
committerMatt Ebb <matt@mke3.net>2008-09-26 11:12:36 +0400
commit5adff90b0868f88050e601092b35628fa3ae132b (patch)
tree3073660292c9339a1f4e360698fbbca970614d9c /source/blender/makesdna/DNA_material_types.h
parent78c50f7af1d694252984885e0eac87682647e2d2 (diff)
* Some more tweaks to particle density rendering. I'm not 100%
sure if this is 'correct' but so far in testing it's been working pretty well. This also exposes a new 'Nearest' value, to determine how many nearby particles are taken into account when determining density. A greater number is more accurate, but slower.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r--source/blender/makesdna/DNA_material_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 814e9b9ab66..dc23e7fcc6a 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -72,7 +72,10 @@ typedef struct Material {
float vol_absorption_col[3];
float vol_part_searchradius;
short vol_raydepth;
+ short vol_part_maxnearest;
short vol_shadeflag;
+ short vol_pad[3];
+
float fresnel_mir, fresnel_mir_i;
float fresnel_tra, fresnel_tra_i;