Search Unity

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

Rendering in UnityTiny

Discussion in 'Project Tiny' started by Seaqqull, Nov 30, 2020.

  1. Seaqqull

    Seaqqull

    Joined:
    Aug 3, 2018
    Posts:
    24
    Sorry for that strage question, but I wonder does unity (tiny in particular) render the sprite that has one of the [Scale] component 0 (E.g: (0, 1, 1), (1, 0, 1), (1, 1, 0))?
    I mean will sprite with, for example [Scale => (0, 1, 1)], consume some gpu power?
     
  2. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    904
    For standard Unity, I am not sure. We have a lot of optimizations in our 2D pipeline, and this could be one of them. I would suggest you to profile a frame using RenderDoc or a similar 3rd party profiler.
    For Tiny, we only do frustum culling, so an object with scale 0 will still be passed to the GPU.
     
    Seaqqull likes this.
  3. Seaqqull

    Seaqqull

    Joined:
    Aug 3, 2018
    Posts:
    24
    Okay, will check then. Thank you ^_^
     
    Ted_Wikman likes this.