background_vert.glsl.js 183 B

123456789101112
  1. export default /* glsl */`
  2. varying vec2 vUv;
  3. uniform mat3 uvTransform;
  4. void main() {
  5. vUv = ( uvTransform * vec3( uv, 1 ) ).xy;
  6. gl_Position = vec4( position.xy, 1.0, 1.0 );
  7. }
  8. `;
粤ICP备19079148号