- fix for raytrace render; when you render ray_transp material, it didn't

recalculate the O.dxno and O.dyno for each pixel. This causes scanline
  errors (stripes) when in same scanline something else is called that
  calculates O.dxno/dyno...
This commit is contained in:
Ton Roosendaal 2004-01-23 18:29:14 +00:00
parent 6b781f19bc
commit 5aad4bfceb

@ -580,7 +580,7 @@ void init_render_material(Material *ma)
if(R.osa) ma->texco |= TEXCO_OSA;
}
if(ma->mode & MA_RAYTRANSP) {
ma->texco |= NEED_UV;
ma->texco |= NEED_UV|TEXCO_NORM;
if(R.osa) ma->texco |= TEXCO_OSA;
}