◄ Wiki / Graphics
vertex shader
A small GPU program that runs once per corner point of your 3D geometry.
3D models are built from vertices — the corner points of triangles. A vertex shader is code the GPU runs on each vertex, typically to transform it from model space into its final position on screen and to pass data along to later stages. It's the first programmable step in the rendering pipeline.
See also
- vertex shadingThe rendering stage that processes each 3D corner point, mainly to compute where it lands on screen.
- uniformConstant data passed into a GPU shader that stays fixed for the whole draw.
- VulkanA modern, low-level programming interface for talking directly to graphics and compute hardware.
Referenced by
UBO · uniform · vertex shading