Search Unity

Screen-space effects and transparent materials

Discussion in 'High Definition Render Pipeline' started by iSpiegelball, Feb 13, 2020.

  1. iSpiegelball

    iSpiegelball

    Joined:
    Jan 7, 2020
    Posts:
    14
    Hey guys,
    I was wondering which changes would be needed to the HDRP to support screen-space effects on transparent materials too (or at least on the fully opaque parts of transparent materials). I understand that the current architecture renders screen-space effects before transparent materials are handled:



    Would it be possible to have transparent materials write correct values in both depth and normal buffer (this should be done at least for the normal buffer with "Depth Postpass" already) and then run the screen-space effects afterwards. Can custom passes be a way to achieve this?
     
  2. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    557
unityunity