⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠ You can decompress Drawing data with the command palette: ‘Decompress current Excalidraw file’. For more info check in plugin settings under ‘Saving’
Excalidraw Data
Text Elements
(0,0)
(0,1)
(1,0)
(1,1)
not (x,y)
but (u,v)
V1 (-0.5, 0,5, 0)
V2 (0.5, 0,5, 0)
V4 (0.5, -0,5, 0)
V3 (-0.5, -0,5, 0)
positon: xyz
texture: uv
give each vertex an UV texture coordinate
we want to render the whole texture onto the quad
(0,0)
(1,0)
(0,1)
(1,1)
VAO
positions:[V1,V2,V3,V4]
texture coords:
[ ]
(0,0)
(1,0)
(1,1)
(0,1)