Transparency will render under reflective surface
cAyou opened this issue · 6 comments
cAyou commented
cAyou commented
ColinLeung-NiloCat commented
yes, you need to edit the draw timing of the reflective surface
cAyou commented
I tried BeforeRenderingTransparents and it worked well!
cAyou commented
cAyou commented
Any idea @ColinLeung-NiloCat ?
Serika-Chan commented
@cAyou
SSPR requires DepthTexture(Copy Depth , Event : AfterRenderingSkybox) and OpaqueTexture(Copy Color, Event : BeforeRenderingTransparents). When you set SSPR event to BeforeRenderingTransparents, the pass will execute before copy color, which leads to the black result.
You must make sure the copy color pass has been executed before SSPR pass. The easier way is to set the copy color pass execute in AfterRenderingSkybox.