Unity 2D Games Developer Question:
Download Questions PDF

Tell me why deferred lighting optimizes scenes with a lot of lights and elements?

Unity 2D Games Developer Interview Question
Unity 2D Games Developer Interview Question

Answer:

During rendering, each pixel is calculated whether it should be illuminated and receive lightning influence, and this is repeated for each light. After approximately eight repeated calculations for different lights in the scene, the overhead becomes significant.

For large scenes, the number of pixels rendered is usually bigger than the number of pixels in the screen itself.

Deferred Lighting makes the scene render all pixels without illumination (which is fast), and with extra information (at a cost of low overhead), it calculates the illumination step only for the pixels of the screen buffer (which is less than all pixels processed for each element). This technique allow much more light instances in the project.

Download Unity 2D Games Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Explain me in a few words, what roles the inspector, project and hierarchy panels in the Unity editor have. Which is responsible for referencing the content that will be included in the build process?What is animator Controller?