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

Question Accessing MSAA Anti Aliasing Filters for showing them in a DropBox

Discussion in 'Universal Render Pipeline' started by Momissimo, Nov 18, 2022.

  1. Momissimo

    Momissimo

    Joined:
    Aug 15, 2019
    Posts:
    18
    Hello guys.
    For my game I would like the user to be able to change the MSAA filter in the Settings menu, thus i ma creating a Drop box where i would like to show the different MSAA (just like on the Inspector of the URP Asset). How do I access the various filters: none, 2x, 4x, 8x?

    Thanks in advance.
     
  2. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    761
    Hi, there's no out of the box solution provided by (current) URP.

    1. You need to create 4 URP assets and switch them at runtime. The amount of total URP assets will increase rapidly when there're more configurable settings.

    2. There're some 3rd-party solutions (using C# reflection), such as Inc8877's Graphics Configurator (github).
     
    Last edited: Nov 19, 2022
    Momissimo likes this.
  3. Momissimo

    Momissimo

    Joined:
    Aug 15, 2019
    Posts:
    18
    Thanks a lot :)
     
    wwWwwwW1 likes this.