Suppose you do shading calculations in the vertex shader


Question :

a) Suppose you do shading calculations in the vertex shader. What happens to the vertex colors when they go from the vertex shader to the fragmant shader?

b) Suppose instead you want to do the shading calculations in the fragment shader. What happens to the vertex positions and the vertex normals as you go from the vertex shader to the fragment shader?

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Suppose you do shading calculations in the vertex shader
Reference No:- TGS02936789

Expected delivery within 24 Hours