History: -Vertex and Fragment Programs
Source of version: 3 (current)
Copy to clipboard
{INCLUDE(page="ogrelex ext tpl")/}
---
__Vertex and Fragment Programs / Shaders__ - A ((-Vertex Shader|vertex shader)) / program is small program, generally written in ((-Assembly language|ASM)), ((-GLSL)), ((-Cg)), or ((HLSL)), that performs per-((vertex)) operations on a ((-mesh)). A ((-Pixel Shader|pixel shader)) / program is similar, except that it operates on the ((pixel))s in a ((-texture)) instead of on the ((-vertex|vertices)) in a mesh. These programs run on the ((-GPU)) instead of on the ((-CPU)).