| attribute vec2 a_pos; | |
| varying vec2 v_uv; | |
| uniform mat4 u_matrix; | |
| uniform float u_overlay_scale; | |
| void main() { | |
| // This vertex shader expects a EXTENT x EXTENT quad, | |
| // The UV co-ordinates for the overlay texture can be calculated using that knowledge | |
| v_uv = a_pos / 8192.0; | |
| gl_Position = u_matrix * vec4(a_pos * u_overlay_scale, 0, 1); | |
| } | |
Xet Storage Details
- Size:
- 354 Bytes
- Xet hash:
- 6ac75bfa48383789c3dffd4ceb0e758c4d6902a144727927fa3d54dd718e6afc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.