Unity 2D Games Developer Question:
Download Questions PDF

Do you know what a vertex shader is, and what a pixel shader is?


Vertex shader is a script that runs for each vertex of the mesh, allowing the developer to apply transformation matrixes, and other operations, in order to control where this vertex is in the 3D space, and how it will be projected on the screen.

Pixel shader is a script that runs for each fragment (pixel candidate to be rendered) after three vertexes are processed in a mesh’s triangle. The developer can use information like the UV / TextureCoords and sample textures in order to control the final color that will be rendered on screen.

Download Unity 2D Games Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is animation State Machine?What is cubemap Texture?