Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Help Wanted Custom Render Pass: CreateDrawSettings and DrawRenderers Issues.

Discussion in 'General Graphics' started by Warpscan007, Sep 10, 2021.

  1. Warpscan007


    Sep 24, 2018
    Image A:

    For testing purposes I set override material to null. So when I draw the renderers it will render opaques on the screen without any modifications (Image A). But I want "Weapon Render On Top Opaque (Render Objects)" to be in effect but it is not as seen in image B. That render objects feature has a custom FOV so that the shotgun looks more like the shotgun in Image C. I can't seem to have a workaround. Is there a way to override the materials after the Render Object Feature is in place? The CreateDrawSettings function seems like it is getting the scene before any render feature was in place.

    I searched the docs and the forums and it seems like no one else ran into this problem.

    Image B: dwadaw.PNG

    Image C: