Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is VSync count in Unity3D?

What is the theoretical concept of VSync, and how does it affect rendering?

like image 861
Ankush Avatar asked Jan 18 '14 14:01

Ankush


1 Answers

Monitors refresh pixels in various ways, but they're not all updated at the same time. Old screens for example, used to refresh the pixels one line at a time, top to bottom.

The problem occurred if it was halfway down the screen when it got the new image and simply continued with that. You then had the top half of the screen using the previous frame, while the bottom half of the screen was using the new frame. VSync prevents this by making sure updates are made between refreshes, not during.

This isn't really a problem any longer with modern screens.

If you'd like to read up on VSync here's some helpful wikipedia articles: http://en.wikipedia.org/wiki/Vertical_synchronization and http://en.wikipedia.org/wiki/Screen_tearing

like image 114
Steven Mills Avatar answered Oct 01 '22 19:10

Steven Mills