summit/frontend/node_modules/three-stdlib/shaders/BasicShader.cjs

28 lines
481 B
JavaScript

"use strict";
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