Skip to content
Snippets Groups Projects
Commit 5aad4bfc authored by Ton Roosendaal's avatar Ton Roosendaal
Browse files

- 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...
parent 6b781f19
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment