Fix for bug #9081: SSS preprocess should not use material or

light overrides, since it works independent of render layers.
This commit is contained in:
Brecht Van Lommel
2008-04-19 21:59:15 +00:00
parent f3c3da530c
commit f265eeed8a

View File

@@ -1447,6 +1447,8 @@ void zbufshade_sss_tile(RenderPart *pa)
rl= rr->layers.first;
ssamp.shi[0].passflag |= SCE_PASS_RGBA|SCE_PASS_COMBINED;
ssamp.shi[0].combinedflag &= ~(SCE_PASS_SPEC);
ssamp.shi[0].mat_override= NULL;
ssamp.shi[0].light_override= NULL;
lay= ssamp.shi[0].lay;
/* create the pixelstrs to be used later */