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:
authorTon Roosendaal <ton@blender.org>2005-11-27 15:19:12 +0300
committerTon Roosendaal <ton@blender.org>2005-11-27 15:19:12 +0300
commita494a76e9e5ca6b1374769a95fe55558ac73b847 (patch)
tree22f1ff415e95176d7b961009f3a857546a6c4872 /source/blender/makesdna/DNA_material_types.h
parentf08200baa9a3306fc4662313bd5c99ecdedf84cf (diff)
Finishing touch for hair strand shadows;
- raytracing code now uses cylinder-line intersect for strands. It used to intersect with the screen-aligned strand quads, giving too many misses for tracing. Note; mirror for hair is still not well supported! - added in Materials a choice for whether a material is Traceable for raytracing or whether it is part of Shadow buffers. This way you can exclude hair strands from raytracing, but still get shadowbuffers for it.
Diffstat (limited to 'source/blender/makesdna/DNA_material_types.h')
-rw-r--r--source/blender/makesdna/DNA_material_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_material_types.h b/source/blender/makesdna/DNA_material_types.h
index 42c22d51536..5ef327502e1 100644
--- a/source/blender/makesdna/DNA_material_types.h
+++ b/source/blender/makesdna/DNA_material_types.h
@@ -155,6 +155,7 @@ typedef struct Material {
#define MA_RAYBIAS 0x400000
#define MA_FULL_OSA 0x800000
#define MA_TANGENT_STR 0x1000000
+#define MA_SHADBUF 0x2000000
/* diff_shader */
#define MA_DIFF_LAMBERT 0