Buckets:
| export const vertex = /* glsl */` | |
| varying vec3 vWorldDirection; | |
| #include <common> | |
| void main() { | |
| vWorldDirection = transformDirection( position, modelMatrix ); | |
| #include <begin_vertex> | |
| #include <project_vertex> | |
| } | |
| `; | |
| export const fragment = /* glsl */` | |
| uniform sampler2D tEquirect; | |
| varying vec3 vWorldDirection; | |
| #include <common> | |
| void main() { | |
| vec3 direction = normalize( vWorldDirection ); | |
| vec2 sampleUV = equirectUv( direction ); | |
| gl_FragColor = texture2D( tEquirect, sampleUV ); | |
| #include <tonemapping_fragment> | |
| #include <colorspace_fragment> | |
| } | |
| `; | |
Xet Storage Details
- Size:
- 568 Bytes
- Xet hash:
- 5106d188bc8b9d5e4a3ee1f9fc65f5d7e5be158c3c32d30eb72ce5b518fba3bc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.