Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Feedback URP 12.0 2DRenderer RenderFeature

Discussion in '2D Experimental Preview' started by castor76, Oct 17, 2021.

  1. castor76

    castor76

    Joined:
    Dec 5, 2011
    Posts:
    2,517
    I was wondering since Unity 2021.2 introduces URP 12.0 with 2DRenderer having render features, can we use it to somehow render my own sprite/objects into the light buffer? It's going to be very useful to do all sort of cool effects like whole different styles of lighting/ different shapes of light sources such as grid style using tilemaps, and it will open up so much more potential to the current 2Dlight system.

    If we can make camera target to actually just target light buffer, we could even render particle systems to write to the light buffer, during early pass of rendering (just using camera order). Could be the simplest of ways to archive custom writing to the light buffer.

    It "seems" like light buffer is just a internal rendertexture, it should be not to difficult to be able to target the camera to render to that?
     
    Last edited: Oct 17, 2021
    NotaNaN likes this.