Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+36
View File
@@ -0,0 +1,36 @@
/**
* @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 };