UNPKG

vue-cesium

Version:
24 lines (17 loc) 677 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); "use strict"; const text = ` uniform sampler2D currentParticlesPosition; // (lon, lat, lev) uniform sampler2D particlesSpeed; // (u, v, w, norm) Unit converted to degrees of longitude and latitude in vec2 v_textureCoordinates; void main() { // texture coordinate must be normalized vec3 lonLatLev = texture(currentParticlesPosition, v_textureCoordinates).rgb; vec3 speed = texture(particlesSpeed, v_textureCoordinates).rgb; vec3 nextParticle = lonLatLev + speed; out_FragColor = vec4(nextParticle, 0.0); } `; exports["default"] = text; //# sourceMappingURL=updatePosition.frag.js.map