Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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:
    265
    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.