Search Unity

URP ForwardRenderer customization

Discussion in 'Universal Render Pipeline' started by topitsky, Jul 6, 2020.

  1. topitsky

    topitsky

    Joined:
    Jan 12, 2016
    Posts:
    100
    I'd like to customize the default renderer for a pixelized look.

    I've done a low res blit that achieves this, only the pixels bleed too much into each other (and seems waste to render 1080p when we could render what we want right away?)

    I have managed to get a very crisp look by setting the render scale to 0.1, and modifying the ForwardRenderer:
    Code (CSharp):
    1. cmd.GetTemporaryRT(m_ActiveCameraColorAttachment.id, colorDescriptor, FilterMode.Bilinear);
    To use Point filtering.

    The changes are lost each time I boot up Unity (because I reckon it flushes all packages on start?), so I was wondering if there would be any other way of doing this.
     
  2. thelebaron

    thelebaron

    Joined:
    Jun 2, 2013
    Posts:
    857
    if you are modifying the urp package, put it(the entire package) into your Packages folder(so YourProject\Packages) so changes are not reverted.