ashwin.sudhir Posted October 6, 2011 Posted October 6, 2011 Have attached two images, on with render_deferred 1 ; here the ring decal looks properly alpha blended when we set the render mode to render_deferred 2, the blending goes awry as can be seen. The material remains unchanged in both cases. Note: Alpha testing gives the correct result in both cases. I tried fiddling with the Order parameter and also "Post Deferred" neither made a difference. For non-decal materials (I tried on a particle) it looked fine. Thanks in advance, Ashwin.
manguste Posted October 10, 2011 Posted October 10, 2011 Setting Materials->States->Deferred pass to Skip should solve the problem. By default decals are written into the deferred buffer, because they can have parallax mapping. But when using the deferred lighting, unnecessary color info for transparent areas will be written into the deferred color buffer, if the pass is not skipped.
alexei.garbuzenko Posted October 10, 2011 Posted October 10, 2011 As for me, setting 'Post Deferred' flag is acceptable only for close distances cause such decals would be not affected by scattering at all.
manguste Posted October 11, 2011 Posted October 11, 2011 You can use normal, non-deferred lighting in this case.
Recommended Posts