💡 Light & Materials

Texture Mapping (UV)

Apply 2D image coordinates (U,V) onto 3D face coordinates. Watch how texture tiling and sampling map spaces.

💾
Checkerboard
Texture Source
📐
1.0
U Wrap Scale
📈
1.0
V Wrap Scale
⏱️
60 FPS
Render Cycle
2D UV Texture Map
Textured 3D Cube

Live C++ OpenGL Code

Parameters

1.0
1.0
Read Guide

Mathematical Trace

Recalculate UV coordinates to map texture spaces.