flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
29
VISUALIZACION/node_modules/three/examples/jsm/shaders/BasicShader.js
generated
vendored
Executable file
29
VISUALIZACION/node_modules/three/examples/jsm/shaders/BasicShader.js
generated
vendored
Executable file
|
|
@ -0,0 +1,29 @@
|
|||
/**
|
||||
* Simple test 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 };
|
||||
Loading…
Add table
Add a link
Reference in a new issue