Page 1 of 1

Screenspace reflection for transparent objects

PostPosted: Wed Nov 15, 2017 1:06 pm
by Desoxi
Hey,
i would like to know whether or not there is a possibility to enable screen space reflections (for example with the postprocessing stack) of transparent queued objects?
I just made a hologram shader which uses the translucent config (opaque rendertype, transparent render queue).
Unfortunately screen space reflection seems to ignore objects in transparent render queue.
I need the opacity connection so is there a way around this?

Re: Screenspace reflection for transparent objects

PostPosted: Wed Nov 15, 2017 3:17 pm
by Amplify_RnD_Rick
Hey Desoxi,

Unfortunately Screen Space Reflections is only available on the Deferred Rendering Path, since it relies on the Normals G-Buffer, and since transparent objects are always rendered on the Forward Rendering Path they won't get caught by it.

There are a couple of workarounds but they are far from perfect:
- You can turn your transparent objects into opaque ones and use a grab pass to try and simulate transparency on your own. For this you need to be very careful on the Render Queue offset so they are rendered after all other opaque objects
- You can turn your transparent objects into opaque and apply dither to them
- You can turn your transparent objects into alpha cut

Please don't hesitate on reaching us if you have further questions.

Re: Screenspace reflection for transparent objects

PostPosted: Wed Nov 15, 2017 3:27 pm
by Desoxi
Thank you for the answer! Gonna try every single one of them tomorrow.
Btw i had tried "- You can turn your transparent objects into alpha cut". But the opacity output didnt have any effect.
Gonna try it again though and report back.