Unity 3D Developer Question:
Download Questions PDF

Tell us what A Vertex Shader Is, And What A Pixel Shader Is?

Unity 3D Developer Interview Question
Unity 3D Developer Interview Question

Answer:

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 3D Developer Interview Questions And Answers PDF

Previous QuestionNext Question
What is MAU (Monthly Active Users)?What is sessions per User?