Skip to content

Latest commit

 

History

History
79 lines (42 loc) · 3.21 KB

UnityOverDrawKun.md

File metadata and controls

79 lines (42 loc) · 3.21 KB

UnityOverDrawKun

GitHub package.json version GitHub code size in bytes

overdraw check tool.

Summary

Tool that allows to measures the overdraw when rendering. It can be measured only on platforms that support multiple displays.
641b60a898bf20e97083f5adb1294113

Install

Place the UnityOverDrawKun under Asset folder like the image below:
image

Setting

  • Place the Overdraw Camera inside in folder to the Scene you wish to measure.
    d5cf54a0dd8ba2f731fd92e732c46dc6

  • Specify the camera to be measured in OverdrawCamera.MasterCamera.
    fac434078910df9e378ae8cf2de692f2

  • Please display two or more GameViews. The Game view can be created by selecting Add Tab > Game.
    5fc934de91445b0ae77326436e154d7a

  • Set the Target Display property of the Camera component attached to OverdrawCamera other than Display1.
    0241bb02078058a3a206b29ba29f6cb4

Measurement Method

  • By pressing the Play button, the measurement result will be displayed in the GameView specified in OverdrawCamera.Camera.Target Display.
  • The brighter measurement result look dsiplays in the screen is where overdrawing has occured.
  • You can save the measurement result by pressing the OverDrawKun.Record button attached to the Overdraw Camera from the inspector.

edf74eecdcc6a588c9f515bb4e3b968d


The measurement result gets outputted by creating a YYTTMMDDHHMM folder under the project folder.

4b6bdd8b65e4b1ed0b71d05a4f9e9511

Analysis of measurement results

It is possible to analyze the measurement result with UnityOverdrawKunWindow.

0e28ce0ecf377d4d977aab0c4dbe3e05

Window starting method

Open Window->UnityOverdrawKun.

How to capture measurement results

Open the directory where the measurement results are saved from the Open Folder icon on the upper left of the window.

How to check the measurement result

By sliding the slide bar at the bottom of the screen, you can check the degree of overdraw that are occuring each frame.

How to save in CSV format

Press Save As CSV button at the top of the screen.

Other

Comments and feedback are welcome!