UNPKG

@luma.gl/shadertools

Version:

Shader module system for luma.gl

13 lines (12 loc) 344 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.random = void 0; var fs = "float random(vec3 scale, float seed) {\n return fract(sin(dot(gl_FragCoord.xyz + seed, scale)) * 43758.5453 + seed);\n}\n"; var random = { name: 'random', fs: fs }; exports.random = random; //# sourceMappingURL=random.js.map