Home › Per LearnOpenGL (shaders), a VERTEX SHADER's mai…
Per LearnOpenGL (shaders), a VERTEX SHADER's main role is which?
ASample the depth buffer for each fragment
BCull triangles that are not visible
CTransform per-vertex position from object space
DCompute the final per-pixel output colour
Answer & Solution
Correct answer: C. Transform per-vertex position from object space
LearnOpenGL Shaders: vertex shader runs per vertex; applies MVP transformations and writes gl_Position. Per-pixel colour is the FS's job.
Related questions
Per Book of Shaders + LearnOpenGL, the standard COLOR model for screen rendering is which?Per Khan Academy Pixar-in-a-Box (parametric curves), a CUBIC Bezier curve is defined by hoPer LearnOpenGL (blending), the standard ALPHA blending formula is which?Per LearnOpenGL (PBR), Physically Based Rendering uses which microfacet-based reflection mPer LearnOpenGL (lighting), the PHONG reflection model adds which three components?Per LearnOpenGL (textures), the (u, v) coordinates of a texture are normalised to which raPer LearnOpenGL (transforms), a 2D AFFINE transformation typically combines which two operIn common practice (game engines), the typical TARGET frame rate for modern console / PC g