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.

Feature Request Changing the color buffer filtering mode

Discussion in 'Universal Render Pipeline' started by TheZombieKiller, Dec 9, 2021.

  1. TheZombieKiller

    TheZombieKiller

    Joined:
    Feb 8, 2013
    Posts:
    233
    As of right now, there is no built-in way to change what filtering mode is used for render scaling. If you fork URP in your project, you can tweak this by modifying the CreateCameraRenderTarget function in the UniversalRenderer class, so that the following line:
    Code (CSharp):
    1. m_ColorBufferSystem.SetCameraSettings(cmd, colorDescriptor, FilterMode.Bilinear);
    Uses the desired filtering mode. Is there any chance of this becoming a properly configurable option? It really doesn't seem like something I should have to fork the renderer for.