Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2022.2 beta is now available for testing. To find out what's new, have a look at our 2022.2 feature highlights.
    Dismiss Notice
Dismiss Notice
Submit bug reports tagged with #Beta2022Win_Unity when you encounter unknown issues while testing the 2022.2 betas for a chance to win a year of Unity Pro. For more information, have a look at our Beta Sweepstakes Announcement.

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,416
    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.
unityunity