graphics - What's vertex shading? -


i beginner in polygon based computer graphics. whatever read come across term vertex shading.

what it? far know vertices points 2 edges of polygon meet. how shade vertex (its point)?

please explain

good question; term "vertex shader" indeed misnomer. term "shader" used program typically runs on gpu (as opposed cpu). first incarnation of these pixel shaders, known fragment shaders, name still made sense.

then vertex shaders invented, don't shade anything; have ability transform vertex's position in space, , can pass down per-vertex data pixel shader. "vertex program" better name, word "shader" apparently stuck.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -