VaporwaveGradientMaterial.rogueMaterial 1.8 KB

1
  1. {"metadata":{"version":4.5,"type":"Object","generator":"Object3D.toJSON"},"geometries":[{"uuid":"afcc6f69-a032-4b47-b9ef-66939955d318","type":"BufferGeometry","data":{"attributes":{}}}],"materials":[{"uuid":"299674ca-8518-4608-83c1-2120a1b545f9","type":"ShaderMaterial","name":"VaporwaveGradientMaterial","depthFunc":3,"depthTest":true,"depthWrite":true,"colorWrite":true,"stencilWrite":false,"stencilWriteMask":255,"stencilFunc":519,"stencilRef":0,"stencilFuncMask":255,"stencilFail":7680,"stencilZFail":7680,"stencilZPass":7680,"fog":false,"userData":{"__ASSET__":"299674ca-8518-4608-83c1-2120a1b545f9"},"glslVersion":null,"uniforms":{},"vertexShader":" #version 300 es\n\n in vec4 vertexPosition;\n\n void main() {\n gl_Position = vertexPosition;\n }","fragmentShader":" #version 300 es\n precision highp float;\n\n uniform vec2 canvasSize;\n out vec4 fragColor;\n\n void main() {\n vec2 coord = gl_FragCoord.xy/canvasSize.xy;\n fragColor = vec4(coord.x, coord.y, 1.-coord.x, 1);\n }","isMaterial":true,"blending":1,"side":0,"vertexColors":false,"opacity":1,"transparent":false,"blendSrc":204,"blendDst":205,"blendEquation":100,"clipIntersection":false,"clipShadows":false,"polygonOffset":false,"polygonOffsetFactor":0,"polygonOffsetUnits":0,"dithering":false,"alphaToCoverage":false,"premultipliedAlpha":false,"visible":true,"toneMapped":true,"version":30,"_alphaTest":0,"isShaderMaterial":true,"linewidth":1,"wireframe":false,"wireframeLinewidth":1,"lights":false,"clipping":false,"uniformsNeedUpdate":false}],"object":{"uuid":"7cebbf61-473d-4e34-8caa-ad53590a514b","type":"Mesh","userData":{"__IS_MATERIAL__":true},"layers":1,"matrix":[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],"geometry":"afcc6f69-a032-4b47-b9ef-66939955d318","material":"299674ca-8518-4608-83c1-2120a1b545f9"},"images":[]}