1 |
- {"metadata":{"version":4.5,"type":"Object","generator":"Object3D.toJSON"},"geometries":[{"uuid":"f9dc954b-5503-4546-a8cf-55d9ce977578","type":"BufferGeometry","data":{"attributes":{}}}],"materials":[{"uuid":"a03238de-7032-48e7-8cdc-197fe3324fea","type":"ShaderMaterial","name":"CheckerboardShaderMaterial","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__":"a03238de-7032-48e7-8cdc-197fe3324fea"},"glslVersion":null,"uniforms":{"color1":{"type":"c","value":16777215},"color2":{"type":"c","value":0},"scale":{"value":5}},"vertexShader":"varying vec2 vUv;\nvoid main() {\n vUv = uv;\n gl_Position = projectionMatrix * modelViewMatrix * vec4(position,1.0);\n}","fragmentShader":"varying vec2 vUv;\nvoid main() {\n vec2 center = -1.0 + 2.0 * vUv;\n vec2 uv = floor(center.xy * 5.0f);\n if(mod(uv.x + uv.y, 2.0) > 0.5){\n gl_FragColor = vec4(1.0,1.0,1.0, 1.0);\n }else{\n gl_FragColor = vec4(0.0,0.0,0.0, 1.0);\n }\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":44,"_alphaTest":0,"isShaderMaterial":true,"linewidth":1,"wireframe":false,"wireframeLinewidth":1,"lights":false,"clipping":false,"uniformsNeedUpdate":false}],"object":{"uuid":"427252ae-e338-47d5-8798-8b38879c80a9","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":"f9dc954b-5503-4546-a8cf-55d9ce977578","material":"a03238de-7032-48e7-8cdc-197fe3324fea"},"images":[]}
|