Explore tens of thousands of sets crafted by our community.
Shader Types and Uses
5
Flashcards
0/5
Compute Shader
Designed for general purpose computing on the GPU, unrelated to rendering graphics. Commonly used for complex simulations such as physics computations or image processing.
Tessellation Shader
Divides a polygon into smaller parts to increase mesh detail dynamically, often resulting in smoother surfaces when up close. Commonly used to adjust level of detail depending on camera distance.
Vertex Shader
Processes vertex data to determine vertex positions and other per-vertex data for each vertex in the mesh. Commonly used for transforming object coordinates to screen coordinates.
Fragment Shader
Calculates the color and other attributes of each fragment. Commonly used for texture mapping, color shading, and other pixel-level operations.
Geometry Shader
Receives primitives such as points, lines, and triangles, and can output additional vertices to create new shapes or geometries. Commonly used for dynamic geometry creation like tessellation.
© Hypatia.Tech. 2024 All rights reserved.