diff options
author | Ton Roosendaal <ton@blender.org> | 2005-11-27 15:19:12 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-11-27 15:19:12 +0300 |
commit | a494a76e9e5ca6b1374769a95fe55558ac73b847 (patch) | |
tree | 22f1ff415e95176d7b961009f3a857546a6c4872 /source/blender/makesdna/DNA_material_types.h | |
parent | f08200baa9a3306fc4662313bd5c99ecdedf84cf (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.h | 1 |
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 |