{“vs_code”:”/* Vertex program */\nvoid main() {\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n} \n”,”fs_code”:”/* Fragment program */\nvoid main() {\n gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0); // rgba\n}”,”uniforms”:{“u_time”:{“type”:”f”,”value”:0,”editable”:false},”u_resolution”:{“type”:”v2″,”value”:{“x”:512,”y”:512},”editable”:false},”u_mouse”:{“type”:”v2″,”value”:{“x”:0,”y”:0},”editable”:false}},”description”:”Info about your shader.”,”threeJsSettings”:{“showFloor”:false,”ambientLight”:true,”directionalLight”:true,”selected3DObject”:”Plane”},”attributes”:{“isPublic”:true,”defaultIndex”:1,”categoryId”:34}}
Tut-Hello Shader
Written by
in