UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

14 lines (13 loc) 448 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const BasicShader = { uniforms: {}, vertexShader: [ "void main() {", " gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );", "}" ].join("\n"), fragmentShader: ["void main() {", " gl_FragColor = vec4( 1.0, 0.0, 0.0, 0.5 );", "}"].join("\n") }; exports.BasicShader = BasicShader; //# sourceMappingURL=BasicShader.cjs.map