- forgot to commit this file for fix several days ago which fixed
only_shadow rendering...
This commit is contained in:
@@ -1806,6 +1806,12 @@ void RE_add_render_lamp(Object *ob, int doshadbuf)
|
||||
RE_initshadowbuf(lar, ob->obmat);
|
||||
}
|
||||
}
|
||||
|
||||
/* to make sure we can check ray shadow easily in the render code */
|
||||
if(lar->mode & LA_SHAD_RAY) {
|
||||
if( (R.r.mode & R_RAYTRACE)==0)
|
||||
lar->mode &= ~LA_SHAD_RAY;
|
||||
}
|
||||
|
||||
lar->org= MEM_dupallocN(lar);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user