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

Downsize resolution of a specific layer for Shadergraph optimization on mobile

Discussion in 'General Graphics' started by kaisersam, Sep 23, 2020.

  1. kaisersam

    kaisersam

    Joined:
    Mar 31, 2016
    Posts:
    39
    Hi,

    I'm working on a project for mobile devices.

    I have an UI object, and his material is a shadergraph. The issue is that the shader makes the game very laggy.(native resolution of the device : 2280 x 1080 pixels).

    After a few test, i saw that downsizing the resolution makes the game a lot smoother.

    I wanted to know if is it possible to assign the UI object to a specific layer, and then adjust the resolution (or the render scale maybe?) of that layer, while the other layers remain in the same resolution?

    Thank you!

    Regards, Samih.