three-stdlib
Version:
stand-alone library of threejs examples
28 lines (23 loc) • 481 B
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const BasicShader = {
uniforms: {},
vertexShader: (
/* glsl */
`
void main() {
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
}
`
),
fragmentShader: (
/* glsl */
`
void main() {
gl_FragColor = vec4( 1.0, 0.0, 0.0, 0.5 );
}
`
)
};
exports.BasicShader = BasicShader;
//# sourceMappingURL=BasicShader.cjs.map
;