julien-c's picture
julien-c HF staff
do not gitignore the builds
6cd9596
raw
history blame
376 Bytes
/**
* @author mrdoob / http://www.mrdoob.com
*
* Simple test shader
*/
THREE.BasicShader = {
uniforms: {},
vertexShader: [
"void main() {",
"gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );",
"}"
].join( "\n" ),
fragmentShader: [
"void main() {",
"gl_FragColor = vec4( 1.0, 0.0, 0.0, 0.5 );",
"}"
].join( "\n" )
};