Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question PC GPU frametime for dynamic resolution scaling?

Discussion in 'Graphics Dev Blitz Day 2023 - Q&A' started by cLick1338, May 24, 2023.

  1. cLick1338

    cLick1338

    Joined:
    Feb 23, 2017
    Posts:
    74
    Is this possible yet? Last time I checked we could only make handlers use deltaTime and the like, which could tie resolution to CPU times.

    I see a mention of "HD Dynamic Resolution component" in the documentation which mentions using GPU frame times but it's not immediately obvious how to use it (or is it all still for consoles only).
     
  2. SebLagarde

    SebLagarde

    Unity Technologies

    Joined:
    Dec 30, 2015
    Posts:
    932
    cLick1338 likes this.
  3. cLick1338

    cLick1338

    Joined:
    Feb 23, 2017
    Posts:
    74
    @SebLagarde
    Thank you, I've implemented it and it works well enough.

    However, it seems that the handler is unidimensional - I cannot control horizontal/vertical scaling individually. Am I missing something here?

    This is quite important because biasing towards horizontal scaling generally produces much better results and is the most common approach in the industry.