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
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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,521
    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.