forked from bartvdbraak/blender
committed wrong version of this file
This commit is contained in:
parent
5d2e08cdee
commit
f5d7fc6da5
@ -700,7 +700,6 @@ void vol_precache_objectinstance_threads(Render *re, ObjectInstanceRen *obi, Mat
|
||||
vp = NULL;
|
||||
return;
|
||||
}
|
||||
//obi->volume_precache = vp;
|
||||
|
||||
/* Need a shadeinput to calculate scattering */
|
||||
precache_setup_shadeinput(re, obi, ma, &shi);
|
||||
|
@ -210,7 +210,7 @@ static void vol_trace_behind(ShadeInput *shi, VlakRen *vlr, float *co, float *co
|
||||
|
||||
|
||||
/* trilinear interpolation */
|
||||
static void vol_get_precached_scattering(ShadeInput *shi, float *scatter_col, float *co)
|
||||
static void vol_get_precached_scattering(Render *re, ShadeInput *shi, float *scatter_col, float *co)
|
||||
{
|
||||
VolumePrecache *vp = shi->obi->volume_precache;
|
||||
float bbmin[3], bbmax[3], dim[3];
|
||||
|
Loading…
Reference in New Issue
Block a user