Hi there,
Being a newbie to the vray sdk, these might be quite obvious questions.. It was fairly easy to write a simple render element based on the supplied samples, but now i seem to have hit a roadblock.
The render element i have should not be using transparency compositing of the fragments, as i want the closest fragment's value to be displayed only (so it should ignore reflections / refractions etc. its a matte pass). The example i based my work on was inheriting VRayIntersectionShader and did its shading in the shade() function. However, i dont seem to be able to do anything in there that would make the end result ignore transparency.
I tried using other examples, where the shading is done in the PostIllum function, but for some reason PostIllum never gets called by vray. I rebuilt some of the examples (like VRayReflectionElement), and even those dont have their PostIllum called. Strange.
What am i missing?
cheers,
laszlo
Being a newbie to the vray sdk, these might be quite obvious questions.. It was fairly easy to write a simple render element based on the supplied samples, but now i seem to have hit a roadblock.
The render element i have should not be using transparency compositing of the fragments, as i want the closest fragment's value to be displayed only (so it should ignore reflections / refractions etc. its a matte pass). The example i based my work on was inheriting VRayIntersectionShader and did its shading in the shade() function. However, i dont seem to be able to do anything in there that would make the end result ignore transparency.
I tried using other examples, where the shading is done in the PostIllum function, but for some reason PostIllum never gets called by vray. I rebuilt some of the examples (like VRayReflectionElement), and even those dont have their PostIllum called. Strange.
What am i missing?
cheers,
laszlo
Comment