From 3a8c6c81d84f5ee6b7ae7fb8cfcba65736f08908 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 3 May 2007 21:37:52 +0000 Subject: Subsurface scattering: Documentation on the settings, known limitations and implementation info can be found here: http://www.blender.org/development/current-projects/changes-since-243/subsurface-scattering/ --- source/blender/render/intern/include/zbuf.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/render/intern/include/zbuf.h') diff --git a/source/blender/render/intern/include/zbuf.h b/source/blender/render/intern/include/zbuf.h index c308ae25bce..ed3f93adfdd 100644 --- a/source/blender/render/intern/include/zbuf.h +++ b/source/blender/render/intern/include/zbuf.h @@ -51,6 +51,7 @@ void zbuffer_shadow(struct Render *re, struct LampRen *lar, int *rectz, int size void zbuffer_solid(struct RenderPart *pa, unsigned int layer, short layflag); unsigned short *zbuffer_transp_shade(struct RenderPart *pa, struct RenderLayer *rl, float *pass); void convert_zbuf_to_distbuf(struct RenderPart *pa, struct RenderLayer *rl); +void zbuffer_sss(RenderPart *pa, unsigned int lay, void *handle, void (*func)(void *, int, int, int, int)); typedef struct APixstr { unsigned short mask[4]; /* jitter mask */ @@ -85,6 +86,9 @@ typedef struct ZSpan { int polygon_offset; /* offset in Z */ float shad_alpha; /* copy from material, used by irregular shadbuf */ int mask, apsmcounter; /* in use by apixbuf */ + + void *sss_handle; /* used by sss */ + void (*sss_func)(void *, int, int, int, int); void (*zbuffunc)(struct ZSpan *, int, float *, float *, float *, float *); void (*zbuflinefunc)(struct ZSpan *, int, float *, float *); -- cgit v1.2.3