Buckets:

imerfanrajabee's picture
download
raw
523 Bytes
/**
* @module BasicShader
* @three_import import { BasicShader } from 'three/addons/shaders/BasicShader.js';
*/
/**
* Simple shader for testing.
*
* @constant
* @type {ShaderMaterial~Shader}
*/
const BasicShader = {
name: '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 );
}`
};
export { BasicShader };

Xet Storage Details

Size:
523 Bytes
·
Xet hash:
42fb86d2979e25158c7d57f0bf438c933d48d3b09cc29c903e7fa91ef0edfe27

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.