{"version":1,"fingerprint":{"three":"187","features":["core-features-and-limits","float32-filterable","subgroups","clip-distances","texture-formats-tier1","depth32float-stencil8","rg11b10ufloat-renderable"],"canvasFormat":"bgra8unorm","maxUniformBufferBindingSize":65536,"uniformityDiagnostic":true},"shaders":["// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tnodeUniform1 : vec2<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\nvar<private> nodeVar0 : vec4<f32>;\n\n// codes\nfn stable_fn0 ( color : vec4<f32> ) -> vec4<f32> {\n\n\tvar nodeVar0 : vec4<f32>;\n\n\n\tif ( ( color.w == 0.0 ) ) {\n\n\t\tnodeVar0 = vec4<f32>( 0.0, 0.0, 0.0, 0.0 );\n\n\t} else {\n\n\t\tnodeVar0 = vec4<f32>( ( color.xyz / vec3<f32>( color.w ) ), color.w );\n\n\t}\n\n\n\treturn nodeVar0;\n\n}\n\n\nfn stable_fn1 ( color : vec3<f32> ) -> vec3<f32> {\n\n\t\n\n\n\treturn mix( ( ( pow( color, vec3<f32>( 0.41666 ) ) * vec3<f32>( 1.055 ) ) - vec3<f32>( 0.055 ) ), ( color * vec3<f32>( 12.92 ) ), vec3<f32>( ( color <= vec3<f32>( 0.0031308 ) ) ) );\n\n}\n\n\nfn stable_fn2 ( color : vec4<f32> ) -> vec4<f32> {\n\n\t\n\n\n\treturn vec4<f32>( ( color.xyz * vec3<f32>( color.w ) ), color.w );\n\n}\n\n\n\n\n@fragment\nfn main( @builtin( position ) fragCoord : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( fragCoord.xy / render.nodeUniform1 ) );\n\tlet nodeConst0 = stable_fn0( vec4<f32>( nodeVar0.xyz, clamp( nodeVar0.w, 0.0, 1.0 ) ) );\n\n\t// result\n\n\toutput.color = stable_fn2( vec4<f32>( stable_fn1( nodeConst0.xyz ), nodeConst0.w ) );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tnodeUniform0 : vec2<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform1 );\n\tpositionLocal = position;\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// directives\nenable subgroups;\n\n// system\nvar<private> instanceIndex : u32;\n\n// locals\n\n\n// structs\n\n\n// uniforms\n\nstruct nodeUniform0Struct {\n\tvalue : array< vec4<f32> >\n};\n@binding( 0 ) @group( 0 )\nvar<storage, read_write> nodeUniform0 : nodeUniform0Struct;\n\nstruct nodeUniform3Struct {\n\tvalue : array< vec2<f32> >\n};\n@binding( 2 ) @group( 0 )\nvar<storage, read_write> nodeUniform3 : nodeUniform3Struct;\n\nstruct objectStruct {\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec2<f32>,\n\tnodeUniform4 : f32,\n\tnodeUniform5 : f32,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : u32\n};\n@binding( 1 ) @group( 0 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n\n// codes\n\n\n@compute @workgroup_size( 64, 1, 1 )\nfn main( @builtin( global_invocation_id ) globalId : vec3<u32>,\n\t@builtin( workgroup_id ) workgroupId : vec3<u32>,\n\t@builtin( local_invocation_id ) localId : vec3<u32>,\n\t@builtin( num_workgroups ) numWorkgroups : vec3<u32>,\n\t@builtin( subgroup_size ) subgroupSize : u32 ) {\n\n\t// local vars\n\t\n\n\t// system\n\tinstanceIndex = globalId.x\n\t\t+ globalId.y * ( 64 * numWorkgroups.x )\n\t\t+ globalId.z * ( 64 * numWorkgroups.x ) * ( 1 * numWorkgroups.y );\n\n\t// flow\n\t// code\n\n\tif ( instanceIndex >= object.nodeUniform7 ) { return; }\n\n\tlet nodeConst0 = vec3<f32>( nodeUniform0.value[ instanceIndex ].x, 0.0, nodeUniform0.value[ instanceIndex ].z );\n\tlet nodeConst1 = distance( nodeConst0, object.nodeUniform1 );\n\n\tif ( ( ( nodeConst1 >= object.nodeUniform2.x ) && ( nodeConst1 <= object.nodeUniform2.y ) ) ) {\n\n\t\tnodeUniform3.value[ instanceIndex ].x = 0.25;\n\t\t\n\n\t} else {\n\n\t\tlet nodeConst2 = ( object.nodeUniform4 * object.nodeUniform5 );\n\t\tlet nodeConst3 = ( ( smoothstep( nodeConst2, ( nodeConst2 * 5.0 ), distance( nodeConst0, object.nodeUniform6 ) ) * 0.75 ) + 0.25 );\n\n\t\tif ( ( nodeConst3 < nodeUniform3.value[ instanceIndex ].x ) ) {\n\n\t\t\tnodeUniform3.value[ instanceIndex ].x = nodeConst3;\n\t\t\t\n\n\t\t} else {\n\n\n\t\t\tif ( ( nodeUniform3.value[ instanceIndex ].x < 0.625 ) ) {\n\n\t\t\t\tnodeUniform3.value[ instanceIndex ].x = ( nodeUniform3.value[ instanceIndex ].x + ( ( nodeConst3 - nodeUniform3.value[ instanceIndex ].x ) * 0.0016 ) );\n\t\t\t\t\n\n\t\t\t} else {\n\n\t\t\t\tnodeUniform3.value[ instanceIndex ].x = ( nodeUniform3.value[ instanceIndex ].x + ( ( nodeConst3 - nodeUniform3.value[ instanceIndex ].x ) * 0.05 ) );\n\t\t\t\t\n\n\t\t\t}\n\n\t\t\t\n\n\t\t}\n\n\t\t\n\n\t}\n\n\tnodeUniform3.value[ instanceIndex ].x = clamp( nodeUniform3.value[ instanceIndex ].x, 0.25, 1.0 );\n\n\t\n\n}\n","\nstruct VarysStruct {\n\t@builtin( position ) Position: vec4f,\n\t@location( 0 ) vTex : vec2f,\n\t@location( 1 ) @interpolate(flat, either) vBaseArrayLayer: u32,\n};\n\n@group( 0 ) @binding ( 2 )\nvar<uniform> flipY: u32;\n\n@vertex\nfn mainVS(\n\t\t@builtin( vertex_index ) vertexIndex : u32,\n\t\t@builtin( instance_index ) instanceIndex : u32 ) -> VarysStruct {\n\n\tvar Varys : VarysStruct;\n\n\tvar pos = array(\n\t\tvec2f( -1, -1 ),\n\t\tvec2f( -1,  3 ),\n\t\tvec2f(  3, -1 ),\n\t);\n\n\tlet p = pos[ vertexIndex ];\n\tlet mult = select( vec2f( 0.5, -0.5 ), vec2f( 0.5, 0.5 ), flipY != 0 );\n\tVarys.vTex = p * mult + vec2f( 0.5 );\n\tVarys.Position = vec4f( p, 0, 1 );\n\tVarys.vBaseArrayLayer = instanceIndex;\n\n\treturn Varys;\n\n}\n\n@group( 0 ) @binding( 0 )\nvar imgSampler : sampler;\n\n@group( 0 ) @binding( 1 )\nvar img2d : texture_2d<f32>;\n\n@fragment\nfn main_2d( Varys: VarysStruct ) -> @location( 0 ) vec4<f32> {\n\n\treturn textureSample( img2d, imgSampler, Varys.vTex );\n\n}\n\n@group( 0 ) @binding( 1 )\nvar img2dArray : texture_2d_array<f32>;\n\n@fragment\nfn main_2d_array( Varys: VarysStruct ) -> @location( 0 ) vec4<f32> {\n\n\treturn textureSample( img2dArray, imgSampler, Varys.vTex, Varys.vBaseArrayLayer );\n\n}\n\nconst faceMat = array(\n  mat3x3f(  0,  0,  -2,  0, -2,   0,  1,  1,   1 ),   // pos-x\n  mat3x3f(  0,  0,   2,  0, -2,   0, -1,  1,  -1 ),   // neg-x\n  mat3x3f(  2,  0,   0,  0,  0,   2, -1,  1,  -1 ),   // pos-y\n  mat3x3f(  2,  0,   0,  0,  0,  -2, -1, -1,   1 ),   // neg-y\n  mat3x3f(  2,  0,   0,  0, -2,   0, -1,  1,   1 ),   // pos-z\n  mat3x3f( -2,  0,   0,  0, -2,   0,  1,  1,  -1 ),   // neg-z\n);\n\n@group( 0 ) @binding( 1 )\nvar imgCube : texture_cube<f32>;\n\n@fragment\nfn main_cube( Varys: VarysStruct ) -> @location( 0 ) vec4<f32> {\n\n\treturn textureSample( imgCube, imgSampler, faceMat[ Varys.vBaseArrayLayer ] * vec3f( fract( Varys.vTex ), 1 ) );\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying5.y * 0.3 ) + 0.35 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying5.x / 1.328 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tlet nodeConst4 = ( nodeVarying5.x / 0.332 );\n\tlet nodeConst5 = max( fwidth( nodeConst4 ), 0.0001 );\n\tlet nodeConst6 = ( ( nodeVarying5.y - 0.17 ) * 10.843373493975903 );\n\tlet nodeConst7 = max( fwidth( nodeConst6 ), 0.0001 );\n\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 8.0 ) ) );\n\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 3.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst8 = clamp( ( ( ( ( fract( ( sin( ( floor( ( nodeVarying5.x / 0.48 ) ) * 12.9898 ) ) * 43758.5453 ) ) * 0.34 ) + ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.2 ) ) + 0.16 ) + ( ( ( ( ( nodeVar2.y * 0.5 ) + ( nodeVar3.y * 0.34 ) ) + ( nodeVar2.x * 0.16 ) ) - 0.5 ) * 0.62 ) ), 0.0, 1.0 );\n\tlet nodeConst9 = ( nodeVarying5.x / 0.48 );\n\tlet nodeConst10 = max( fwidth( nodeConst9 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( mix( mix( mix( mix( mix( vec3<f32>( 0.6307571363387763, 0.5394794890033748, 0.36130677977297226 ), vec3<f32>( 0.8069522576650873, 0.7156935005005721, 0.5271151256969157 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7156935005005721 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9473065367320066, 0.8227857543924378 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.04231141061442144, 0.02121901037134225, 0.011612245176281512 ), max( max( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.04 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.08, smoothstep( 0.15, 0.45, nodeConst3 ) ), mix( smoothstep( ( - nodeConst5 ), nodeConst5, ( 0.06 - abs( ( fract( ( nodeConst4 + 0.5 ) ) - 0.5 ) ) ) ), 0.12, smoothstep( 0.15, 0.45, nodeConst5 ) ) ), mix( smoothstep( ( - nodeConst7 ), nodeConst7, ( 0.07 - abs( ( fract( ( nodeConst6 + 0.5 ) ) - 0.5 ) ) ) ), 0.14, smoothstep( 0.15, 0.45, nodeConst7 ) ) ) ), ( ( mix( mix( mix( vec3<f32>( 0.025186859622305935, 0.013702083043526807, 0.009134058699157796 ), vec3<f32>( 0.07618538147321911, 0.038204371589236, 0.018500220124016652 ), smoothstep( 0.0, 0.3333333333333333, nodeConst8 ) ), vec3<f32>( 0.19461783043107173, 0.09758734713304495, 0.03954623527052923 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst8 ) ), vec3<f32>( 0.3515325994898463, 0.20863687013464577, 0.08865558627723595 ), smoothstep( 0.6666666666666666, 1.0, nodeConst8 ) ) * vec3<f32>( ( ( ( nodeVar3.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst10 ), nodeConst10, ( 0.035 - abs( ( fract( ( nodeConst9 + 0.5 ) ) - 0.5 ) ) ) ), 0.07, smoothstep( 0.15, 0.45, nodeConst10 ) ) * -0.45 ) + 1.0 ) ) ), step( nodeVarying5.y, 0.17 ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst11 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst11;\n\n\t// result\n\n\toutput.color = nodeConst11;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) uv : vec2<f32>,\n\t@location( 1 ) position : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tvaryings.nodeVarying5 = uv;\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying5.y * 0.3 ) + 0.35 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying5.x / 0.332 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tlet nodeConst4 = ( nodeVarying5.y * 4.0 );\n\tlet nodeConst5 = max( fwidth( nodeConst4 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( mix( mix( mix( mix( vec3<f32>( 0.6307571363387763, 0.5394794890033748, 0.36130677977297226 ), vec3<f32>( 0.8069522576650873, 0.7156935005005721, 0.5271151256969157 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7156935005005721 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9473065367320066, 0.8227857543924378 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.04231141061442144, 0.02121901037134225, 0.011612245176281512 ), max( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.07 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.14, smoothstep( 0.15, 0.45, nodeConst3 ) ), mix( smoothstep( ( - nodeConst5 ), nodeConst5, ( 0.06 - abs( ( fract( ( nodeConst4 + 0.5 ) ) - 0.5 ) ) ) ), 0.12, smoothstep( 0.15, 0.45, nodeConst5 ) ) ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst6 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst6;\n\n\t// result\n\n\toutput.color = nodeConst6;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 4.4 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 1.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( ( 1.0 - nodeVarying5.y ) * 0.3 ) + 0.22 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.85 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying5.y * 7.0 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( ( ( mix( mix( mix( vec3<f32>( 0.0722718506743852, 0.054480276435339814, 0.03954623527052923 ), vec3<f32>( 0.174647403645279, 0.13843161502267545, 0.10224173307914941 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.33245153633549385, 0.2704977910022518, 0.1878207722902346 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.5271151256969157, 0.4452011945063733, 0.3139887133649649 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.07 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.14, smoothstep( 0.15, 0.45, nodeConst3 ) ) * -0.22 ) + 1.0 ) ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst4 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst4;\n\n\t// result\n\n\toutput.color = nodeConst4;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, ( v_positionWorld.y + ( nodeVarying5.y * 1.3 ) ) );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 2.4 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 0.9 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( nodeVar0.x * 0.85 ) + ( ( nodeVar1.x - 0.5 ) * 0.3 ) ), 0.0, 1.0 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( mix( mix( mix( mix( vec3<f32>( 0.0722718506743852, 0.06480326668529614, 0.08437621153575764 ), vec3<f32>( 0.181164244239483, 0.16513219449147767, 0.19461783043107173 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.36130677977297226, 0.3277780980458375, 0.3139887133649649 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.5840784178830671, 0.5332764040016892, 0.46778379610254284 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.12213877222015301, 0.22696587349938613, 0.04817182422013895 ), ( ( smoothstep( 0.9, 0.3, v_positionWorld.y ) * nodeVar0.y ) * 0.85 ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst2 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst2;\n\n\t// result\n\n\toutput.color = nodeConst2;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying5.y * 0.3 ) + 0.35 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying5.x / 0.12 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( mix( ( mix( mix( mix( vec3<f32>( 0.6307571363387763, 0.5394794890033748, 0.36130677977297226 ), vec3<f32>( 0.8069522576650873, 0.7156935005005721, 0.5271151256969157 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7156935005005721 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9473065367320066, 0.8227857543924378 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( 0.55 ) ), vec3<f32>( 0.033104766565152086, 0.01764195448412081, 0.010329823026364548 ), mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.3 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.6, smoothstep( 0.15, 0.45, nodeConst3 ) ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst4 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst4;\n\n\t// result\n\n\toutput.color = nodeConst4;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.4 ) + 0.3 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.7 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = mix( mix( mix( mix( vec3<f32>( 0.26225065751888765, 0.171441100722554, 0.08021982030622662 ), vec3<f32>( 0.45641102317066595, 0.3049873140591091, 0.14412847084818123 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.6724431569510133, 0.4910208498384856, 0.2541520943200296 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.85499260812105, 0.7011018919268015, 0.4232676699760063 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.23839757380151394, 0.2788942634659966, 0.07818742179702069 ), ( smoothstep( 1.5, 0.45, v_positionWorld.y ) * 0.45 ) );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( mix( nodeConst2, ( nodeConst2 * vec3<f32>( 0.56, 0.56, 0.76 ) ), ( smoothstep( 0.45, 1.0, nodeVarying5.y ) * 0.5 ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst3 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst3;\n\n\t// result\n\n\toutput.color = nodeConst3;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32>,\n\t@location( 1 ) uv : vec2<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.nodeVarying5 = uv;\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 8.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 3.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( ( fract( ( sin( ( floor( ( nodeVarying5.x / 0.48 ) ) * 12.9898 ) ) * 43758.5453 ) ) * 0.34 ) + ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.2 ) ) + 0.16 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.62 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying5.x / 0.48 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tlet nodeConst4 = ( ( mix( mix( mix( vec3<f32>( 0.025186859622305935, 0.013702083043526807, 0.009134058699157796 ), vec3<f32>( 0.07618538147321911, 0.038204371589236, 0.018500220124016652 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.19461783043107173, 0.09758734713304495, 0.03954623527052923 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.3515325994898463, 0.20863687013464577, 0.08865558627723595 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.035 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.07, smoothstep( 0.15, 0.45, nodeConst3 ) ) * -0.45 ) + 1.0 ) ) );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( mix( nodeConst4, ( nodeConst4 * vec3<f32>( 0.56, 0.56, 0.76 ) ), ( smoothstep( 0.45, 1.0, nodeVarying5.y ) * 0.5 ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst5 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst5;\n\n\t// result\n\n\toutput.color = nodeConst5;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 2 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform2 : mat4x4<f32>,\n\tnodeUniform3 : f32\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = smoothstep( 3.6, 13.5, v_positionWorld.y );\n\tlet nodeConst1 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst1 / vec2<f32>( 7.5, 9.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst1 / vec2<f32>( 2.7, 3.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst2 = clamp( ( ( ( nodeConst0 * 0.4 ) + 0.24 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.8 ) ), 0.0, 1.0 );\n\tnodeVar2 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.0045 ) ) + vec2<f32>( 0.13, 0.71 ) ) );\n\tnodeVar3 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.05 ) ) + vec2<f32>( 0.0 ) ) );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( ( mix( mix( ( mix( mix( mix( mix( mix( mix( vec3<f32>( 0.10702310296918527, 0.06480326668529614, 0.02955683443236377 ), vec3<f32>( 0.2541520943200296, 0.14412847084818123, 0.04817182422013895 ), smoothstep( 0.0, 0.25, nodeConst2 ) ), vec3<f32>( 0.4735314961384573, 0.2788942634659966, 0.08021982030622662 ), smoothstep( 0.25, 0.5, nodeConst2 ) ), vec3<f32>( 0.7230551289161951, 0.48514994004665124, 0.1499597898006365 ), smoothstep( 0.5, 0.75, nodeConst2 ) ), vec3<f32>( 0.8879231178794776, 0.6938717612856897, 0.2874408377161099 ), smoothstep( 0.75, 1.0, nodeConst2 ) ), mix( mix( mix( mix( vec3<f32>( 0.11193242782769693, 0.08437621153575764, 0.05126945836711539 ), vec3<f32>( 0.2541520943200296, 0.1844749944900301, 0.10224173307914941 ), smoothstep( 0.0, 0.25, nodeConst2 ) ), vec3<f32>( 0.450785782828426, 0.33245153633549385, 0.181164244239483 ), smoothstep( 0.25, 0.5, nodeConst2 ) ), vec3<f32>( 0.6444796819634361, 0.5028864580233624, 0.2874408377161099 ), smoothstep( 0.5, 0.75, nodeConst2 ) ), vec3<f32>( 0.8227857543924378, 0.6938717612856897, 0.4452011945063733 ), smoothstep( 0.75, 1.0, nodeConst2 ) ), ( smoothstep( 0.36, 0.7, nodeVar2.z ) * 0.8 ) ), mix( mix( mix( vec3<f32>( 0.05286064701616471, 0.11697066774917994, 0.04231141061442144 ), vec3<f32>( 0.13286832154414627, 0.23839757380151394, 0.04970656597728775 ), smoothstep( 0.0, 0.3333333333333333, nodeConst2 ) ), vec3<f32>( 0.2788942634659966, 0.3915724777393922, 0.07618538147321911 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst2 ) ), vec3<f32>( 0.46778379610254284, 0.5271151256969157, 0.13286832154414627 ), smoothstep( 0.6666666666666666, 1.0, nodeConst2 ) ), ( ( smoothstep( 0.5, 0.74, ( ( nodeVar3.x * 0.55 ) + ( nodeVar0.x * 0.45 ) ) ) * ( 1.0 - nodeConst0 ) ) * 0.75 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.16 ) + 1.0 ) ) ), vec3<f32>( 0.06847816983662762, 0.03954623527052923, 0.019382360952473074 ), ( smoothstep( 0.42, 0.22, nodeVar1.w ) * 0.6 ) ), vec3<f32>( 0.9215818562755338, 0.775822218312646, 0.4019777798219466 ), ( smoothstep( 0.6, 0.82, nodeVar1.w ) * 0.48 ) ) * vec3<f32>( ( ( smoothstep( 0.72, 1.0, nodeVarying5.y ) * -0.13 ) + 1.0 ) ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform3 );\n\tlet nodeConst3 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst3;\n\n\t// result\n\n\toutput.color = nodeConst3;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32>,\n\t@location( 1 ) uv : vec2<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.nodeVarying5 = uv;\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : f32,\n\tnodeUniform2 : mat4x4<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) nodeVarying4 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( ( nodeVarying4.y * 0.9 ), nodeVarying4.x );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 2.4, 6.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 0.9, 2.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying4.y * 0.5 ) + 0.2 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.7 ) ), 0.0, 1.0 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( ( mix( mix( mix( vec3<f32>( 0.06301001764564068, 0.036889450395083165, 0.023153366173251363 ), vec3<f32>( 0.181164244239483, 0.09989872823822872, 0.04231141061442144 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.4232676699760063, 0.26225065751888765, 0.09305896283800832 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.6938717612856897, 0.4910208498384856, 0.20155625378383743 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.2 ) + 1.0 ) ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform1 );\n\tlet nodeConst2 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst2;\n\n\t// result\n\n\toutput.color = nodeConst2;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform0 : f32,\n\tnodeUniform1 : mat4x4<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) nodeVarying4 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) uv : vec2<f32>,\n\t@location( 1 ) position : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tvaryings.nodeVarying4 = uv;\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform1 );\n\tpositionLocal = position;\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 8.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 3.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( ( fract( ( sin( ( floor( ( nodeVarying5.x / 0.48 ) ) * 12.9898 ) ) * 43758.5453 ) ) * 0.34 ) + ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.2 ) ) + 0.16 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.62 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying5.x / 0.48 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( ( ( mix( mix( mix( vec3<f32>( 0.0069954101845983935, 0.006048833020386069, 0.008568125615105716 ), vec3<f32>( 0.02217388478862708, 0.018500220124016652, 0.024157632443547246 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.05612849004241121, 0.04666508633021928, 0.059511238155621766 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.10702310296918527, 0.09084171117479915, 0.11193242782769693 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.035 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.07, smoothstep( 0.15, 0.45, nodeConst3 ) ) * -0.45 ) + 1.0 ) ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst4 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst4;\n\n\t// result\n\n\toutput.color = nodeConst4;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying5.y * 0.5 ) + 0.2 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.5 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = length( vec2<f32>( ( nodeVarying5.x - 1.2000000000000002 ), ( ( nodeVarying5.y - 0.5 ) * 1.2800000000000002 ) ) );\n\tlet nodeConst3 = ( nodeVarying5.x / 0.8000000000000002 );\n\tlet nodeConst4 = max( fwidth( nodeConst3 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( ( mix( mix( mix( mix( vec3<f32>( 0.008023192982520563, 0.02955683443236377, 0.10224173307914941 ), vec3<f32>( 0.01680737574872402, 0.06847816983662762, 0.21586050010324417 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.04231141061442144, 0.1499597898006365, 0.3915724777393922 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.11193242782769693, 0.2788942634659966, 0.55201140150344 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.9215818562755338, 0.8796223968851662, 0.775822218312646 ), ( ( 1.0 - smoothstep( 0.272, 0.32000000000000006, nodeConst2 ) ) * smoothstep( 0.16000000000000003, 0.20800000000000002, nodeConst2 ) ) ) * vec3<f32>( ( ( ( mix( smoothstep( ( - nodeConst4 ), nodeConst4, ( 0.012 - abs( ( fract( ( nodeConst3 + 0.5 ) ) - 0.5 ) ) ) ), 0.024, smoothstep( 0.15, 0.45, nodeConst4 ) ) * step( nodeVarying5.y, 0.7 ) ) * -0.75 ) + 1.0 ) ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst5 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst5;\n\n\t// result\n\n\toutput.color = nodeConst5;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 8.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 3.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( ( fract( ( sin( ( floor( ( nodeVarying5.x / 0.48 ) ) * 12.9898 ) ) * 43758.5453 ) ) * 0.34 ) + ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.2 ) ) + 0.16 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.62 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying5.x / 0.48 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( ( ( mix( mix( mix( vec3<f32>( 0.10702310296918527, 0.059511238155621766, 0.02955683443236377 ), vec3<f32>( 0.24620132669705552, 0.13563332964548108, 0.061246054224174035 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.450785782828426, 0.2704977910022518, 0.12213877222015301 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.6444796819634361, 0.43415363616478553, 0.21586050010324417 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.035 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.07, smoothstep( 0.15, 0.45, nodeConst3 ) ) * -0.45 ) + 1.0 ) ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst4 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst4;\n\n\t// result\n\n\toutput.color = nodeConst4;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : mat4x4<f32>,\n\tnodeUniform3 : f32,\n\tnodeUniform4 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main(  ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vec4<f32>( 0.0, 0.0, 0.0, 1.0 );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform4 );\n\tlet nodeConst0 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst0;\n\n\t// result\n\n\toutput.color = nodeConst0;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraWorldMatrix : mat4x4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : mat4x4<f32>,\n\tnodeUniform3 : f32,\n\tnodeUniform4 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) position : vec3<f32>,\n\t@location( 1 ) previous : vec3<f32>,\n\t@location( 2 ) next : vec3<f32>,\n\t@location( 3 ) joinRole : f32,\n\t@location( 4 ) width : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar shadowPosView : vec4<f32>;\n\tvar shadowPrevView : vec4<f32>;\n\tvar shadowNextView : vec4<f32>;\n\tvar shadowPosClip : vec4<f32>;\n\tvar shadowPrevClip : vec4<f32>;\n\tvar shadowNextClip : vec4<f32>;\n\tvar shadowPosScreen : vec2<f32>;\n\tvar shadowPrevScreen : vec2<f32>;\n\tvar shadowNextScreen : vec2<f32>;\n\tvar shadowScreenDelta1 : vec2<f32>;\n\tvar shadowScreenDelta2 : vec2<f32>;\n\tvar shadowScreenDelta1Length : f32;\n\tvar shadowScreenDelta2Length : f32;\n\tvar shadowScreenDirection1 : vec2<f32>;\n\tvar shadowScreenDirection2 : vec2<f32>;\n\tvar shadowDelta1Raw : vec3<f32>;\n\tvar shadowDelta2Raw : vec3<f32>;\n\tvar nodeVar0 : bool;\n\tvar shadowAtStart : bool;\n\tvar shadowAtEnd : bool;\n\tvar nodeVar1 : vec3<f32>;\n\tvar shadowDelta1 : vec3<f32>;\n\tvar nodeVar2 : vec3<f32>;\n\tvar shadowDelta2 : vec3<f32>;\n\tvar shadowDelta1Length : f32;\n\tvar shadowDelta2Length : f32;\n\tvar shadowDir1Raw : vec3<f32>;\n\tvar shadowDir2Raw : vec3<f32>;\n\tvar shadowDir1 : vec3<f32>;\n\tvar shadowDir2 : vec3<f32>;\n\tvar shadowDirectionSum : vec3<f32>;\n\tvar shadowDirectionSumLength : f32;\n\tvar nodeVar3 : vec2<f32>;\n\tvar shadowBodyDirection : vec2<f32>;\n\tvar shadowDirectionBlend : f32;\n\tvar shadowBlendedDirection : vec2<f32>;\n\tvar shadowPerpendicularRaw : vec2<f32>;\n\tvar shadowPerpendicularLength : f32;\n\tvar shadowPerpendicular : vec2<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar positionLocal : vec3<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tshadowPosView = ( modelViewMatrix * vec4<f32>( position, 1.0 ) );\n\tshadowPrevView = ( modelViewMatrix * vec4<f32>( previous, 1.0 ) );\n\tshadowNextView = ( modelViewMatrix * vec4<f32>( next, 1.0 ) );\n\tshadowPosClip = ( render.cameraProjectionMatrix * shadowPosView );\n\tshadowPrevClip = ( render.cameraProjectionMatrix * shadowPrevView );\n\tshadowNextClip = ( render.cameraProjectionMatrix * shadowNextView );\n\tshadowPosScreen = fix( shadowPosClip, 1.0 );\n\tshadowPrevScreen = fix( shadowPrevClip, 1.0 );\n\tshadowNextScreen = fix( shadowNextClip, 1.0 );\n\tshadowScreenDelta1 = ( shadowPosScreen - shadowPrevScreen );\n\tshadowScreenDelta2 = ( shadowNextScreen - shadowPosScreen );\n\tshadowScreenDelta1Length = length( shadowScreenDelta1 );\n\tshadowScreenDelta2Length = length( shadowScreenDelta2 );\n\tshadowScreenDirection1 = ( shadowScreenDelta1 / vec2<f32>( max( shadowScreenDelta1Length, 1e-7 ) ) );\n\tshadowScreenDirection2 = ( shadowScreenDelta2 / vec2<f32>( max( shadowScreenDelta2Length, 1e-7 ) ) );\n\tshadowDelta1Raw = ( shadowPosView.xyz - shadowPrevView.xyz );\n\tshadowDelta2Raw = ( shadowNextView.xyz - shadowPosView.xyz );\n\tlet nodeConst0 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst0 ) {\n\n\t\tnodeVar0 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar0 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst1 = ( ( ( shadowScreenDelta1Length >= 1e-7 ) && ( shadowScreenDelta2Length >= 1e-7 ) ) && ( dot( shadowScreenDirection1, shadowScreenDirection2 ) <= -0.9998477101325989 ) );\n\tshadowAtStart = ( nodeVar0 && nodeConst1 );\n\tshadowAtEnd = ( ( ! nodeVar0 ) && nodeConst1 );\n\n\tif ( shadowAtStart ) {\n\n\t\tnodeVar1 = shadowDelta2Raw;\n\n\t} else {\n\n\t\tnodeVar1 = shadowDelta1Raw;\n\n\t}\n\n\tshadowDelta1 = nodeVar1;\n\n\tif ( shadowAtEnd ) {\n\n\t\tnodeVar2 = shadowDelta1Raw;\n\n\t} else {\n\n\t\tnodeVar2 = shadowDelta2Raw;\n\n\t}\n\n\tshadowDelta2 = nodeVar2;\n\tshadowDelta1Length = length( shadowDelta1 );\n\tshadowDelta2Length = length( shadowDelta2 );\n\tshadowDir1Raw = ( shadowDelta1 / vec3<f32>( max( shadowDelta1Length, 0.0001 ) ) );\n\tshadowDir2Raw = ( shadowDelta2 / vec3<f32>( max( shadowDelta2Length, 0.0001 ) ) );\n\tshadowDir1 = mix( mix( vec3<f32>( 1.0, 0.0, 0.0 ), shadowDir2Raw, step( 0.0001, shadowDelta2Length ) ), shadowDir1Raw, step( 0.0001, shadowDelta1Length ) );\n\tshadowDir2 = mix( shadowDir1, shadowDir2Raw, step( 0.0001, shadowDelta2Length ) );\n\tshadowDirectionSum = ( shadowDir1 + shadowDir2 );\n\tshadowDirectionSumLength = length( shadowDirectionSum );\n\n\tif ( nodeVar0 ) {\n\n\t\tnodeVar3 = shadowDir2.xy;\n\n\t} else {\n\n\t\tnodeVar3 = shadowDir1.xy;\n\n\t}\n\n\tshadowBodyDirection = nodeVar3;\n\tshadowDirectionBlend = smoothstep( ( object.nodeUniform1 * 0.75 ), object.nodeUniform1, shadowDirectionSumLength );\n\tshadowBlendedDirection = ( ( shadowBodyDirection * vec2<f32>( ( 1.0 - shadowDirectionBlend ) ) ) + ( shadowDirectionSum.xy * vec2<f32>( ( shadowDirectionBlend / max( shadowDirectionSumLength, 0.0001 ) ) ) ) );\n\tshadowPerpendicularRaw = vec2<f32>( ( - shadowBlendedDirection.y ), shadowBlendedDirection.x );\n\tshadowPerpendicularLength = length( shadowPerpendicularRaw );\n\tshadowPerpendicular = mix( vec2<f32>( 1.0, 0.0 ), ( shadowPerpendicularRaw / vec2<f32>( max( shadowPerpendicularLength, 0.0001 ) ) ), step( 0.0001, shadowPerpendicularLength ) );\n\n\tif ( nodeConst0 ) {\n\n\t\tnodeVar4 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar4 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\n\tif ( nodeVar0 ) {\n\n\t\tnodeVar5 = shadowScreenDelta2Length;\n\n\t} else {\n\n\t\tnodeVar5 = shadowScreenDelta1Length;\n\n\t}\n\n\tlet nodeConst2 = ( shadowPerpendicular * vec2<f32>( ( nodeVar4 * ( ( ( object.nodeUniform3 * 0.5 ) * width ) * step( 1e-7, nodeVar5 ) ) ) ) );\n\tlet nodeConst3 = ( ( render.cameraWorldMatrix[ 0u ].xyz * vec3<f32>( nodeConst2.x ) ) + ( render.cameraWorldMatrix[ 1u ].xyz * vec3<f32>( nodeConst2.y ) ) );\n\tpositionLocal = ( position + ( ( ( object.nodeUniform2[ 0u ].xyz * vec3<f32>( nodeConst3.x ) ) + ( object.nodeUniform2[ 1u ].xyz * vec3<f32>( nodeConst3.y ) ) ) + ( object.nodeUniform2[ 2u ].xyz * vec3<f32>( nodeConst3.z ) ) ) );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct renderStruct {\n\tnodeUniform0 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraWorldMatrix : mat4x4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : mat4x4<f32>,\n\tnodeUniform4 : f32,\n\tnodeUniform5 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) position : vec3<f32>,\n\t@location( 1 ) previous : vec3<f32>,\n\t@location( 2 ) next : vec3<f32>,\n\t@location( 3 ) endpoint : vec4<f32>,\n\t@location( 4 ) joinRole : f32,\n\t@location( 5 ) width : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar shadowPosView : vec4<f32>;\n\tvar shadowPrevView : vec4<f32>;\n\tvar shadowNextView : vec4<f32>;\n\tvar shadowPosClip : vec4<f32>;\n\tvar shadowPrevClip : vec4<f32>;\n\tvar shadowNextClip : vec4<f32>;\n\tvar shadowPosScreen : vec2<f32>;\n\tvar shadowPrevScreen : vec2<f32>;\n\tvar shadowNextScreen : vec2<f32>;\n\tvar shadowScreenDelta1 : vec2<f32>;\n\tvar shadowScreenDelta2 : vec2<f32>;\n\tvar shadowScreenDelta1Length : f32;\n\tvar shadowScreenDelta2Length : f32;\n\tvar shadowScreenDirection1 : vec2<f32>;\n\tvar shadowScreenDirection2 : vec2<f32>;\n\tvar shadowDelta1Raw : vec3<f32>;\n\tvar shadowDelta2Raw : vec3<f32>;\n\tvar nodeVar0 : bool;\n\tvar shadowAtStart : bool;\n\tvar shadowAtEnd : bool;\n\tvar nodeVar1 : vec3<f32>;\n\tvar shadowDelta1 : vec3<f32>;\n\tvar nodeVar2 : vec3<f32>;\n\tvar shadowDelta2 : vec3<f32>;\n\tvar shadowDelta1Length : f32;\n\tvar shadowDelta2Length : f32;\n\tvar shadowDir1Raw : vec3<f32>;\n\tvar shadowDir2Raw : vec3<f32>;\n\tvar shadowDir1 : vec3<f32>;\n\tvar shadowDir2 : vec3<f32>;\n\tvar shadowDirectionSum : vec3<f32>;\n\tvar shadowDirectionSumLength : f32;\n\tvar nodeVar3 : vec2<f32>;\n\tvar shadowBodyDirection : vec2<f32>;\n\tvar shadowDirectionBlend : f32;\n\tvar shadowBlendedDirection : vec2<f32>;\n\tvar shadowPerpendicularRaw : vec2<f32>;\n\tvar shadowPerpendicularLength : f32;\n\tvar shadowPerpendicular : vec2<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar positionLocal : vec3<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform1 );\n\tlet nodeConst0 = max( ( position.y - 0.5 ), 0.0 );\n\tlet nodeConst1 = ( position + ( vec3<f32>( 0.6222441255753677, 0.0, 0.7828232547561078 ) * vec3<f32>( ( ( ( nodeConst0 * 0.05 ) / ( ( nodeConst0 * 0.15 ) + 1.0 ) ) * ( ( pow( ( ( sin( ( ( ( dot( position.xz, vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) ) * 0.21 ) + ( sin( ( ( dot( position.xz, vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) ) * 0.085 ) + ( render.nodeUniform0 * 0.35 ) ) ) * 2.2 ) ) - ( render.nodeUniform0 * 1.75 ) ) ) * 0.5 ) + 0.5 ), 2.2 ) * 1.1 ) + 0.2 ) ) ) ) );\n\tshadowPosView = ( modelViewMatrix * vec4<f32>( nodeConst1, 1.0 ) );\n\tlet nodeConst2 = max( ( previous.y - 0.5 ), 0.0 );\n\tshadowPrevView = ( modelViewMatrix * vec4<f32>( ( previous + ( vec3<f32>( 0.6222441255753677, 0.0, 0.7828232547561078 ) * vec3<f32>( ( ( ( nodeConst2 * 0.05 ) / ( ( nodeConst2 * 0.15 ) + 1.0 ) ) * ( ( pow( ( ( sin( ( ( ( dot( previous.xz, vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) ) * 0.21 ) + ( sin( ( ( dot( previous.xz, vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) ) * 0.085 ) + ( render.nodeUniform0 * 0.35 ) ) ) * 2.2 ) ) - ( render.nodeUniform0 * 1.75 ) ) ) * 0.5 ) + 0.5 ), 2.2 ) * 1.1 ) + 0.2 ) ) ) ) ), 1.0 ) );\n\tlet nodeConst3 = max( ( next.y - 0.5 ), 0.0 );\n\tshadowNextView = ( modelViewMatrix * vec4<f32>( ( next + ( vec3<f32>( 0.6222441255753677, 0.0, 0.7828232547561078 ) * vec3<f32>( ( ( ( nodeConst3 * 0.05 ) / ( ( nodeConst3 * 0.15 ) + 1.0 ) ) * ( ( pow( ( ( sin( ( ( ( dot( next.xz, vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) ) * 0.21 ) + ( sin( ( ( dot( next.xz, vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) ) * 0.085 ) + ( render.nodeUniform0 * 0.35 ) ) ) * 2.2 ) ) - ( render.nodeUniform0 * 1.75 ) ) ) * 0.5 ) + 0.5 ), 2.2 ) * 1.1 ) + 0.2 ) ) ) ) ), 1.0 ) );\n\tshadowPosClip = ( render.cameraProjectionMatrix * shadowPosView );\n\tshadowPrevClip = ( render.cameraProjectionMatrix * shadowPrevView );\n\tshadowNextClip = ( render.cameraProjectionMatrix * shadowNextView );\n\tshadowPosScreen = fix( shadowPosClip, 1.0 );\n\tshadowPrevScreen = fix( shadowPrevClip, 1.0 );\n\tshadowNextScreen = fix( shadowNextClip, 1.0 );\n\tshadowScreenDelta1 = ( shadowPosScreen - shadowPrevScreen );\n\tshadowScreenDelta2 = ( shadowNextScreen - shadowPosScreen );\n\tshadowScreenDelta1Length = length( shadowScreenDelta1 );\n\tshadowScreenDelta2Length = length( shadowScreenDelta2 );\n\tshadowScreenDirection1 = ( shadowScreenDelta1 / vec2<f32>( max( shadowScreenDelta1Length, 1e-7 ) ) );\n\tshadowScreenDirection2 = ( shadowScreenDelta2 / vec2<f32>( max( shadowScreenDelta2Length, 1e-7 ) ) );\n\tshadowDelta1Raw = ( shadowPosView.xyz - shadowPrevView.xyz );\n\tshadowDelta2Raw = ( shadowNextView.xyz - shadowPosView.xyz );\n\tlet nodeConst4 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst4 ) {\n\n\t\tnodeVar0 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar0 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst5 = ( ( ( shadowScreenDelta1Length >= 1e-7 ) && ( shadowScreenDelta2Length >= 1e-7 ) ) && ( dot( shadowScreenDirection1, shadowScreenDirection2 ) <= -0.9998477101325989 ) );\n\tshadowAtStart = ( ( endpoint.x < -0.5 ) || ( nodeVar0 && nodeConst5 ) );\n\tshadowAtEnd = ( ( endpoint.x > 0.5 ) || ( ( ! nodeVar0 ) && nodeConst5 ) );\n\n\tif ( shadowAtStart ) {\n\n\t\tnodeVar1 = shadowDelta2Raw;\n\n\t} else {\n\n\t\tnodeVar1 = shadowDelta1Raw;\n\n\t}\n\n\tshadowDelta1 = nodeVar1;\n\n\tif ( shadowAtEnd ) {\n\n\t\tnodeVar2 = shadowDelta1Raw;\n\n\t} else {\n\n\t\tnodeVar2 = shadowDelta2Raw;\n\n\t}\n\n\tshadowDelta2 = nodeVar2;\n\tshadowDelta1Length = length( shadowDelta1 );\n\tshadowDelta2Length = length( shadowDelta2 );\n\tshadowDir1Raw = ( shadowDelta1 / vec3<f32>( max( shadowDelta1Length, 0.0001 ) ) );\n\tshadowDir2Raw = ( shadowDelta2 / vec3<f32>( max( shadowDelta2Length, 0.0001 ) ) );\n\tshadowDir1 = mix( mix( vec3<f32>( 1.0, 0.0, 0.0 ), shadowDir2Raw, step( 0.0001, shadowDelta2Length ) ), shadowDir1Raw, step( 0.0001, shadowDelta1Length ) );\n\tshadowDir2 = mix( shadowDir1, shadowDir2Raw, step( 0.0001, shadowDelta2Length ) );\n\tshadowDirectionSum = ( shadowDir1 + shadowDir2 );\n\tshadowDirectionSumLength = length( shadowDirectionSum );\n\n\tif ( nodeVar0 ) {\n\n\t\tnodeVar3 = shadowDir2.xy;\n\n\t} else {\n\n\t\tnodeVar3 = shadowDir1.xy;\n\n\t}\n\n\tshadowBodyDirection = nodeVar3;\n\tshadowDirectionBlend = smoothstep( ( object.nodeUniform2 * 0.75 ), object.nodeUniform2, shadowDirectionSumLength );\n\tshadowBlendedDirection = ( ( shadowBodyDirection * vec2<f32>( ( 1.0 - shadowDirectionBlend ) ) ) + ( shadowDirectionSum.xy * vec2<f32>( ( shadowDirectionBlend / max( shadowDirectionSumLength, 0.0001 ) ) ) ) );\n\tshadowPerpendicularRaw = vec2<f32>( ( - shadowBlendedDirection.y ), shadowBlendedDirection.x );\n\tshadowPerpendicularLength = length( shadowPerpendicularRaw );\n\tshadowPerpendicular = mix( vec2<f32>( 1.0, 0.0 ), ( shadowPerpendicularRaw / vec2<f32>( max( shadowPerpendicularLength, 0.0001 ) ) ), step( 0.0001, shadowPerpendicularLength ) );\n\n\tif ( nodeConst4 ) {\n\n\t\tnodeVar4 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar4 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\n\tif ( nodeVar0 ) {\n\n\t\tnodeVar5 = shadowScreenDelta2Length;\n\n\t} else {\n\n\t\tnodeVar5 = shadowScreenDelta1Length;\n\n\t}\n\n\tlet nodeConst6 = ( shadowPerpendicular * vec2<f32>( ( nodeVar4 * ( ( ( object.nodeUniform4 * 0.5 ) * width ) * step( 1e-7, nodeVar5 ) ) ) ) );\n\tlet nodeConst7 = ( ( render.cameraWorldMatrix[ 0u ].xyz * vec3<f32>( nodeConst6.x ) ) + ( render.cameraWorldMatrix[ 1u ].xyz * vec3<f32>( nodeConst6.y ) ) );\n\tpositionLocal = ( nodeConst1 + ( ( ( object.nodeUniform3[ 0u ].xyz * vec3<f32>( nodeConst7.x ) ) + ( object.nodeUniform3[ 1u ].xyz * vec3<f32>( nodeConst7.y ) ) ) + ( object.nodeUniform3[ 2u ].xyz * vec3<f32>( nodeConst7.z ) ) ) );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.35 ) + 0.42 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = mix( mix( mix( mix( vec3<f32>( 0.5647115056965487, 0.48514994004665124, 0.3813260114221238 ), vec3<f32>( 0.7912979403281551, 0.7011018919268015, 0.55201140150344 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7454042095350284 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9734452903978066, 0.8879231178794776 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.37626212298046485, 0.4286904966038916, 0.22322795730611386 ), ( smoothstep( 1.5, 0.45, v_positionWorld.y ) * 0.42 ) );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( mix( nodeConst2, ( nodeConst2 * vec3<f32>( 0.56, 0.56, 0.76 ) ), ( ( smoothstep( 0.45, 1.0, nodeVarying5.y ) * 0.5 ) + ( ( smoothstep( 0.45, 0.2, nodeVar1.w ) * smoothstep( 0.3, 1.0, nodeVarying5.y ) ) * 0.3 ) ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst3 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst3;\n\n\t// result\n\n\toutput.color = nodeConst3;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) nodeVarying5 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying5.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 2.2 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 0.8 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( smoothstep( -0.9, 3.2, v_positionWorld.y ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.14 ) ), 0.0, 1.0 );\n\tDiffuseColor = vec4<f32>( vec3<f32>( 0.0, 0.0, 0.0 ), ( 1.0 * vec4<f32>( ( mix( mix( mix( mix( vec3<f32>( 0.06847816983662762, 0.0722718506743852, 0.0722718506743852 ), vec3<f32>( 0.15592646369776456, 0.1499597898006365, 0.16202937562896222 ), smoothstep( 0.0, 0.25, nodeConst1 ) ), vec3<f32>( 0.3231432091022285, 0.3049873140591091, 0.2874408377161099 ), smoothstep( 0.25, 0.5, nodeConst1 ) ), vec3<f32>( 0.5394794890033748, 0.4969329950515914, 0.4232676699760063 ), smoothstep( 0.5, 0.75, nodeConst1 ) ), vec3<f32>( 0.775822218312646, 0.7156935005005721, 0.5775804404214573 ), smoothstep( 0.75, 1.0, nodeConst1 ) ) * vec3<f32>( 0.78 ) ), 1.0 ).w ) );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tlet nodeConst2 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst2;\n\n\t// result\n\n\toutput.color = nodeConst2;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 2 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 5 ) @group( 1 ) var nodeUniform2_sampler : sampler_comparison;\n@binding( 6 ) @group( 1 ) var nodeUniform2 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : mat4x4<f32>,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32,\n\tnodeUniform12 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform13 : mat4x4<f32>,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : mat3x3<f32>,\n\tnodeUniform17 : vec3<f32>,\n\tnodeUniform18 : f32,\n\tnodeUniform19 : vec2<f32>\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\tvar nodeVar5 : vec4<f32>;\n\tvar nodeVar6 : vec4<f32>;\n\tvar nodeVar7 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar8 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar9 : vec4<f32>;\n\tvar nodeVar10 : f32;\n\tvar nodeVar11 : f32;\n\tvar nodeVar12 : f32;\n\tvar nodeVar13 : f32;\n\tvar nodeVar14 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.012 ) ) + vec2<f32>( 0.4 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.05 ) ) + vec2<f32>( 0.7 ) ) );\n\tnodeVar2 = textureSample( nodeUniform1, nodeUniform1_sampler, ( v_positionWorld.xz / vec2<f32>( 15.0 ) ) );\n\tnodeVar3 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz / vec2<f32>( 4.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst0 = clamp( ( ( ( ( nodeVar0.y * 0.9 ) + ( nodeVar1.x * 0.3 ) ) - 0.32 ) + ( ( ( ( ( nodeVar2.x * 0.55 ) + ( nodeVar3.x * 0.3 ) ) + ( nodeVar3.y * 0.15 ) ) - 0.5 ) * 0.55 ) ), 0.0, 1.0 );\n\tnodeVar4 = textureSample( nodeUniform1, nodeUniform1_sampler, ( v_positionWorld.xz / vec2<f32>( 3.1 ) ) );\n\tnodeVar5 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.035 ) ) + vec2<f32>( 0.2 ) ) );\n\tnodeVar6 = textureSample( nodeUniform1, nodeUniform1_sampler, ( v_positionWorld.xz / vec2<f32>( 8.0 ) ) );\n\tnodeVar7 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz / vec2<f32>( 2.8 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = ( ( ( ( ( nodeVar6.x * 0.55 ) + ( nodeVar7.x * 0.3 ) ) + ( nodeVar7.y * 0.15 ) ) * 0.9 ) + 0.05 );\n\tDiffuseColor = vec4<f32>( mix( mix( mix( mix( mix( mix( mix( mix( vec3<f32>( 0.035601314869097636, 0.13286832154414627, 0.04231141061442144 ), vec3<f32>( 0.07818742179702069, 0.22696587349938613, 0.04231141061442144 ), smoothstep( 0.0, 0.25, nodeConst0 ) ), vec3<f32>( 0.174647403645279, 0.3712376804636741, 0.05126945836711539 ), smoothstep( 0.25, 0.5, nodeConst0 ) ), vec3<f32>( 0.34191442489801843, 0.5028864580233624, 0.0722718506743852 ), smoothstep( 0.5, 0.75, nodeConst0 ) ), vec3<f32>( 0.5647115056965487, 0.623960391667596, 0.12213877222015301 ), smoothstep( 0.75, 1.0, nodeConst0 ) ), vec3<f32>( 0.02955683443236377, 0.11697066774917994, 0.04231141061442144 ), ( smoothstep( 0.42, 0.22, nodeVar3.w ) * 0.4 ) ), vec3<f32>( 0.6724431569510133, 0.7011018919268015, 0.174647403645279 ), ( smoothstep( 0.6, 0.82, nodeVar3.w ) * 0.32000000000000006 ) ), vec3<f32>( 1.0, 0.8962693533719567, 0.55201140150344 ), ( ( smoothstep( 0.78, 0.92, nodeVar4.w ) * smoothstep( 0.5, 0.62, nodeVar5.z ) ) * 0.9 ) ), mix( mix( mix( vec3<f32>( 0.26225065751888765, 0.16826940017946088, 0.08021982030622662 ), vec3<f32>( 0.46778379610254284, 0.3139887133649649, 0.14412847084818123 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.6795424696265424, 0.508881320845802, 0.2704977910022518 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.85499260812105, 0.7156935005005721, 0.4452011945063733 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), smoothstep( 0.04, 0.34, ( min( nodeVarying6.y, ( 1.0 - nodeVarying6.y ) ) + ( ( nodeVar6.x - 0.5 ) * 0.26 ) ) ) ), 1.0 );\n\tlet nodeConst2 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst3 = length( nodeConst2 );\n\tlet nodeConst4 = smoothstep( 12.0, 26.0, nodeConst3 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst4 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst4 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform14;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst5 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform15, 0.045 ) + max( max( nodeConst5.x, nodeConst5.y ), nodeConst5.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform14 ) ) );\n\tEmissiveColor = ( object.nodeUniform17 * vec3<f32>( object.nodeUniform18 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst6 = ( render.nodeUniform9 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform10 ) ) ), 1.0 ) );\n\tlet nodeConst7 = ( nodeConst6.xyz / vec3<f32>( nodeConst6.w ) );\n\tlet nodeConst8 = vec3<f32>( nodeConst7.x, ( 1.0 - nodeConst7.y ), ( nodeConst7.z + render.nodeUniform11 ) );\n\n\tif ( ( ( ( ( ( nodeConst8.x >= 0.0 ) && ( nodeConst8.x <= 1.0 ) ) && ( nodeConst8.y >= 0.0 ) ) && ( nodeConst8.y <= 1.0 ) ) && ( nodeConst8.z <= 1.0 ) ) ) {\n\n\t\tnodeVar9 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst9 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform19 );\n\t\tlet nodeConst10 = ( nodeConst8.xy + ( ( ( nodeVar9.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst9 ) );\n\t\tlet nodeConst11 = ( nodeConst10 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst9 ) );\n\t\tnodeVar10 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst11, nodeConst8.z );\n\t\tlet nodeConst12 = ( nodeConst10 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst9 ) );\n\t\tnodeVar11 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst12, nodeConst8.z );\n\t\tlet nodeConst13 = ( nodeConst10 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst9 ) );\n\t\tnodeVar12 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst13, nodeConst8.z );\n\t\tlet nodeConst14 = ( nodeConst10 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst9 ) );\n\t\tnodeVar13 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst14, nodeConst8.z );\n\t\tnodeVar8 = ( ( ( ( ( 0.0 + nodeVar10 ) + nodeVar11 ) + nodeVar12 ) + nodeVar13 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar8 = 1.0;\n\n\t}\n\n\tnodeVar14 = mix( 1.0, nodeVar8, render.nodeUniform12 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform3 * vec3<f32>( nodeVar14 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform7 - render.nodeUniform8 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform6, render.nodeUniform4, ( ( dot( normalWorld, normalize( render.nodeUniform5 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst15 = max( dot( ( nodeConst2 / vec3<f32>( nodeConst3 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst16 = ( nodeConst2 / vec3<f32>( nodeConst3 ) );\n\tlet nodeConst17 = ( nodeConst16.xz / vec2<f32>( max( length( nodeConst16.xz ), 0.0001 ) ) );\n\tlet nodeConst18 = max( dot( nodeConst17, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst15, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst3 * -0.0042 ) ) ) * ( ( pow( nodeConst15, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst17, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst16.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst18, 4.0 ) * 0.14 ) + ( pow( nodeConst18, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst16.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : mat3x3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : f32,\n\tnodeUniform6 : vec2<f32>\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : vec3<f32>,\n\tnodeUniform13 : mat4x4<f32>,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32>,\n\t@location( 1 ) uv : vec2<f32>,\n\t@location( 2 ) normal : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.nodeVarying6 = uv;\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform3 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 2 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 5 ) @group( 1 ) var nodeUniform2_sampler : sampler_comparison;\n@binding( 6 ) @group( 1 ) var nodeUniform2 : texture_depth_2d;\n\nstruct renderStruct {\n\tnodeUniform3 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : mat4x4<f32>,\n\tnodeUniform11 : f32,\n\tnodeUniform12 : f32,\n\tnodeUniform13 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform14 : mat4x4<f32>,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : f32,\n\tnodeUniform17 : mat3x3<f32>,\n\tnodeUniform18 : vec3<f32>,\n\tnodeUniform19 : f32,\n\tnodeUniform20 : vec2<f32>\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar5 : f32;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar6 : vec4<f32>;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar nodeVar11 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.012 ) ) + vec2<f32>( 0.4 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.05 ) ) + vec2<f32>( 0.7 ) ) );\n\tnodeVar2 = textureSample( nodeUniform1, nodeUniform1_sampler, ( v_positionWorld.xz / vec2<f32>( 15.0 ) ) );\n\tnodeVar3 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz / vec2<f32>( 4.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst0 = clamp( ( ( ( ( nodeVar0.y * 0.9 ) + ( nodeVar1.x * 0.3 ) ) - 0.32 ) + ( ( ( ( ( nodeVar2.x * 0.55 ) + ( nodeVar3.x * 0.3 ) ) + ( nodeVar3.y * 0.15 ) ) - 0.5 ) * 0.55 ) ), 0.0, 1.0 );\n\tnodeVar4 = textureSample( nodeUniform1, nodeUniform1_sampler, ( v_positionWorld.xz / vec2<f32>( 2.3 ) ) );\n\tlet nodeConst1 = clamp( ( nodeConst0 + ( ( nodeVar4.x - 0.36 ) * 0.95 ) ), 0.0, 1.0 );\n\tDiffuseColor = vec4<f32>( mix( mix( mix( mix( mix( mix( mix( vec3<f32>( 0.035601314869097636, 0.13286832154414627, 0.04231141061442144 ), vec3<f32>( 0.07818742179702069, 0.22696587349938613, 0.04231141061442144 ), smoothstep( 0.0, 0.25, nodeConst0 ) ), vec3<f32>( 0.174647403645279, 0.3712376804636741, 0.05126945836711539 ), smoothstep( 0.25, 0.5, nodeConst0 ) ), vec3<f32>( 0.34191442489801843, 0.5028864580233624, 0.0722718506743852 ), smoothstep( 0.5, 0.75, nodeConst0 ) ), vec3<f32>( 0.5647115056965487, 0.623960391667596, 0.12213877222015301 ), smoothstep( 0.75, 1.0, nodeConst0 ) ), vec3<f32>( 0.02955683443236377, 0.11697066774917994, 0.04231141061442144 ), ( smoothstep( 0.42, 0.22, nodeVar3.w ) * 0.4 ) ), vec3<f32>( 0.6724431569510133, 0.7011018919268015, 0.174647403645279 ), ( smoothstep( 0.6, 0.82, nodeVar3.w ) * 0.32000000000000006 ) ), mix( mix( mix( mix( vec3<f32>( 0.035601314869097636, 0.13286832154414627, 0.04231141061442144 ), vec3<f32>( 0.07818742179702069, 0.22696587349938613, 0.04231141061442144 ), smoothstep( 0.0, 0.25, nodeConst1 ) ), vec3<f32>( 0.174647403645279, 0.3712376804636741, 0.05126945836711539 ), smoothstep( 0.25, 0.5, nodeConst1 ) ), vec3<f32>( 0.34191442489801843, 0.5028864580233624, 0.0722718506743852 ), smoothstep( 0.5, 0.75, nodeConst1 ) ), vec3<f32>( 0.5647115056965487, 0.623960391667596, 0.12213877222015301 ), smoothstep( 0.75, 1.0, nodeConst1 ) ), smoothstep( 0.02, 0.85, clamp( ( ( abs( ( nodeVarying6.y - 0.5 ) ) * 2.0 ) * ( 1.0 - abs( ( ( fract( ( nodeVarying6.x / 0.15200000000000002 ) ) * 2.0 ) - 1.0 ) ) ) ), 0.0, 1.0 ) ) ), 1.0 );\n\tlet nodeConst2 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst3 = length( nodeConst2 );\n\tlet nodeConst4 = smoothstep( 12.0, 26.0, nodeConst3 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst4 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst4 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform15;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst5 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform16, 0.045 ) + max( max( nodeConst5.x, nodeConst5.y ), nodeConst5.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform15 ) ) );\n\tEmissiveColor = ( object.nodeUniform18 * vec3<f32>( object.nodeUniform19 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tnormalView = normalize( ( render.cameraViewMatrix * vec4<f32>( vec3<f32>( 0.0, 1.0, 0.0 ), 0.0 ) ).xyz );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst6 = ( render.nodeUniform10 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform11 ) ) ), 1.0 ) );\n\tlet nodeConst7 = ( nodeConst6.xyz / vec3<f32>( nodeConst6.w ) );\n\tlet nodeConst8 = vec3<f32>( nodeConst7.x, ( 1.0 - nodeConst7.y ), ( nodeConst7.z + render.nodeUniform12 ) );\n\n\tif ( ( ( ( ( ( nodeConst8.x >= 0.0 ) && ( nodeConst8.x <= 1.0 ) ) && ( nodeConst8.y >= 0.0 ) ) && ( nodeConst8.y <= 1.0 ) ) && ( nodeConst8.z <= 1.0 ) ) ) {\n\n\t\tnodeVar6 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst9 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform20 );\n\t\tlet nodeConst10 = ( nodeConst8.xy + ( ( ( nodeVar6.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst9 ) );\n\t\tlet nodeConst11 = ( nodeConst10 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst9 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst11, nodeConst8.z );\n\t\tlet nodeConst12 = ( nodeConst10 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst9 ) );\n\t\tnodeVar8 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst12, nodeConst8.z );\n\t\tlet nodeConst13 = ( nodeConst10 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst9 ) );\n\t\tnodeVar9 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst13, nodeConst8.z );\n\t\tlet nodeConst14 = ( nodeConst10 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst9 ) );\n\t\tnodeVar10 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst14, nodeConst8.z );\n\t\tnodeVar5 = ( ( ( ( ( 0.0 + nodeVar7 ) + nodeVar8 ) + nodeVar9 ) + nodeVar10 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar5 = 1.0;\n\n\t}\n\n\tnodeVar11 = mix( 1.0, nodeVar5, render.nodeUniform13 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform4 * vec3<f32>( nodeVar11 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform8 - render.nodeUniform9 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform7, render.nodeUniform5, ( ( dot( normalWorld, normalize( render.nodeUniform6 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst15 = max( dot( ( nodeConst2 / vec3<f32>( nodeConst3 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst16 = ( nodeConst2 / vec3<f32>( nodeConst3 ) );\n\tlet nodeConst17 = ( nodeConst16.xz / vec2<f32>( max( length( nodeConst16.xz ), 0.0001 ) ) );\n\tlet nodeConst18 = max( dot( nodeConst17, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst15, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst3 * -0.0042 ) ) ) * ( ( pow( nodeConst15, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst17, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst16.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst18, 4.0 ) * 0.14 ) + ( pow( nodeConst18, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst16.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct renderStruct {\n\tnodeUniform0 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : mat4x4<f32>,\n\tnodeUniform8 : f32,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform11 : mat4x4<f32>,\n\tnodeUniform12 : f32,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : mat3x3<f32>,\n\tnodeUniform15 : vec3<f32>,\n\tnodeUniform16 : f32,\n\tnodeUniform17 : vec2<f32>\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32>,\n\t@location( 1 ) uv : vec2<f32>,\n\t@location( 2 ) normal : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tpositionLocal = ( positionLocal + ( vec3<f32>( 0.6222441255753677, 0.0, 0.7828232547561078 ) * vec3<f32>( ( ( max( ( positionLocal.y - 0.5 ), 0.0 ) * 0.5 ) * ( ( pow( ( ( sin( ( ( ( dot( positionLocal.xz, vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) ) * 0.21 ) + ( sin( ( ( dot( positionLocal.xz, vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) ) * 0.085 ) + ( render.nodeUniform0 * 0.35 ) ) ) * 2.2 ) ) - ( render.nodeUniform0 * 1.75 ) ) ) * 0.5 ) + 0.5 ), 2.2 ) * 1.1 ) + 0.2 ) ) ) ) );\n\tvaryings.v_positionWorld = ( object.nodeUniform11 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.nodeVarying6 = uv;\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform14 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform11 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 2 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 5 ) @group( 1 ) var nodeUniform2_sampler : sampler_comparison;\n@binding( 6 ) @group( 1 ) var nodeUniform2 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : mat4x4<f32>,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32,\n\tnodeUniform12 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform13 : mat4x4<f32>,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : mat3x3<f32>,\n\tnodeUniform17 : vec3<f32>,\n\tnodeUniform18 : f32,\n\tnodeUniform19 : vec2<f32>\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\tvar nodeVar5 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar6 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar7 : vec4<f32>;\n\tvar nodeVar8 : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar nodeVar11 : f32;\n\tvar nodeVar12 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.012 ) ) + vec2<f32>( 0.4 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.05 ) ) + vec2<f32>( 0.7 ) ) );\n\tnodeVar2 = textureSample( nodeUniform1, nodeUniform1_sampler, ( v_positionWorld.xz / vec2<f32>( 15.0 ) ) );\n\tnodeVar3 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz / vec2<f32>( 4.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst0 = clamp( ( ( ( ( nodeVar0.y * 0.9 ) + ( nodeVar1.x * 0.3 ) ) - 0.32 ) + ( ( ( ( ( nodeVar2.x * 0.55 ) + ( nodeVar3.x * 0.3 ) ) + ( nodeVar3.y * 0.15 ) ) - 0.5 ) * 0.55 ) ), 0.0, 1.0 );\n\tnodeVar4 = textureSample( nodeUniform1, nodeUniform1_sampler, ( v_positionWorld.xz / vec2<f32>( 3.1 ) ) );\n\tnodeVar5 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.035 ) ) + vec2<f32>( 0.2 ) ) );\n\tDiffuseColor = vec4<f32>( mix( vec3<f32>( 0.01680737574872402, 0.07818742179702069, 0.03954623527052923 ), mix( mix( mix( mix( mix( mix( mix( vec3<f32>( 0.035601314869097636, 0.13286832154414627, 0.04231141061442144 ), vec3<f32>( 0.07818742179702069, 0.22696587349938613, 0.04231141061442144 ), smoothstep( 0.0, 0.25, nodeConst0 ) ), vec3<f32>( 0.174647403645279, 0.3712376804636741, 0.05126945836711539 ), smoothstep( 0.25, 0.5, nodeConst0 ) ), vec3<f32>( 0.34191442489801843, 0.5028864580233624, 0.0722718506743852 ), smoothstep( 0.5, 0.75, nodeConst0 ) ), vec3<f32>( 0.5647115056965487, 0.623960391667596, 0.12213877222015301 ), smoothstep( 0.75, 1.0, nodeConst0 ) ), vec3<f32>( 0.02955683443236377, 0.11697066774917994, 0.04231141061442144 ), ( smoothstep( 0.42, 0.22, nodeVar3.w ) * 0.4 ) ), vec3<f32>( 0.6724431569510133, 0.7011018919268015, 0.174647403645279 ), ( smoothstep( 0.6, 0.82, nodeVar3.w ) * 0.32000000000000006 ) ), vec3<f32>( 1.0, 0.8962693533719567, 0.55201140150344 ), ( ( smoothstep( 0.78, 0.92, nodeVar4.w ) * smoothstep( 0.5, 0.62, nodeVar5.z ) ) * 0.9 ) ), smoothstep( -0.05, 0.42, v_positionWorld.y ) ), 1.0 );\n\tlet nodeConst1 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst2 = length( nodeConst1 );\n\tlet nodeConst3 = smoothstep( 12.0, 26.0, nodeConst2 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst3 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst3 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform14;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst4 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform15, 0.045 ) + max( max( nodeConst4.x, nodeConst4.y ), nodeConst4.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform14 ) ) );\n\tEmissiveColor = ( object.nodeUniform17 * vec3<f32>( object.nodeUniform18 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst5 = ( render.nodeUniform9 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform10 ) ) ), 1.0 ) );\n\tlet nodeConst6 = ( nodeConst5.xyz / vec3<f32>( nodeConst5.w ) );\n\tlet nodeConst7 = vec3<f32>( nodeConst6.x, ( 1.0 - nodeConst6.y ), ( nodeConst6.z + render.nodeUniform11 ) );\n\n\tif ( ( ( ( ( ( nodeConst7.x >= 0.0 ) && ( nodeConst7.x <= 1.0 ) ) && ( nodeConst7.y >= 0.0 ) ) && ( nodeConst7.y <= 1.0 ) ) && ( nodeConst7.z <= 1.0 ) ) ) {\n\n\t\tnodeVar7 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst8 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform19 );\n\t\tlet nodeConst9 = ( nodeConst7.xy + ( ( ( nodeVar7.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst8 ) );\n\t\tlet nodeConst10 = ( nodeConst9 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst8 ) );\n\t\tnodeVar8 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst10, nodeConst7.z );\n\t\tlet nodeConst11 = ( nodeConst9 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst8 ) );\n\t\tnodeVar9 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst11, nodeConst7.z );\n\t\tlet nodeConst12 = ( nodeConst9 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst8 ) );\n\t\tnodeVar10 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst12, nodeConst7.z );\n\t\tlet nodeConst13 = ( nodeConst9 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst8 ) );\n\t\tnodeVar11 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst13, nodeConst7.z );\n\t\tnodeVar6 = ( ( ( ( ( 0.0 + nodeVar8 ) + nodeVar9 ) + nodeVar10 ) + nodeVar11 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar6 = 1.0;\n\n\t}\n\n\tnodeVar12 = mix( 1.0, nodeVar6, render.nodeUniform12 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform3 * vec3<f32>( nodeVar12 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform7 - render.nodeUniform8 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform6, render.nodeUniform4, ( ( dot( normalWorld, normalize( render.nodeUniform5 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst14 = max( dot( ( nodeConst1 / vec3<f32>( nodeConst2 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst15 = ( nodeConst1 / vec3<f32>( nodeConst2 ) );\n\tlet nodeConst16 = ( nodeConst15.xz / vec2<f32>( max( length( nodeConst15.xz ), 0.0001 ) ) );\n\tlet nodeConst17 = max( dot( nodeConst16, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst14, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst2 * -0.0042 ) ) ) * ( ( pow( nodeConst14, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst16, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst15.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst17, 4.0 ) * 0.14 ) + ( pow( nodeConst17, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst15.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : mat3x3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : f32,\n\tnodeUniform6 : vec2<f32>\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : vec3<f32>,\n\tnodeUniform13 : mat4x4<f32>,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32>,\n\t@location( 1 ) normal : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform3 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 2.2 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 0.8 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( smoothstep( -0.9, 3.2, v_positionWorld.y ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.14 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = mix( mix( mix( mix( vec3<f32>( 0.06847816983662762, 0.0722718506743852, 0.0722718506743852 ), vec3<f32>( 0.15592646369776456, 0.1499597898006365, 0.16202937562896222 ), smoothstep( 0.0, 0.25, nodeConst1 ) ), vec3<f32>( 0.3231432091022285, 0.3049873140591091, 0.2874408377161099 ), smoothstep( 0.25, 0.5, nodeConst1 ) ), vec3<f32>( 0.5394794890033748, 0.4969329950515914, 0.4232676699760063 ), smoothstep( 0.5, 0.75, nodeConst1 ) ), vec3<f32>( 0.775822218312646, 0.7156935005005721, 0.5775804404214573 ), smoothstep( 0.75, 1.0, nodeConst1 ) );\n\tDiffuseColor = vec4<f32>( ( nodeConst2 * vec3<f32>( 0.78 ) ), 1.0 );\n\tlet nodeConst3 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst4 = length( nodeConst3 );\n\tlet nodeConst5 = smoothstep( 12.0, 26.0, nodeConst4 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst5 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst5 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst6 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst6.x, nodeConst6.y ), nodeConst6.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( nodeConst2 * vec3<f32>( 0.34 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst7 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst8 = ( nodeConst7.xyz / vec3<f32>( nodeConst7.w ) );\n\tlet nodeConst9 = vec3<f32>( nodeConst8.x, ( 1.0 - nodeConst8.y ), ( nodeConst8.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst9.x >= 0.0 ) && ( nodeConst9.x <= 1.0 ) ) && ( nodeConst9.y >= 0.0 ) ) && ( nodeConst9.y <= 1.0 ) ) && ( nodeConst9.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst10 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform16 );\n\t\tlet nodeConst11 = ( nodeConst9.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst10 ) );\n\t\tlet nodeConst12 = ( nodeConst11 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst10 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst12, nodeConst9.z );\n\t\tlet nodeConst13 = ( nodeConst11 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst10 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst13, nodeConst9.z );\n\t\tlet nodeConst14 = ( nodeConst11 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst10 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst9.z );\n\t\tlet nodeConst15 = ( nodeConst11 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst10 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst15, nodeConst9.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst16 = max( dot( ( nodeConst3 / vec3<f32>( nodeConst4 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst17 = ( nodeConst3 / vec3<f32>( nodeConst4 ) );\n\tlet nodeConst18 = ( nodeConst17.xz / vec2<f32>( max( length( nodeConst17.xz ), 0.0001 ) ) );\n\tlet nodeConst19 = max( dot( nodeConst18, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst16, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst4 * -0.0042 ) ) ) * ( ( pow( nodeConst16, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst18, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst17.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst19, 4.0 ) * 0.14 ) + ( pow( nodeConst19, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst17.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : mat3x3<f32>,\n\tnodeUniform4 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : mat4x4<f32>,\n\tnodeUniform12 : f32,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32>,\n\t@location( 1 ) uv : vec2<f32>,\n\t@location( 2 ) normal : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.nodeVarying6 = uv;\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform3 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.35 ) + 0.42 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = mix( mix( mix( mix( vec3<f32>( 0.5647115056965487, 0.48514994004665124, 0.3813260114221238 ), vec3<f32>( 0.7912979403281551, 0.7011018919268015, 0.55201140150344 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7454042095350284 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9734452903978066, 0.8879231178794776 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.37626212298046485, 0.4286904966038916, 0.22322795730611386 ), ( smoothstep( 1.5, 0.45, v_positionWorld.y ) * 0.42 ) );\n\tDiffuseColor = vec4<f32>( mix( nodeConst2, ( nodeConst2 * vec3<f32>( 0.56, 0.56, 0.76 ) ), ( ( smoothstep( 0.45, 1.0, nodeVarying6.y ) * 0.5 ) + ( ( smoothstep( 0.45, 0.2, nodeVar1.w ) * smoothstep( 0.3, 1.0, nodeVarying6.y ) ) * 0.3 ) ) ), 1.0 );\n\tlet nodeConst3 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst4 = length( nodeConst3 );\n\tlet nodeConst5 = smoothstep( 12.0, 26.0, nodeConst4 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst5 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst5 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst6 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst6.x, nodeConst6.y ), nodeConst6.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst7 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst8 = ( nodeConst7.xyz / vec3<f32>( nodeConst7.w ) );\n\tlet nodeConst9 = vec3<f32>( nodeConst8.x, ( 1.0 - nodeConst8.y ), ( nodeConst8.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst9.x >= 0.0 ) && ( nodeConst9.x <= 1.0 ) ) && ( nodeConst9.y >= 0.0 ) ) && ( nodeConst9.y <= 1.0 ) ) && ( nodeConst9.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst10 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst11 = ( nodeConst9.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst10 ) );\n\t\tlet nodeConst12 = ( nodeConst11 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst10 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst12, nodeConst9.z );\n\t\tlet nodeConst13 = ( nodeConst11 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst10 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst13, nodeConst9.z );\n\t\tlet nodeConst14 = ( nodeConst11 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst10 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst9.z );\n\t\tlet nodeConst15 = ( nodeConst11 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst10 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst15, nodeConst9.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst16 = max( dot( ( nodeConst3 / vec3<f32>( nodeConst4 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst17 = ( nodeConst3 / vec3<f32>( nodeConst4 ) );\n\tlet nodeConst18 = ( nodeConst17.xz / vec2<f32>( max( length( nodeConst17.xz ), 0.0001 ) ) );\n\tlet nodeConst19 = max( dot( nodeConst18, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst16, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst4 * -0.0042 ) ) ) * ( ( pow( nodeConst16, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst18, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst17.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst19, 4.0 ) * 0.14 ) + ( pow( nodeConst19, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst17.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : mat3x3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : f32,\n\tnodeUniform6 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : vec3<f32>,\n\tnodeUniform13 : mat4x4<f32>,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32>,\n\t@location( 1 ) uv : vec2<f32>,\n\t@location( 2 ) normal : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.nodeVarying6 = uv;\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform3 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 5 ) @group( 1 ) var nodeUniform2_sampler : sampler_comparison;\n@binding( 6 ) @group( 1 ) var nodeUniform2 : texture_depth_2d;\n\nstruct renderStruct {\n\tnodeUniform3 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : mat4x4<f32>,\n\tnodeUniform11 : f32,\n\tnodeUniform12 : f32,\n\tnodeUniform13 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform14 : mat4x4<f32>,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : f32,\n\tnodeUniform17 : mat3x3<f32>,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar3 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar nodeVar9 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying6.y * 0.3 ) + 0.35 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying6.x / 0.332 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tlet nodeConst4 = ( nodeVarying6.y * 4.0 );\n\tlet nodeConst5 = max( fwidth( nodeConst4 ), 0.0001 );\n\tlet nodeConst6 = max( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.07 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.14, smoothstep( 0.15, 0.45, nodeConst3 ) ), mix( smoothstep( ( - nodeConst5 ), nodeConst5, ( 0.06 - abs( ( fract( ( nodeConst4 + 0.5 ) ) - 0.5 ) ) ) ), 0.12, smoothstep( 0.15, 0.45, nodeConst5 ) ) );\n\tDiffuseColor = vec4<f32>( mix( mix( mix( mix( vec3<f32>( 0.6307571363387763, 0.5394794890033748, 0.36130677977297226 ), vec3<f32>( 0.8069522576650873, 0.7156935005005721, 0.5271151256969157 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7156935005005721 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9473065367320066, 0.8227857543924378 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.04231141061442144, 0.02121901037134225, 0.011612245176281512 ), nodeConst6 ), 1.0 );\n\tlet nodeConst7 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst8 = length( nodeConst7 );\n\tlet nodeConst9 = smoothstep( 12.0, 26.0, nodeConst8 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst9 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst9 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform15;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst10 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform16, 0.045 ) + max( max( nodeConst10.x, nodeConst10.y ), nodeConst10.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform15 ) ) );\n\tnodeVar2 = textureSample( nodeUniform1, nodeUniform1_sampler, vec2<f32>( ( nodeVarying6.x * 0.11 ), 0.37 ) );\n\tEmissiveColor = ( ( ( ( ( vec3<f32>( 1.0, 0.36130677977297226, 0.06847816983662762 ) * vec3<f32>( ( ( ( sin( ( ( render.nodeUniform3 * 2.3 ) + ( v_positionWorld.x * 0.7 ) ) ) * 0.04 ) + ( sin( ( ( render.nodeUniform3 * 5.1 ) + v_positionWorld.z ) ) * 0.03 ) ) + 1.0 ) ) ) * vec3<f32>( ( ( nodeVar2.x * 0.9 ) + 0.55 ) ) ) * vec3<f32>( ( ( nodeVarying6.y * -0.45 ) + 1.15 ) ) ) * vec3<f32>( 1.5 ) ) * vec3<f32>( ( 1.0 - nodeConst6 ) ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst11 = ( render.nodeUniform10 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform11 ) ) ), 1.0 ) );\n\tlet nodeConst12 = ( nodeConst11.xyz / vec3<f32>( nodeConst11.w ) );\n\tlet nodeConst13 = vec3<f32>( nodeConst12.x, ( 1.0 - nodeConst12.y ), ( nodeConst12.z + render.nodeUniform12 ) );\n\n\tif ( ( ( ( ( ( nodeConst13.x >= 0.0 ) && ( nodeConst13.x <= 1.0 ) ) && ( nodeConst13.y >= 0.0 ) ) && ( nodeConst13.y <= 1.0 ) ) && ( nodeConst13.z <= 1.0 ) ) ) {\n\n\t\tnodeVar4 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst14 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst15 = ( nodeConst13.xy + ( ( ( nodeVar4.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst14 ) );\n\t\tlet nodeConst16 = ( nodeConst15 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst14 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst16, nodeConst13.z );\n\t\tlet nodeConst17 = ( nodeConst15 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst14 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst17, nodeConst13.z );\n\t\tlet nodeConst18 = ( nodeConst15 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst14 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst18, nodeConst13.z );\n\t\tlet nodeConst19 = ( nodeConst15 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst14 ) );\n\t\tnodeVar8 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst19, nodeConst13.z );\n\t\tnodeVar3 = ( ( ( ( ( 0.0 + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) + nodeVar8 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar3 = 1.0;\n\n\t}\n\n\tnodeVar9 = mix( 1.0, nodeVar3, render.nodeUniform13 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform4 * vec3<f32>( nodeVar9 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform8 - render.nodeUniform9 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform7, render.nodeUniform5, ( ( dot( normalWorld, normalize( render.nodeUniform6 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst20 = max( dot( ( nodeConst7 / vec3<f32>( nodeConst8 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst21 = ( nodeConst7 / vec3<f32>( nodeConst8 ) );\n\tlet nodeConst22 = ( nodeConst21.xz / vec2<f32>( max( length( nodeConst21.xz ), 0.0001 ) ) );\n\tlet nodeConst23 = max( dot( nodeConst22, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst20, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst8 * -0.0042 ) ) ) * ( ( pow( nodeConst20, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst22, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst21.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst23, 4.0 ) * 0.14 ) + ( pow( nodeConst23, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst21.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : mat3x3<f32>,\n\tnodeUniform4 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tnodeUniform5 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) uv : vec2<f32>,\n\t@location( 1 ) position : vec3<f32>,\n\t@location( 2 ) normal : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tvaryings.nodeVarying6 = uv;\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform3 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) vColor : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : f32;\n\tvar Output : vec4<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vColor;\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz / vec2<f32>( 400.0 ) ) + vec2<f32>( 0.5 ) ) ).x;\n\n\tif ( ( smoothstep( 0.35, 0.65, nodeVar0 ) > 0.5 ) ) {\n\n\t\tdiscard;\n\t\t\n\n\t}\n\n\tDiffuseColor.w = ( DiffuseColor.w * 1.0 );\n\tDiffuseColor.w = 1.0;\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tnormalView = vec3<f32>( 0.0, 0.0, 1.0 );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform3, render.nodeUniform1, ( ( dot( normalWorld, normalize( render.nodeUniform2 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec4<f32>( 0.0, 0.0, 0.0, 0.0 ).xyz;\n\tindirectDiffuse = ( vec4<f32>( indirectDiffuse, 1.0 ) + vec4<f32>( 1.0, 1.0, 1.0, 0.0 ) ).xyz;\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectDiffuse = ( indirectDiffuse * DiffuseColor.xyz );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst0 = max( vec4<f32>( outgoingLight, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst0;\n\n\t// result\n\n\toutput.color = nodeConst0;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n@binding( 3 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 4 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat4x4<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec2<f32>,\n\tnodeUniform4 : f32,\n\tnodeUniform5 : f32\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) vColor : vec4<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\nvar<private> aspect : f32;\nvar<private> w : f32;\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) position : vec3<f32>,\n\t@location( 1 ) joinRole : f32,\n\t@location( 2 ) previous : vec3<f32>,\n\t@location( 3 ) next : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar color : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : f32;\n\tvar varSide : f32;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar viewPosition : vec4<f32>;\n\tvar viewPrevious : vec4<f32>;\n\tvar viewNext : vec4<f32>;\n\tvar finalPosition : vec4<f32>;\n\tvar prevPos : vec4<f32>;\n\tvar nextPos : vec4<f32>;\n\tvar currentP : vec2<f32>;\n\tvar prevP : vec2<f32>;\n\tvar nextP : vec2<f32>;\n\tvar delta1Raw : vec2<f32>;\n\tvar delta2Raw : vec2<f32>;\n\tvar delta1RawLen : f32;\n\tvar delta2RawLen : f32;\n\tvar projectedDir1 : vec2<f32>;\n\tvar projectedDir2 : vec2<f32>;\n\tvar rawTurnDot : f32;\n\tvar nodeVar3 : bool;\n\tvar atStart : bool;\n\tvar atEnd : bool;\n\tvar nodeVar4 : f32;\n\tvar delta1Len : f32;\n\tvar nodeVar5 : f32;\n\tvar delta2Len : f32;\n\tvar nodeVar6 : vec2<f32>;\n\tvar dir1Raw : vec2<f32>;\n\tvar nodeVar7 : vec2<f32>;\n\tvar dir2Raw : vec2<f32>;\n\tvar dir1 : vec2<f32>;\n\tvar dir2 : vec2<f32>;\n\tvar dirSum : vec2<f32>;\n\tvar dirSumLen : f32;\n\tvar nodeVar8 : vec2<f32>;\n\tvar bodyDirection : vec2<f32>;\n\tvar perpFallback : vec2<f32>;\n\tvar limitBlend : f32;\n\tvar baseRadiusNdc : f32;\n\tvar foldJointRow : bool;\n\tvar sinHalfTurn : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar miterBlend : f32;\n\tvar splitWeight : f32;\n\tvar blendedPerp : vec2<f32>;\n\tvar blendedPerpLength : f32;\n\tvar unitPerp : vec2<f32>;\n\tvar miterHalfWidth : f32;\n\tvar normal : vec2<f32>;\n\tvar nodeVar11 : f32;\n\tvar bodyLength : f32;\n\tvar nodeVar12 : vec2<f32>;\n\tvar nodeVar13 : vec2<f32>;\n\tvar nodeVar14 : vec2<f32>;\n\tvar nodeVar15 : vec2<f32>;\n\tvar nodeVar16 : vec2<f32>;\n\tvar nodeVar17 : vec4<f32>;\n\tvar positionLocal : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform1 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tcolor = vec4<f32>( object.nodeUniform2, 1.0 );\n\tnodeVar1 = textureSampleLevel( nodeUniform0, nodeUniform0_sampler, ( varyings.v_positionWorld.xz * vec2<f32>( 0.14 ) ), 0 );\n\tlet nodeConst0 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst0 ) {\n\n\t\tnodeVar2 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar2 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\tvarSide = nodeVar2;\n\tlet nodeConst1 = normalize( ( render.cameraPosition - varyings.v_positionWorld ) );\n\tlet nodeConst2 = ( - nodeConst1 );\n\tlet nodeConst3 = ( nodeConst2.xz / vec2<f32>( max( length( nodeConst2.xz ), 0.0001 ) ) );\n\tlet nodeConst4 = max( dot( nodeConst3, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\tcolor = vec4<f32>( mix( ( mix( mix( vec3<f32>( 0.11193242782769693, 0.05612849004241121, 0.02121901037134225 ), vec3<f32>( 0.3231432091022285, 0.16826940017946088, 0.057805430183792694 ), nodeVar1.xyz.x ), vec3<f32>( 0.02732089163382382, 0.013702083043526807, 0.006048833020386069 ), ( pow( abs( varSide ), 1.4 ) * 0.65 ) ) + ( vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ) * vec3<f32>( ( ( pow( max( dot( reflect( ( - nodeConst1 ), normalize( vec3<f32>( ( varSide * 0.35 ), 1.0, ( varSide * 0.2 ) ) ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 ), 36.0 ) * ( ( nodeVar1.xyz.y * 0.7 ) + 0.3 ) ) * 0.55 ) ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst3, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst2.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst4, 4.0 ) * 0.14 ) + ( pow( nodeConst4, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst2.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( varyings.v_positionWorld.xz ) ), 1.35 ) ), color.w );\n\tvaryings.vColor = color;\n\taspect = ( object.nodeUniform3.x / object.nodeUniform3.y );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform1 );\n\tviewPosition = ( modelViewMatrix * vec4<f32>( position, 1.0 ) );\n\tviewPrevious = ( modelViewMatrix * vec4<f32>( previous, 1.0 ) );\n\tviewNext = ( modelViewMatrix * vec4<f32>( next, 1.0 ) );\n\tfinalPosition = ( render.cameraProjectionMatrix * viewPosition );\n\tprevPos = ( render.cameraProjectionMatrix * viewPrevious );\n\tnextPos = ( render.cameraProjectionMatrix * viewNext );\n\tcurrentP = fix( finalPosition, aspect );\n\tprevP = fix( prevPos, aspect );\n\tnextP = fix( nextPos, aspect );\n\tdelta1Raw = ( currentP - prevP );\n\tdelta2Raw = ( nextP - currentP );\n\tdelta1RawLen = length( delta1Raw );\n\tdelta2RawLen = length( delta2Raw );\n\tprojectedDir1 = ( delta1Raw / vec2<f32>( max( delta1RawLen, 1e-7 ) ) );\n\tprojectedDir2 = ( delta2Raw / vec2<f32>( max( delta2RawLen, 1e-7 ) ) );\n\trawTurnDot = dot( projectedDir1, projectedDir2 );\n\n\tif ( nodeConst0 ) {\n\n\t\tnodeVar3 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar3 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst5 = ( ( delta1RawLen >= 1e-7 ) && ( delta2RawLen >= 1e-7 ) );\n\tlet nodeConst6 = ( nodeConst5 && ( rawTurnDot <= -0.9998477101325989 ) );\n\tatStart = ( nodeVar3 && nodeConst6 );\n\tatEnd = ( ( ! nodeVar3 ) && nodeConst6 );\n\tw = object.nodeUniform4;\n\n\tif ( atStart ) {\n\n\t\tnodeVar4 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar4 = delta1RawLen;\n\n\t}\n\n\tdelta1Len = nodeVar4;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar5 = delta1RawLen;\n\n\t} else {\n\n\t\tnodeVar5 = delta2RawLen;\n\n\t}\n\n\tdelta2Len = nodeVar5;\n\n\tif ( atStart ) {\n\n\t\tnodeVar6 = projectedDir2;\n\n\t} else {\n\n\t\tnodeVar6 = projectedDir1;\n\n\t}\n\n\tdir1Raw = nodeVar6;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar7 = projectedDir1;\n\n\t} else {\n\n\t\tnodeVar7 = projectedDir2;\n\n\t}\n\n\tdir2Raw = nodeVar7;\n\tdir1 = mix( mix( vec2<f32>( 1.0, 0.0 ), dir2Raw, step( 1e-7, delta2Len ) ), dir1Raw, step( 1e-7, delta1Len ) );\n\tdir2 = mix( dir1, dir2Raw, step( 1e-7, delta2Len ) );\n\tdirSum = ( dir1 + dir2 );\n\tdirSumLen = length( dirSum );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar8 = dir2;\n\n\t} else {\n\n\t\tnodeVar8 = dir1;\n\n\t}\n\n\tbodyDirection = nodeVar8;\n\tperpFallback = vec2<f32>( ( - bodyDirection.y ), bodyDirection.x );\n\tlimitBlend = smoothstep( ( object.nodeUniform5 * 0.75 ), object.nodeUniform5, dirSumLen );\n\tbaseRadiusNdc = ( ( render.cameraProjectionMatrix[ 1u ].y * ( w * 0.5 ) ) / max( abs( finalPosition.w ), 0.000001 ) );\n\tfoldJointRow = ( nodeConst5 && ( ( render.cameraProjectionMatrix[ 3u ].w > 0.5 ) || ( min( finalPosition.w, min( prevPos.w, nextPos.w ) ) > ( render.cameraNear * 0.5 ) ) ) );\n\tsinHalfTurn = sqrt( max( ( ( 1.0 - rawTurnDot ) * 0.5 ), 0.0 ) );\n\n\tif ( foldJointRow ) {\n\n\t\tlet nodeConst7 = ( viewPosition.xyz - viewPrevious.xyz );\n\t\tlet nodeConst8 = dot( nodeConst7, nodeConst7 );\n\t\tlet nodeConst9 = ( viewNext.xyz - viewPosition.xyz );\n\t\tlet nodeConst10 = dot( nodeConst9, nodeConst9 );\n\n\t\tif ( ( ( nodeConst8 > 1e-30 ) && ( nodeConst10 > 1e-30 ) ) ) {\n\n\t\t\tnodeVar10 = clamp( ( ( dot( nodeConst7, nodeConst9 ) * inverseSqrt( nodeConst8 ) ) * inverseSqrt( nodeConst10 ) ), -1.0, 1.0 );\n\n\t\t} else {\n\n\t\t\tnodeVar10 = 1.0;\n\n\t\t}\n\n\t\tlet nodeConst11 = ( object.nodeUniform5 / mix( ( object.nodeUniform5 * 0.625 ), 1.0, ( 1.0 - smoothstep( 0.8660254037844387, 0.9659258262890683, nodeVar10 ) ) ) );\n\t\tnodeVar9 = ( smoothstep( ( nodeConst11 * 0.75 ), nodeConst11, dirSumLen ) * smoothstep( 0.75, 1.0, ( ( min( delta1Len, delta2Len ) * clamp( ( dirSumLen * 0.5 ), 0.0001, 1.0 ) ) / max( ( baseRadiusNdc * sinHalfTurn ), 1e-9 ) ) ) );\n\n\t} else {\n\n\t\tnodeVar9 = limitBlend;\n\n\t}\n\n\tmiterBlend = nodeVar9;\n\tsplitWeight = max( ( 1.0 - miterBlend ), f32( nodeConst6 ) );\n\tblendedPerp = ( ( perpFallback * vec2<f32>( ( 1.0 - miterBlend ) ) ) + ( vec2<f32>( ( - dirSum.y ), dirSum.x ) * vec2<f32>( ( miterBlend / max( dirSumLen, 0.0001 ) ) ) ) );\n\tblendedPerpLength = length( blendedPerp );\n\tunitPerp = mix( perpFallback, ( blendedPerp / vec2<f32>( max( blendedPerpLength, 0.0001 ) ) ), step( 0.0001, blendedPerpLength ) );\n\tmiterHalfWidth = mix( ( w * 0.5 ), ( w / max( dirSumLen, object.nodeUniform5 ) ), miterBlend );\n\tnormal = ( unitPerp * vec2<f32>( miterHalfWidth ) );\n\tnormal = ( ( render.cameraProjectionMatrix[ 0u ].xy * vec2<f32>( normal.x ) ) + ( render.cameraProjectionMatrix[ 1u ].xy * vec2<f32>( normal.y ) ) );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar11 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar11 = delta1RawLen;\n\n\t}\n\n\tbodyLength = nodeVar11;\n\n\tif ( ( bodyLength >= 1e-7 ) ) {\n\n\t\tnodeVar12 = normal;\n\n\t} else {\n\n\t\tnodeVar12 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar13 = ( finalPosition.xy + ( nodeVar12 * vec2<f32>( varSide ) ) );\n\tfinalPosition.x = nodeVar13[ 0 ];\n\tfinalPosition.y = nodeVar13[ 1 ];\n\n\tif ( foldJointRow ) {\n\n\n\t\tif ( nodeVar3 ) {\n\n\t\t\tnodeVar15 = ( - projectedDir2 );\n\n\t\t} else {\n\n\t\t\tnodeVar15 = projectedDir1;\n\n\t\t}\n\n\t\tlet nodeConst12 = ( nodeVar15 * vec2<f32>( ( ( sqrt( splitWeight ) * sinHalfTurn ) * baseRadiusNdc ) ) );\n\t\tnodeVar14 = ( vec2<f32>( ( nodeConst12.x / aspect ), nodeConst12.y ) * vec2<f32>( finalPosition.w ) );\n\n\t} else {\n\n\t\tnodeVar14 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar16 = ( finalPosition.xy + nodeVar14 );\n\tfinalPosition.x = nodeVar16[ 0 ];\n\tfinalPosition.y = nodeVar16[ 1 ];\n\n\tif ( ( ( ( ( finalPosition.x == finalPosition.x ) && ( finalPosition.y == finalPosition.y ) ) && ( finalPosition.z == finalPosition.z ) ) && ( finalPosition.w == finalPosition.w ) ) ) {\n\n\t\tnodeVar17 = finalPosition;\n\n\t} else {\n\n\t\tnodeVar17 = vec4<f32>( 2.0, 2.0, 2.0, 1.0 );\n\n\t}\n\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeVar17;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform0 : vec3<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) vColor : vec4<f32>,\n\t@builtin( position ) fragCoord : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar alpha : f32;\n\tvar Output : vec4<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vColor;\n\talpha = 1.0;\n\tlet nodeConst0 = smoothstep( 12.0, 26.0, length( ( v_positionWorld - render.cameraPosition ) ) );\n\talpha = ( alpha * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst0 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst0 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tDiffuseColor.w = ( DiffuseColor.w * alpha );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tnormalView = vec3<f32>( 0.0, 0.0, 1.0 );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform2, render.nodeUniform0, ( ( dot( normalWorld, normalize( render.nodeUniform1 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec4<f32>( 0.0, 0.0, 0.0, 0.0 ).xyz;\n\tindirectDiffuse = ( vec4<f32>( indirectDiffuse, 1.0 ) + vec4<f32>( 1.0, 1.0, 1.0, 0.0 ) ).xyz;\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectDiffuse = ( indirectDiffuse * DiffuseColor.xyz );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst1 = max( vec4<f32>( outgoingLight, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst1;\n\n\t// result\n\n\toutput.color = nodeConst1;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec2<f32>,\n\tnodeUniform3 : f32,\n\tnodeUniform4 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) vColor : vec4<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\nvar<private> aspect : f32;\nvar<private> w : f32;\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) position : vec3<f32>,\n\t@location( 1 ) vertexColor : vec3<f32>,\n\t@location( 2 ) previous : vec3<f32>,\n\t@location( 3 ) next : vec3<f32>,\n\t@location( 4 ) joinRole : f32,\n\t@location( 5 ) width : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar color : vec4<f32>;\n\tvar nodeVar0 : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar viewPosition : vec4<f32>;\n\tvar viewPrevious : vec4<f32>;\n\tvar viewNext : vec4<f32>;\n\tvar finalPosition : vec4<f32>;\n\tvar prevPos : vec4<f32>;\n\tvar nextPos : vec4<f32>;\n\tvar currentP : vec2<f32>;\n\tvar prevP : vec2<f32>;\n\tvar nextP : vec2<f32>;\n\tvar delta1Raw : vec2<f32>;\n\tvar delta2Raw : vec2<f32>;\n\tvar delta1RawLen : f32;\n\tvar delta2RawLen : f32;\n\tvar projectedDir1 : vec2<f32>;\n\tvar projectedDir2 : vec2<f32>;\n\tvar rawTurnDot : f32;\n\tvar nodeVar1 : bool;\n\tvar atStart : bool;\n\tvar atEnd : bool;\n\tvar nodeVar2 : f32;\n\tvar delta1Len : f32;\n\tvar nodeVar3 : f32;\n\tvar delta2Len : f32;\n\tvar nodeVar4 : vec2<f32>;\n\tvar dir1Raw : vec2<f32>;\n\tvar nodeVar5 : vec2<f32>;\n\tvar dir2Raw : vec2<f32>;\n\tvar dir1 : vec2<f32>;\n\tvar dir2 : vec2<f32>;\n\tvar dirSum : vec2<f32>;\n\tvar dirSumLen : f32;\n\tvar nodeVar6 : vec2<f32>;\n\tvar bodyDirection : vec2<f32>;\n\tvar perpFallback : vec2<f32>;\n\tvar limitBlend : f32;\n\tvar baseRadiusNdc : f32;\n\tvar foldJointRow : bool;\n\tvar sinHalfTurn : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar miterBlend : f32;\n\tvar splitWeight : f32;\n\tvar blendedPerp : vec2<f32>;\n\tvar blendedPerpLength : f32;\n\tvar unitPerp : vec2<f32>;\n\tvar miterHalfWidth : f32;\n\tvar normal : vec2<f32>;\n\tvar nodeVar9 : f32;\n\tvar bodyLength : f32;\n\tvar nodeVar10 : vec2<f32>;\n\tvar nodeVar11 : f32;\n\tvar varSide : f32;\n\tvar nodeVar12 : vec2<f32>;\n\tvar nodeVar13 : vec2<f32>;\n\tvar nodeVar14 : vec2<f32>;\n\tvar nodeVar15 : vec2<f32>;\n\tvar nodeVar16 : vec4<f32>;\n\tvar positionLocal : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tcolor = vec4<f32>( object.nodeUniform1, 1.0 );\n\tnodeVar0 = ( color.xyz * vertexColor );\n\tcolor.x = nodeVar0[ 0 ];\n\tcolor.y = nodeVar0[ 1 ];\n\tcolor.z = nodeVar0[ 2 ];\n\tlet nodeConst0 = ( varyings.v_positionWorld - render.cameraPosition );\n\tlet nodeConst1 = length( nodeConst0 );\n\tlet nodeConst2 = max( dot( ( nodeConst0 / vec3<f32>( nodeConst1 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst3 = ( nodeConst0 / vec3<f32>( nodeConst1 ) );\n\tlet nodeConst4 = ( nodeConst3.xz / vec2<f32>( max( length( nodeConst3.xz ), 0.0001 ) ) );\n\tlet nodeConst5 = max( dot( nodeConst4, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\tcolor = vec4<f32>( mix( mix( color.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst2, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst1 * -0.0042 ) ) ) * ( ( pow( nodeConst2, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst4, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst3.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst5, 4.0 ) * 0.14 ) + ( pow( nodeConst5, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst3.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( varyings.v_positionWorld.xz ) ), 1.35 ) ), color.w );\n\tvaryings.vColor = color;\n\taspect = ( object.nodeUniform2.x / object.nodeUniform2.y );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tviewPosition = ( modelViewMatrix * vec4<f32>( position, 1.0 ) );\n\tviewPrevious = ( modelViewMatrix * vec4<f32>( previous, 1.0 ) );\n\tviewNext = ( modelViewMatrix * vec4<f32>( next, 1.0 ) );\n\tfinalPosition = ( render.cameraProjectionMatrix * viewPosition );\n\tprevPos = ( render.cameraProjectionMatrix * viewPrevious );\n\tnextPos = ( render.cameraProjectionMatrix * viewNext );\n\tcurrentP = fix( finalPosition, aspect );\n\tprevP = fix( prevPos, aspect );\n\tnextP = fix( nextPos, aspect );\n\tdelta1Raw = ( currentP - prevP );\n\tdelta2Raw = ( nextP - currentP );\n\tdelta1RawLen = length( delta1Raw );\n\tdelta2RawLen = length( delta2Raw );\n\tprojectedDir1 = ( delta1Raw / vec2<f32>( max( delta1RawLen, 1e-7 ) ) );\n\tprojectedDir2 = ( delta2Raw / vec2<f32>( max( delta2RawLen, 1e-7 ) ) );\n\trawTurnDot = dot( projectedDir1, projectedDir2 );\n\tlet nodeConst6 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst6 ) {\n\n\t\tnodeVar1 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar1 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst7 = ( ( delta1RawLen >= 1e-7 ) && ( delta2RawLen >= 1e-7 ) );\n\tlet nodeConst8 = ( nodeConst7 && ( rawTurnDot <= -0.9998477101325989 ) );\n\tatStart = ( nodeVar1 && nodeConst8 );\n\tatEnd = ( ( ! nodeVar1 ) && nodeConst8 );\n\tw = ( object.nodeUniform3 * width );\n\n\tif ( atStart ) {\n\n\t\tnodeVar2 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar2 = delta1RawLen;\n\n\t}\n\n\tdelta1Len = nodeVar2;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar3 = delta1RawLen;\n\n\t} else {\n\n\t\tnodeVar3 = delta2RawLen;\n\n\t}\n\n\tdelta2Len = nodeVar3;\n\n\tif ( atStart ) {\n\n\t\tnodeVar4 = projectedDir2;\n\n\t} else {\n\n\t\tnodeVar4 = projectedDir1;\n\n\t}\n\n\tdir1Raw = nodeVar4;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar5 = projectedDir1;\n\n\t} else {\n\n\t\tnodeVar5 = projectedDir2;\n\n\t}\n\n\tdir2Raw = nodeVar5;\n\tdir1 = mix( mix( vec2<f32>( 1.0, 0.0 ), dir2Raw, step( 1e-7, delta2Len ) ), dir1Raw, step( 1e-7, delta1Len ) );\n\tdir2 = mix( dir1, dir2Raw, step( 1e-7, delta2Len ) );\n\tdirSum = ( dir1 + dir2 );\n\tdirSumLen = length( dirSum );\n\n\tif ( nodeVar1 ) {\n\n\t\tnodeVar6 = dir2;\n\n\t} else {\n\n\t\tnodeVar6 = dir1;\n\n\t}\n\n\tbodyDirection = nodeVar6;\n\tperpFallback = vec2<f32>( ( - bodyDirection.y ), bodyDirection.x );\n\tlimitBlend = smoothstep( ( object.nodeUniform4 * 0.75 ), object.nodeUniform4, dirSumLen );\n\tbaseRadiusNdc = ( ( render.cameraProjectionMatrix[ 1u ].y * ( w * 0.5 ) ) / max( abs( finalPosition.w ), 0.000001 ) );\n\tfoldJointRow = ( nodeConst7 && ( ( render.cameraProjectionMatrix[ 3u ].w > 0.5 ) || ( min( finalPosition.w, min( prevPos.w, nextPos.w ) ) > ( render.cameraNear * 0.5 ) ) ) );\n\tsinHalfTurn = sqrt( max( ( ( 1.0 - rawTurnDot ) * 0.5 ), 0.0 ) );\n\n\tif ( foldJointRow ) {\n\n\t\tlet nodeConst9 = ( viewPosition.xyz - viewPrevious.xyz );\n\t\tlet nodeConst10 = dot( nodeConst9, nodeConst9 );\n\t\tlet nodeConst11 = ( viewNext.xyz - viewPosition.xyz );\n\t\tlet nodeConst12 = dot( nodeConst11, nodeConst11 );\n\n\t\tif ( ( ( nodeConst10 > 1e-30 ) && ( nodeConst12 > 1e-30 ) ) ) {\n\n\t\t\tnodeVar8 = clamp( ( ( dot( nodeConst9, nodeConst11 ) * inverseSqrt( nodeConst10 ) ) * inverseSqrt( nodeConst12 ) ), -1.0, 1.0 );\n\n\t\t} else {\n\n\t\t\tnodeVar8 = 1.0;\n\n\t\t}\n\n\t\tlet nodeConst13 = ( object.nodeUniform4 / mix( ( object.nodeUniform4 * 0.625 ), 1.0, ( 1.0 - smoothstep( 0.8660254037844387, 0.9659258262890683, nodeVar8 ) ) ) );\n\t\tnodeVar7 = ( smoothstep( ( nodeConst13 * 0.75 ), nodeConst13, dirSumLen ) * smoothstep( 0.75, 1.0, ( ( min( delta1Len, delta2Len ) * clamp( ( dirSumLen * 0.5 ), 0.0001, 1.0 ) ) / max( ( baseRadiusNdc * sinHalfTurn ), 1e-9 ) ) ) );\n\n\t} else {\n\n\t\tnodeVar7 = limitBlend;\n\n\t}\n\n\tmiterBlend = nodeVar7;\n\tsplitWeight = max( ( 1.0 - miterBlend ), f32( nodeConst8 ) );\n\tblendedPerp = ( ( perpFallback * vec2<f32>( ( 1.0 - miterBlend ) ) ) + ( vec2<f32>( ( - dirSum.y ), dirSum.x ) * vec2<f32>( ( miterBlend / max( dirSumLen, 0.0001 ) ) ) ) );\n\tblendedPerpLength = length( blendedPerp );\n\tunitPerp = mix( perpFallback, ( blendedPerp / vec2<f32>( max( blendedPerpLength, 0.0001 ) ) ), step( 0.0001, blendedPerpLength ) );\n\tmiterHalfWidth = mix( ( w * 0.5 ), ( w / max( dirSumLen, object.nodeUniform4 ) ), miterBlend );\n\tnormal = ( unitPerp * vec2<f32>( miterHalfWidth ) );\n\tnormal = ( ( render.cameraProjectionMatrix[ 0u ].xy * vec2<f32>( normal.x ) ) + ( render.cameraProjectionMatrix[ 1u ].xy * vec2<f32>( normal.y ) ) );\n\n\tif ( nodeVar1 ) {\n\n\t\tnodeVar9 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar9 = delta1RawLen;\n\n\t}\n\n\tbodyLength = nodeVar9;\n\n\tif ( ( bodyLength >= 1e-7 ) ) {\n\n\t\tnodeVar10 = normal;\n\n\t} else {\n\n\t\tnodeVar10 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\n\tif ( nodeConst6 ) {\n\n\t\tnodeVar11 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar11 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\tvarSide = nodeVar11;\n\tnodeVar12 = ( finalPosition.xy + ( nodeVar10 * vec2<f32>( varSide ) ) );\n\tfinalPosition.x = nodeVar12[ 0 ];\n\tfinalPosition.y = nodeVar12[ 1 ];\n\n\tif ( foldJointRow ) {\n\n\n\t\tif ( nodeVar1 ) {\n\n\t\t\tnodeVar14 = ( - projectedDir2 );\n\n\t\t} else {\n\n\t\t\tnodeVar14 = projectedDir1;\n\n\t\t}\n\n\t\tlet nodeConst14 = ( nodeVar14 * vec2<f32>( ( ( sqrt( splitWeight ) * sinHalfTurn ) * baseRadiusNdc ) ) );\n\t\tnodeVar13 = ( vec2<f32>( ( nodeConst14.x / aspect ), nodeConst14.y ) * vec2<f32>( finalPosition.w ) );\n\n\t} else {\n\n\t\tnodeVar13 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar15 = ( finalPosition.xy + nodeVar13 );\n\tfinalPosition.x = nodeVar15[ 0 ];\n\tfinalPosition.y = nodeVar15[ 1 ];\n\n\tif ( ( ( ( ( finalPosition.x == finalPosition.x ) && ( finalPosition.y == finalPosition.y ) ) && ( finalPosition.z == finalPosition.z ) ) && ( finalPosition.w == finalPosition.w ) ) ) {\n\n\t\tnodeVar16 = finalPosition;\n\n\t} else {\n\n\t\tnodeVar16 = vec4<f32>( 2.0, 2.0, 2.0, 1.0 );\n\n\t}\n\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeVar16;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform0 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) vColor : vec4<f32>,\n\t@builtin( position ) fragCoord : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar alpha : f32;\n\tvar Output : vec4<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vColor;\n\talpha = 1.0;\n\tlet nodeConst0 = smoothstep( 12.0, 26.0, length( ( v_positionWorld - render.cameraPosition ) ) );\n\talpha = ( alpha * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst0 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst0 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tDiffuseColor.w = ( DiffuseColor.w * alpha );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tnormalView = vec3<f32>( 0.0, 0.0, 1.0 );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform3, render.nodeUniform1, ( ( dot( normalWorld, normalize( render.nodeUniform2 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec4<f32>( 0.0, 0.0, 0.0, 0.0 ).xyz;\n\tindirectDiffuse = ( vec4<f32>( indirectDiffuse, 1.0 ) + vec4<f32>( 1.0, 1.0, 1.0, 0.0 ) ).xyz;\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectDiffuse = ( indirectDiffuse * DiffuseColor.xyz );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst1 = max( vec4<f32>( outgoingLight, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst1;\n\n\t// result\n\n\toutput.color = nodeConst1;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform0 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform4 : mat4x4<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec2<f32>,\n\tnodeUniform7 : f32,\n\tnodeUniform8 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) vColor : vec4<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\nvar<private> aspect : f32;\nvar<private> w : f32;\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) position : vec3<f32>,\n\t@location( 1 ) vertexColor : vec3<f32>,\n\t@location( 2 ) previous : vec3<f32>,\n\t@location( 3 ) next : vec3<f32>,\n\t@location( 4 ) endpoint : vec4<f32>,\n\t@location( 5 ) joinRole : f32,\n\t@location( 6 ) width : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar linePosition : vec3<f32>;\n\tvar color : vec4<f32>;\n\tvar nodeVar0 : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar viewPosition : vec4<f32>;\n\tvar viewPrevious : vec4<f32>;\n\tvar viewNext : vec4<f32>;\n\tvar finalPosition : vec4<f32>;\n\tvar prevPos : vec4<f32>;\n\tvar nextPos : vec4<f32>;\n\tvar currentP : vec2<f32>;\n\tvar prevP : vec2<f32>;\n\tvar nextP : vec2<f32>;\n\tvar delta1Raw : vec2<f32>;\n\tvar delta2Raw : vec2<f32>;\n\tvar delta1RawLen : f32;\n\tvar delta2RawLen : f32;\n\tvar projectedDir1 : vec2<f32>;\n\tvar projectedDir2 : vec2<f32>;\n\tvar rawTurnDot : f32;\n\tvar varEndpoint : vec4<f32>;\n\tvar nodeVar1 : bool;\n\tvar atStart : bool;\n\tvar atEnd : bool;\n\tvar nodeVar2 : f32;\n\tvar delta1Len : f32;\n\tvar nodeVar3 : f32;\n\tvar delta2Len : f32;\n\tvar nodeVar4 : vec2<f32>;\n\tvar dir1Raw : vec2<f32>;\n\tvar nodeVar5 : vec2<f32>;\n\tvar dir2Raw : vec2<f32>;\n\tvar dir1 : vec2<f32>;\n\tvar dir2 : vec2<f32>;\n\tvar dirSum : vec2<f32>;\n\tvar dirSumLen : f32;\n\tvar nodeVar6 : vec2<f32>;\n\tvar bodyDirection : vec2<f32>;\n\tvar perpFallback : vec2<f32>;\n\tvar limitBlend : f32;\n\tvar baseRadiusNdc : f32;\n\tvar foldJointRow : bool;\n\tvar sinHalfTurn : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar miterBlend : f32;\n\tvar splitWeight : f32;\n\tvar blendedPerp : vec2<f32>;\n\tvar blendedPerpLength : f32;\n\tvar unitPerp : vec2<f32>;\n\tvar miterHalfWidth : f32;\n\tvar normal : vec2<f32>;\n\tvar nodeVar9 : f32;\n\tvar bodyLength : f32;\n\tvar nodeVar10 : vec2<f32>;\n\tvar nodeVar11 : f32;\n\tvar varSide : f32;\n\tvar nodeVar12 : vec2<f32>;\n\tvar nodeVar13 : vec2<f32>;\n\tvar nodeVar14 : vec2<f32>;\n\tvar nodeVar15 : vec2<f32>;\n\tvar nodeVar16 : vec4<f32>;\n\tvar positionLocal : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tlet nodeConst0 = max( ( position.y - 0.5 ), 0.0 );\n\tlinePosition = ( position + ( vec3<f32>( 0.6222441255753677, 0.0, 0.7828232547561078 ) * vec3<f32>( ( ( ( nodeConst0 * 0.05 ) / ( ( nodeConst0 * 0.15 ) + 1.0 ) ) * ( ( pow( ( ( sin( ( ( ( dot( position.xz, vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) ) * 0.21 ) + ( sin( ( ( dot( position.xz, vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) ) * 0.085 ) + ( render.nodeUniform0 * 0.35 ) ) ) * 2.2 ) ) - ( render.nodeUniform0 * 1.75 ) ) ) * 0.5 ) + 0.5 ), 2.2 ) * 1.1 ) + 0.2 ) ) ) ) );\n\tpositionLocal = linePosition;\n\tvaryings.v_positionWorld = ( object.nodeUniform4 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tcolor = vec4<f32>( object.nodeUniform5, 1.0 );\n\tnodeVar0 = ( color.xyz * vertexColor );\n\tcolor.x = nodeVar0[ 0 ];\n\tcolor.y = nodeVar0[ 1 ];\n\tcolor.z = nodeVar0[ 2 ];\n\tlet nodeConst1 = ( varyings.v_positionWorld - render.cameraPosition );\n\tlet nodeConst2 = length( nodeConst1 );\n\tlet nodeConst3 = max( dot( ( nodeConst1 / vec3<f32>( nodeConst2 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst4 = ( nodeConst1 / vec3<f32>( nodeConst2 ) );\n\tlet nodeConst5 = ( nodeConst4.xz / vec2<f32>( max( length( nodeConst4.xz ), 0.0001 ) ) );\n\tlet nodeConst6 = max( dot( nodeConst5, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\tcolor = vec4<f32>( mix( mix( color.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst3, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst2 * -0.0042 ) ) ) * ( ( pow( nodeConst3, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst5, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst4.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst6, 4.0 ) * 0.14 ) + ( pow( nodeConst6, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst4.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( varyings.v_positionWorld.xz ) ), 1.35 ) ), color.w );\n\tvaryings.vColor = color;\n\taspect = ( object.nodeUniform6.x / object.nodeUniform6.y );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform4 );\n\tviewPosition = ( modelViewMatrix * vec4<f32>( linePosition, 1.0 ) );\n\tlet nodeConst7 = max( ( previous.y - 0.5 ), 0.0 );\n\tviewPrevious = ( modelViewMatrix * vec4<f32>( ( previous + ( vec3<f32>( 0.6222441255753677, 0.0, 0.7828232547561078 ) * vec3<f32>( ( ( ( nodeConst7 * 0.05 ) / ( ( nodeConst7 * 0.15 ) + 1.0 ) ) * ( ( pow( ( ( sin( ( ( ( dot( previous.xz, vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) ) * 0.21 ) + ( sin( ( ( dot( previous.xz, vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) ) * 0.085 ) + ( render.nodeUniform0 * 0.35 ) ) ) * 2.2 ) ) - ( render.nodeUniform0 * 1.75 ) ) ) * 0.5 ) + 0.5 ), 2.2 ) * 1.1 ) + 0.2 ) ) ) ) ), 1.0 ) );\n\tlet nodeConst8 = max( ( next.y - 0.5 ), 0.0 );\n\tviewNext = ( modelViewMatrix * vec4<f32>( ( next + ( vec3<f32>( 0.6222441255753677, 0.0, 0.7828232547561078 ) * vec3<f32>( ( ( ( nodeConst8 * 0.05 ) / ( ( nodeConst8 * 0.15 ) + 1.0 ) ) * ( ( pow( ( ( sin( ( ( ( dot( next.xz, vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) ) * 0.21 ) + ( sin( ( ( dot( next.xz, vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) ) * 0.085 ) + ( render.nodeUniform0 * 0.35 ) ) ) * 2.2 ) ) - ( render.nodeUniform0 * 1.75 ) ) ) * 0.5 ) + 0.5 ), 2.2 ) * 1.1 ) + 0.2 ) ) ) ) ), 1.0 ) );\n\tfinalPosition = ( render.cameraProjectionMatrix * viewPosition );\n\tprevPos = ( render.cameraProjectionMatrix * viewPrevious );\n\tnextPos = ( render.cameraProjectionMatrix * viewNext );\n\tcurrentP = fix( finalPosition, aspect );\n\tprevP = fix( prevPos, aspect );\n\tnextP = fix( nextPos, aspect );\n\tdelta1Raw = ( currentP - prevP );\n\tdelta2Raw = ( nextP - currentP );\n\tdelta1RawLen = length( delta1Raw );\n\tdelta2RawLen = length( delta2Raw );\n\tprojectedDir1 = ( delta1Raw / vec2<f32>( max( delta1RawLen, 1e-7 ) ) );\n\tprojectedDir2 = ( delta2Raw / vec2<f32>( max( delta2RawLen, 1e-7 ) ) );\n\trawTurnDot = dot( projectedDir1, projectedDir2 );\n\tvarEndpoint = endpoint;\n\tlet nodeConst9 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst9 ) {\n\n\t\tnodeVar1 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar1 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst10 = ( ( delta1RawLen >= 1e-7 ) && ( delta2RawLen >= 1e-7 ) );\n\tlet nodeConst11 = ( nodeConst10 && ( rawTurnDot <= -0.9998477101325989 ) );\n\tatStart = ( ( varEndpoint.x < -0.5 ) || ( nodeVar1 && nodeConst11 ) );\n\tatEnd = ( ( varEndpoint.x > 0.5 ) || ( ( ! nodeVar1 ) && nodeConst11 ) );\n\tw = ( object.nodeUniform7 * width );\n\n\tif ( atStart ) {\n\n\t\tnodeVar2 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar2 = delta1RawLen;\n\n\t}\n\n\tdelta1Len = nodeVar2;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar3 = delta1RawLen;\n\n\t} else {\n\n\t\tnodeVar3 = delta2RawLen;\n\n\t}\n\n\tdelta2Len = nodeVar3;\n\n\tif ( atStart ) {\n\n\t\tnodeVar4 = projectedDir2;\n\n\t} else {\n\n\t\tnodeVar4 = projectedDir1;\n\n\t}\n\n\tdir1Raw = nodeVar4;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar5 = projectedDir1;\n\n\t} else {\n\n\t\tnodeVar5 = projectedDir2;\n\n\t}\n\n\tdir2Raw = nodeVar5;\n\tdir1 = mix( mix( vec2<f32>( 1.0, 0.0 ), dir2Raw, step( 1e-7, delta2Len ) ), dir1Raw, step( 1e-7, delta1Len ) );\n\tdir2 = mix( dir1, dir2Raw, step( 1e-7, delta2Len ) );\n\tdirSum = ( dir1 + dir2 );\n\tdirSumLen = length( dirSum );\n\n\tif ( nodeVar1 ) {\n\n\t\tnodeVar6 = dir2;\n\n\t} else {\n\n\t\tnodeVar6 = dir1;\n\n\t}\n\n\tbodyDirection = nodeVar6;\n\tperpFallback = vec2<f32>( ( - bodyDirection.y ), bodyDirection.x );\n\tlimitBlend = smoothstep( ( object.nodeUniform8 * 0.75 ), object.nodeUniform8, dirSumLen );\n\tbaseRadiusNdc = ( ( render.cameraProjectionMatrix[ 1u ].y * ( w * 0.5 ) ) / max( abs( finalPosition.w ), 0.000001 ) );\n\tfoldJointRow = ( ( nodeConst10 && ( abs( varEndpoint.x ) <= 0.5 ) ) && ( ( render.cameraProjectionMatrix[ 3u ].w > 0.5 ) || ( min( finalPosition.w, min( prevPos.w, nextPos.w ) ) > ( render.cameraNear * 0.5 ) ) ) );\n\tsinHalfTurn = sqrt( max( ( ( 1.0 - rawTurnDot ) * 0.5 ), 0.0 ) );\n\n\tif ( foldJointRow ) {\n\n\t\tlet nodeConst12 = ( viewPosition.xyz - viewPrevious.xyz );\n\t\tlet nodeConst13 = dot( nodeConst12, nodeConst12 );\n\t\tlet nodeConst14 = ( viewNext.xyz - viewPosition.xyz );\n\t\tlet nodeConst15 = dot( nodeConst14, nodeConst14 );\n\n\t\tif ( ( ( nodeConst13 > 1e-30 ) && ( nodeConst15 > 1e-30 ) ) ) {\n\n\t\t\tnodeVar8 = clamp( ( ( dot( nodeConst12, nodeConst14 ) * inverseSqrt( nodeConst13 ) ) * inverseSqrt( nodeConst15 ) ), -1.0, 1.0 );\n\n\t\t} else {\n\n\t\t\tnodeVar8 = 1.0;\n\n\t\t}\n\n\t\tlet nodeConst16 = ( object.nodeUniform8 / mix( ( object.nodeUniform8 * 0.625 ), 1.0, ( 1.0 - smoothstep( 0.8660254037844387, 0.9659258262890683, nodeVar8 ) ) ) );\n\t\tnodeVar7 = ( smoothstep( ( nodeConst16 * 0.75 ), nodeConst16, dirSumLen ) * smoothstep( 0.75, 1.0, ( ( min( delta1Len, delta2Len ) * clamp( ( dirSumLen * 0.5 ), 0.0001, 1.0 ) ) / max( ( baseRadiusNdc * sinHalfTurn ), 1e-9 ) ) ) );\n\n\t} else {\n\n\t\tnodeVar7 = limitBlend;\n\n\t}\n\n\tmiterBlend = nodeVar7;\n\tsplitWeight = max( ( 1.0 - miterBlend ), f32( nodeConst11 ) );\n\tblendedPerp = ( ( perpFallback * vec2<f32>( ( 1.0 - miterBlend ) ) ) + ( vec2<f32>( ( - dirSum.y ), dirSum.x ) * vec2<f32>( ( miterBlend / max( dirSumLen, 0.0001 ) ) ) ) );\n\tblendedPerpLength = length( blendedPerp );\n\tunitPerp = mix( perpFallback, ( blendedPerp / vec2<f32>( max( blendedPerpLength, 0.0001 ) ) ), step( 0.0001, blendedPerpLength ) );\n\tmiterHalfWidth = mix( ( w * 0.5 ), ( w / max( dirSumLen, object.nodeUniform8 ) ), miterBlend );\n\tnormal = ( unitPerp * vec2<f32>( miterHalfWidth ) );\n\tnormal = ( ( render.cameraProjectionMatrix[ 0u ].xy * vec2<f32>( normal.x ) ) + ( render.cameraProjectionMatrix[ 1u ].xy * vec2<f32>( normal.y ) ) );\n\n\tif ( nodeVar1 ) {\n\n\t\tnodeVar9 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar9 = delta1RawLen;\n\n\t}\n\n\tbodyLength = nodeVar9;\n\n\tif ( ( bodyLength >= 1e-7 ) ) {\n\n\t\tnodeVar10 = normal;\n\n\t} else {\n\n\t\tnodeVar10 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\n\tif ( nodeConst9 ) {\n\n\t\tnodeVar11 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar11 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\tvarSide = nodeVar11;\n\tnodeVar12 = ( finalPosition.xy + ( nodeVar10 * vec2<f32>( varSide ) ) );\n\tfinalPosition.x = nodeVar12[ 0 ];\n\tfinalPosition.y = nodeVar12[ 1 ];\n\n\tif ( foldJointRow ) {\n\n\n\t\tif ( nodeVar1 ) {\n\n\t\t\tnodeVar14 = ( - projectedDir2 );\n\n\t\t} else {\n\n\t\t\tnodeVar14 = projectedDir1;\n\n\t\t}\n\n\t\tlet nodeConst17 = ( nodeVar14 * vec2<f32>( ( ( sqrt( splitWeight ) * sinHalfTurn ) * baseRadiusNdc ) ) );\n\t\tnodeVar13 = ( vec2<f32>( ( nodeConst17.x / aspect ), nodeConst17.y ) * vec2<f32>( finalPosition.w ) );\n\n\t} else {\n\n\t\tnodeVar13 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar15 = ( finalPosition.xy + nodeVar13 );\n\tfinalPosition.x = nodeVar15[ 0 ];\n\tfinalPosition.y = nodeVar15[ 1 ];\n\n\tif ( ( ( ( ( finalPosition.x == finalPosition.x ) && ( finalPosition.y == finalPosition.y ) ) && ( finalPosition.z == finalPosition.z ) ) && ( finalPosition.w == finalPosition.w ) ) ) {\n\n\t\tnodeVar16 = finalPosition;\n\n\t} else {\n\n\t\tnodeVar16 = vec4<f32>( 2.0, 2.0, 2.0, 1.0 );\n\n\t}\n\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeVar16;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform0 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) vColor : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar Output : vec4<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vColor;\n\tDiffuseColor.w = ( DiffuseColor.w * 1.0 );\n\tDiffuseColor.w = 1.0;\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tnormalView = vec3<f32>( 0.0, 0.0, 1.0 );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform3, render.nodeUniform1, ( ( dot( normalWorld, normalize( render.nodeUniform2 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec4<f32>( 0.0, 0.0, 0.0, 0.0 ).xyz;\n\tindirectDiffuse = ( vec4<f32>( indirectDiffuse, 1.0 ) + vec4<f32>( 1.0, 1.0, 1.0, 0.0 ) ).xyz;\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectDiffuse = ( indirectDiffuse * DiffuseColor.xyz );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst0 = max( vec4<f32>( outgoingLight, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst0;\n\n\t// result\n\n\toutput.color = nodeConst0;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n@binding( 2 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct nodeUniform1Struct {\n\tvalue : array< vec4<f32> >\n};\n@binding( 1 ) @group( 1 )\nvar<storage, read> nodeUniform1 : nodeUniform1Struct;\n\nstruct nodeUniform2Struct {\n\tvalue : array< vec2<f32> >\n};\n@binding( 4 ) @group( 1 )\nvar<storage, read> nodeUniform2 : nodeUniform2Struct;\n\nstruct objectStruct {\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec2<f32>,\n\tnodeUniform5 : mat4x4<f32>,\n\tnodeUniform6 : f32,\n\tnodeUniform7 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform8 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) vColor : vec4<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\nvar<private> aspect : f32;\nvar<private> w : f32;\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( instance_index ) instanceIndex : u32,\n\t@builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) progress : f32,\n\t@location( 1 ) joinRole : f32,\n\t@location( 2 ) position : vec3<f32>,\n\t@location( 3 ) previous : vec3<f32>,\n\t@location( 4 ) next : vec3<f32>,\n\t@location( 5 ) endpoint : vec4<f32>,\n\t@location( 6 ) width : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar color : vec4<f32>;\n\tvar riceInstanceTransform : vec4<f32>;\n\tvar riceFieldUV : vec2<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar riceWindPrimary : vec3<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar riceWindSecondary : vec3<f32>;\n\tvar riceGust : f32;\n\tvar riceInstanceState : vec2<f32>;\n\tvar riceFinalScale : f32;\n\tvar riceScaleInfluence : f32;\n\tvar nodeVar2 : f32;\n\tvar varSide : f32;\n\tvar riceWindDirection : vec2<f32>;\n\tvar riceWindStrength : f32;\n\tvar riceFromMiddle : f32;\n\tvar riceMist : f32;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar riceColorVariation : f32;\n\tvar linePosition : vec3<f32>;\n\tvar viewPosition : vec4<f32>;\n\tvar viewPrevious : vec4<f32>;\n\tvar viewNext : vec4<f32>;\n\tvar finalPosition : vec4<f32>;\n\tvar prevPos : vec4<f32>;\n\tvar nextPos : vec4<f32>;\n\tvar currentP : vec2<f32>;\n\tvar prevP : vec2<f32>;\n\tvar nextP : vec2<f32>;\n\tvar delta1Raw : vec2<f32>;\n\tvar delta2Raw : vec2<f32>;\n\tvar delta1RawLen : f32;\n\tvar delta2RawLen : f32;\n\tvar projectedDir1 : vec2<f32>;\n\tvar projectedDir2 : vec2<f32>;\n\tvar rawTurnDot : f32;\n\tvar varEndpoint : vec4<f32>;\n\tvar nodeVar3 : bool;\n\tvar atStart : bool;\n\tvar atEnd : bool;\n\tvar nodeVar4 : f32;\n\tvar delta1Len : f32;\n\tvar nodeVar5 : f32;\n\tvar delta2Len : f32;\n\tvar nodeVar6 : vec2<f32>;\n\tvar dir1Raw : vec2<f32>;\n\tvar nodeVar7 : vec2<f32>;\n\tvar dir2Raw : vec2<f32>;\n\tvar dir1 : vec2<f32>;\n\tvar dir2 : vec2<f32>;\n\tvar dirSum : vec2<f32>;\n\tvar dirSumLen : f32;\n\tvar nodeVar8 : vec2<f32>;\n\tvar bodyDirection : vec2<f32>;\n\tvar perpFallback : vec2<f32>;\n\tvar limitBlend : f32;\n\tvar foldWidth : f32;\n\tvar baseRadiusNdc : f32;\n\tvar foldJointRow : bool;\n\tvar sinHalfTurn : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar miterBlend : f32;\n\tvar splitWeight : f32;\n\tvar blendedPerp : vec2<f32>;\n\tvar blendedPerpLength : f32;\n\tvar unitPerp : vec2<f32>;\n\tvar miterHalfWidth : f32;\n\tvar normal : vec2<f32>;\n\tvar nodeVar11 : f32;\n\tvar bodyLength : f32;\n\tvar nodeVar12 : vec2<f32>;\n\tvar nodeVar13 : vec2<f32>;\n\tvar nodeVar14 : vec2<f32>;\n\tvar nodeVar15 : vec2<f32>;\n\tvar nodeVar16 : vec2<f32>;\n\tvar nodeVar17 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tcolor = vec4<f32>( object.nodeUniform3, 1.0 );\n\triceInstanceTransform = nodeUniform1.value[ instanceIndex ];\n\tlet nodeConst0 = ( ( riceInstanceTransform.x * 0.6222441255753677 ) + ( riceInstanceTransform.z * 0.7828232547561078 ) );\n\triceFieldUV = vec2<f32>( ( riceInstanceTransform.x / 64.0 ), ( riceInstanceTransform.z / 64.0 ) );\n\tlet nodeConst1 = ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( ( render.nodeUniform8 * 0.075 ) ) );\n\tnodeVar0 = textureSampleLevel( nodeUniform0, nodeUniform0_sampler, ( ( riceFieldUV * vec2<f32>( 0.75 ) ) - nodeConst1 ), 0 );\n\triceWindPrimary = nodeVar0.xyz;\n\tnodeVar1 = textureSampleLevel( nodeUniform0, nodeUniform0_sampler, ( ( ( riceFieldUV * vec2<f32>( 1.45 ) ) - ( nodeConst1 * vec2<f32>( 1.65 ) ) ) + ( ( riceWindPrimary.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 0.38 ) ) ), 0 );\n\triceWindSecondary = nodeVar1.xyz;\n\triceGust = ( pow( ( ( sin( ( ( ( nodeConst0 * 0.21 ) + ( ( ( ( riceWindPrimary.x - 0.5 ) * 8.5 ) + ( ( riceWindSecondary.y - 0.5 ) * 4.2 ) ) + ( sin( ( ( ( ( riceInstanceTransform.x * -0.7828232547561078 ) + ( riceInstanceTransform.z * 0.6222441255753677 ) ) * 0.085 ) + ( render.nodeUniform8 * 0.35 ) ) ) * 2.2 ) ) ) - ( render.nodeUniform8 * 1.75 ) ) ) * 0.5 ) + 0.5 ), 2.2 ) * smoothstep( 0.24, 0.78, ( ( riceWindPrimary.z * 0.55 ) + ( riceWindSecondary.x * 0.45 ) ) ) );\n\triceInstanceState = nodeUniform2.value[ instanceIndex ];\n\triceFinalScale = ( riceInstanceTransform.w * riceInstanceState.x );\n\triceScaleInfluence = smoothstep( 0.55, 1.0, riceFinalScale );\n\tlet nodeConst2 = ( riceGust * riceScaleInfluence );\n\tlet nodeConst3 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst3 ) {\n\n\t\tnodeVar2 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar2 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\tvarSide = nodeVar2;\n\tlet nodeConst4 = normalize( ( render.cameraPosition - vec3<f32>( riceInstanceTransform.x, ( ( progress * 3.0 ) * riceFinalScale ), riceInstanceTransform.z ) ) );\n\tlet nodeConst5 = max( dot( ( - nodeConst4 ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\triceWindDirection = ( ( riceWindPrimary.xy - vec2<f32>( 0.32 ) ) + ( ( riceWindSecondary.xy - vec2<f32>( 0.38 ) ) * vec2<f32>( 0.65 ) ) );\n\triceWindStrength = ( ( sin( ( render.nodeUniform8 * 0.45 ) ) * 0.25 ) + 0.95 );\n\tlet nodeConst6 = ( ( progress * 0.7 ) * riceScaleInfluence );\n\tlet nodeConst7 = dot( normalize( vec3<f32>( ( ( ( riceWindDirection.x * riceWindStrength ) + ( ( nodeConst2 * 0.6222441255753677 ) * 1.45 ) ) * nodeConst6 ), 1.0, ( ( ( riceWindDirection.y * riceWindStrength ) + ( ( nodeConst2 * 0.7828232547561078 ) * 1.45 ) ) * nodeConst6 ) ) ), normalize( ( nodeConst4 + vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ) ) );\n\tlet nodeConst8 = ( - nodeConst4 );\n\tlet nodeConst9 = ( nodeConst8.xz / vec2<f32>( max( length( nodeConst8.xz ), 0.0001 ) ) );\n\tlet nodeConst10 = max( dot( nodeConst9, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\triceFromMiddle = length( riceInstanceTransform.xz );\n\triceMist = pow( smoothstep( 40.0, 200.0, riceFromMiddle ), 1.35 );\n\tcolor = vec4<f32>( mix( ( ( ( ( ( ( ( mix( mix( mix( mix( mix( vec3<f32>( 0.004024717016506897, 0.01764195448412081, 0.008023192982520563 ), vec3<f32>( 0.014443843592229466, 0.023153366173251363, 0.0033465357620980074 ), riceInstanceTransform.y ), mix( vec3<f32>( 0.01680737574872402, 0.11193242782769693, 0.033104766565152086 ), vec3<f32>( 0.10224173307914941, 0.1878207722902346, 0.012983032338510335 ), riceInstanceTransform.y ), smoothstep( 0.0, 0.55, progress ) ), mix( vec3<f32>( 0.12213877222015301, 0.3049873140591091, 0.057805430183792694 ), vec3<f32>( 0.46207699964472876, 0.3712376804636741, 0.03954623527052923 ), riceInstanceTransform.y ), smoothstep( 0.56, 1.0, progress ) ), mix( vec3<f32>( 0.006512090790025684, 0.03954623527052923, 0.015996293361446288 ), vec3<f32>( 0.026241221889696346, 0.057805430183792694, 0.006048833020386069 ), riceInstanceTransform.y ), ( ( ( ( 1.0 - smoothstep( 0.0, 0.35, nodeConst2 ) ) * ( 1.0 - smoothstep( 0.22, 0.72, riceWindSecondary.z ) ) ) * smoothstep( 0.15, 0.85, progress ) ) * 0.38 ) ), mix( mix( vec3<f32>( 0.20863687013464577, 0.46207699964472876, 0.04373502925049377 ), vec3<f32>( 0.4286904966038916, 0.5394794890033748, 0.04666508633021928 ), riceInstanceTransform.y ), mix( vec3<f32>( 0.6866853124288864, 0.3813260114221238, 0.04518620437910499 ), vec3<f32>( 0.8713671191959567, 0.5271151256969157, 0.08865558627723595 ), riceInstanceTransform.y ), smoothstep( 0.45, 0.95, progress ) ), clamp( ( ( nodeConst2 * smoothstep( 0.22, 0.9, progress ) ) * 0.95 ), 0.0, 0.82 ) ) * vec3<f32>( ( ( varSide * 0.075 ) + 0.925 ) ) ) * vec3<f32>( riceInstanceState.y ) ) + ( vec3<f32>( 1.0, 0.5209955731953768, 0.11193242782769693 ) * vec3<f32>( ( ( ( ( pow( nodeConst2, 2.2 ) * 0.18 ) + ( pow( nodeConst5, 5.0 ) * 0.14 ) ) * pow( progress, 2.6 ) ) * riceScaleInfluence ) ) ) ) * vec3<f32>( ( ( smoothstep( 0.0, 0.14, progress ) * 0.22 ) + 0.78 ) ) ) + ( vec3<f32>( 1.0, 0.4232676699760063, 0.08437621153575764 ) * vec3<f32>( ( ( smoothstep( 0.04, 0.22, progress ) * ( 1.0 - smoothstep( 0.24, 0.58, progress ) ) ) * 0.12 ) ) ) ) + ( mix( vec3<f32>( 0.33245153633549385, 0.7454042095350284, 0.054480276435339814 ), vec3<f32>( 1.0, 0.5906188409113381, 0.09758734713304495 ), progress ) * vec3<f32>( ( ( ( ( pow( nodeConst5, 3.2 ) * ( ( abs( varSide ) * 0.55 ) + 0.45 ) ) * smoothstep( 0.2, 0.95, progress ) ) * riceScaleInfluence ) * 0.24 ) ) ) ) + ( vec3<f32>( 1.0, 0.7681511472425809, 0.3915724777393922 ) * vec3<f32>( ( ( ( ( pow( max( ( 1.0 - ( nodeConst7 * nodeConst7 ) ), 0.0 ), 24.0 ) * smoothstep( 0.25, 0.95, progress ) ) * ( 1.0 - ( abs( varSide ) * 0.45 ) ) ) * ( ( nodeConst2 * 0.65 ) + 0.35 ) ) * 0.22 ) ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst9, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst8.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst10, 4.0 ) * 0.14 ) + ( pow( nodeConst10, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst8.y ) * 0.45 ) + 0.55 ) ) ), riceMist ), color.w );\n\tvaryings.vColor = color;\n\taspect = ( object.nodeUniform4.x / object.nodeUniform4.y );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform5 );\n\tlet nodeConst11 = ( position.y / 3.0 );\n\tlet nodeConst12 = ( ( nodeConst11 * nodeConst11 ) * riceScaleInfluence );\n\tlet nodeConst13 = ( nodeConst12 * riceWindStrength );\n\tlet nodeConst14 = ( ( nodeConst12 * riceGust ) * 1.35 );\n\tlet nodeConst15 = normalize( ( riceWindDirection + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( 0.65 ) ) ) );\n\tlet nodeConst16 = ( pow( smoothstep( 0.42, 1.0, nodeConst11 ), 1.85 ) * riceScaleInfluence );\n\triceColorVariation = fract( ( sin( ( f32( instanceIndex ) * 12.9898 ) ) * 43758.5453 ) );\n\tlet nodeConst17 = ( ( ( sin( ( ( ( render.nodeUniform8 * 5.2 ) + ( riceColorVariation * 6.28 ) ) + ( nodeConst0 * 0.4 ) ) ) * 0.08 ) * nodeConst16 ) * ( riceGust + 0.35 ) );\n\tlinePosition = vec3<f32>( ( ( ( riceInstanceTransform.x + ( riceWindDirection.x * nodeConst13 ) ) + ( nodeConst14 * 0.6222441255753677 ) ) + ( nodeConst15.x * ( ( nodeConst16 * 0.38 ) + nodeConst17 ) ) ), ( ( ( position.y * riceFinalScale ) - ( nodeConst14 * 0.35 ) ) - ( nodeConst16 * 0.22 ) ), ( ( ( riceInstanceTransform.z + ( riceWindDirection.y * nodeConst13 ) ) + ( nodeConst14 * 0.7828232547561078 ) ) + ( nodeConst15.y * ( ( nodeConst16 * 0.38 ) + nodeConst17 ) ) ) );\n\tviewPosition = ( modelViewMatrix * vec4<f32>( linePosition, 1.0 ) );\n\tlet nodeConst18 = ( previous.y / 3.0 );\n\tlet nodeConst19 = ( ( nodeConst18 * nodeConst18 ) * riceScaleInfluence );\n\tlet nodeConst20 = ( nodeConst19 * riceWindStrength );\n\tlet nodeConst21 = ( ( nodeConst19 * riceGust ) * 1.35 );\n\tlet nodeConst22 = normalize( ( riceWindDirection + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( 0.65 ) ) ) );\n\tlet nodeConst23 = ( pow( smoothstep( 0.42, 1.0, nodeConst18 ), 1.85 ) * riceScaleInfluence );\n\tlet nodeConst24 = ( ( ( sin( ( ( ( render.nodeUniform8 * 5.2 ) + ( riceColorVariation * 6.28 ) ) + ( nodeConst0 * 0.4 ) ) ) * 0.08 ) * nodeConst23 ) * ( riceGust + 0.35 ) );\n\tviewPrevious = ( modelViewMatrix * vec4<f32>( vec3<f32>( ( ( ( riceInstanceTransform.x + ( riceWindDirection.x * nodeConst20 ) ) + ( nodeConst21 * 0.6222441255753677 ) ) + ( nodeConst22.x * ( ( nodeConst23 * 0.38 ) + nodeConst24 ) ) ), ( ( ( previous.y * riceFinalScale ) - ( nodeConst21 * 0.35 ) ) - ( nodeConst23 * 0.22 ) ), ( ( ( riceInstanceTransform.z + ( riceWindDirection.y * nodeConst20 ) ) + ( nodeConst21 * 0.7828232547561078 ) ) + ( nodeConst22.y * ( ( nodeConst23 * 0.38 ) + nodeConst24 ) ) ) ), 1.0 ) );\n\tlet nodeConst25 = ( next.y / 3.0 );\n\tlet nodeConst26 = ( ( nodeConst25 * nodeConst25 ) * riceScaleInfluence );\n\tlet nodeConst27 = ( nodeConst26 * riceWindStrength );\n\tlet nodeConst28 = ( ( nodeConst26 * riceGust ) * 1.35 );\n\tlet nodeConst29 = normalize( ( riceWindDirection + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( 0.65 ) ) ) );\n\tlet nodeConst30 = ( pow( smoothstep( 0.42, 1.0, nodeConst25 ), 1.85 ) * riceScaleInfluence );\n\tlet nodeConst31 = ( ( ( sin( ( ( ( render.nodeUniform8 * 5.2 ) + ( riceColorVariation * 6.28 ) ) + ( nodeConst0 * 0.4 ) ) ) * 0.08 ) * nodeConst30 ) * ( riceGust + 0.35 ) );\n\tviewNext = ( modelViewMatrix * vec4<f32>( vec3<f32>( ( ( ( riceInstanceTransform.x + ( riceWindDirection.x * nodeConst27 ) ) + ( nodeConst28 * 0.6222441255753677 ) ) + ( nodeConst29.x * ( ( nodeConst30 * 0.38 ) + nodeConst31 ) ) ), ( ( ( next.y * riceFinalScale ) - ( nodeConst28 * 0.35 ) ) - ( nodeConst30 * 0.22 ) ), ( ( ( riceInstanceTransform.z + ( riceWindDirection.y * nodeConst27 ) ) + ( nodeConst28 * 0.7828232547561078 ) ) + ( nodeConst29.y * ( ( nodeConst30 * 0.38 ) + nodeConst31 ) ) ) ), 1.0 ) );\n\tfinalPosition = ( render.cameraProjectionMatrix * viewPosition );\n\tprevPos = ( render.cameraProjectionMatrix * viewPrevious );\n\tnextPos = ( render.cameraProjectionMatrix * viewNext );\n\tcurrentP = fix( finalPosition, aspect );\n\tprevP = fix( prevPos, aspect );\n\tnextP = fix( nextPos, aspect );\n\tdelta1Raw = ( currentP - prevP );\n\tdelta2Raw = ( nextP - currentP );\n\tdelta1RawLen = length( delta1Raw );\n\tdelta2RawLen = length( delta2Raw );\n\tprojectedDir1 = ( delta1Raw / vec2<f32>( max( delta1RawLen, 1e-7 ) ) );\n\tprojectedDir2 = ( delta2Raw / vec2<f32>( max( delta2RawLen, 1e-7 ) ) );\n\trawTurnDot = dot( projectedDir1, projectedDir2 );\n\tvarEndpoint = endpoint;\n\n\tif ( nodeConst3 ) {\n\n\t\tnodeVar3 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar3 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst32 = ( ( delta1RawLen >= 1e-7 ) && ( delta2RawLen >= 1e-7 ) );\n\tlet nodeConst33 = ( nodeConst32 && ( rawTurnDot <= -0.9998477101325989 ) );\n\tatStart = ( ( varEndpoint.x < -0.5 ) || ( nodeVar3 && nodeConst33 ) );\n\tatEnd = ( ( varEndpoint.x > 0.5 ) || ( ( ! nodeVar3 ) && nodeConst33 ) );\n\tlet nodeConst34 = ( ( ( smoothstep( 0.1, 1.0, riceInstanceState.x ) * 0.7 ) + 0.3 ) * pow( min( ( pow( ( max( ( riceFromMiddle - 42.0 ), 0.0 ) / 40.0 ), 2.0 ) + 1.0 ), 9.0 ), 0.75 ) );\n\tw = ( ( object.nodeUniform6 * width ) * nodeConst34 );\n\n\tif ( atStart ) {\n\n\t\tnodeVar4 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar4 = delta1RawLen;\n\n\t}\n\n\tdelta1Len = nodeVar4;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar5 = delta1RawLen;\n\n\t} else {\n\n\t\tnodeVar5 = delta2RawLen;\n\n\t}\n\n\tdelta2Len = nodeVar5;\n\n\tif ( atStart ) {\n\n\t\tnodeVar6 = projectedDir2;\n\n\t} else {\n\n\t\tnodeVar6 = projectedDir1;\n\n\t}\n\n\tdir1Raw = nodeVar6;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar7 = projectedDir1;\n\n\t} else {\n\n\t\tnodeVar7 = projectedDir2;\n\n\t}\n\n\tdir2Raw = nodeVar7;\n\tdir1 = mix( mix( vec2<f32>( 1.0, 0.0 ), dir2Raw, step( 1e-7, delta2Len ) ), dir1Raw, step( 1e-7, delta1Len ) );\n\tdir2 = mix( dir1, dir2Raw, step( 1e-7, delta2Len ) );\n\tdirSum = ( dir1 + dir2 );\n\tdirSumLen = length( dirSum );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar8 = dir2;\n\n\t} else {\n\n\t\tnodeVar8 = dir1;\n\n\t}\n\n\tbodyDirection = nodeVar8;\n\tperpFallback = vec2<f32>( ( - bodyDirection.y ), bodyDirection.x );\n\tlimitBlend = smoothstep( ( object.nodeUniform7 * 0.75 ), object.nodeUniform7, dirSumLen );\n\tfoldWidth = max( ( ( object.nodeUniform6 * width ) * nodeConst34 ), ( ( object.nodeUniform6 * width ) * nodeConst34 ) );\n\tlet nodeConst35 = max( abs( finalPosition.w ), 0.000001 );\n\tbaseRadiusNdc = ( ( render.cameraProjectionMatrix[ 1u ].y * ( foldWidth * 0.5 ) ) / nodeConst35 );\n\tfoldJointRow = ( ( nodeConst32 && ( abs( varEndpoint.x ) <= 0.5 ) ) && ( ( render.cameraProjectionMatrix[ 3u ].w > 0.5 ) || ( min( finalPosition.w, min( prevPos.w, nextPos.w ) ) > ( render.cameraNear * 0.5 ) ) ) );\n\tsinHalfTurn = sqrt( max( ( ( 1.0 - rawTurnDot ) * 0.5 ), 0.0 ) );\n\n\tif ( foldJointRow ) {\n\n\t\tlet nodeConst36 = ( viewPosition.xyz - viewPrevious.xyz );\n\t\tlet nodeConst37 = dot( nodeConst36, nodeConst36 );\n\t\tlet nodeConst38 = ( viewNext.xyz - viewPosition.xyz );\n\t\tlet nodeConst39 = dot( nodeConst38, nodeConst38 );\n\n\t\tif ( ( ( nodeConst37 > 1e-30 ) && ( nodeConst39 > 1e-30 ) ) ) {\n\n\t\t\tnodeVar10 = clamp( ( ( dot( nodeConst36, nodeConst38 ) * inverseSqrt( nodeConst37 ) ) * inverseSqrt( nodeConst39 ) ), -1.0, 1.0 );\n\n\t\t} else {\n\n\t\t\tnodeVar10 = 1.0;\n\n\t\t}\n\n\t\tlet nodeConst40 = ( object.nodeUniform7 / mix( ( object.nodeUniform7 * 0.625 ), 1.0, ( 1.0 - smoothstep( 0.8660254037844387, 0.9659258262890683, nodeVar10 ) ) ) );\n\t\tnodeVar9 = ( smoothstep( ( nodeConst40 * 0.75 ), nodeConst40, dirSumLen ) * smoothstep( 0.75, 1.0, ( ( min( delta1Len, delta2Len ) * clamp( ( dirSumLen * 0.5 ), 0.0001, 1.0 ) ) / max( ( baseRadiusNdc * sinHalfTurn ), 1e-9 ) ) ) );\n\n\t} else {\n\n\t\tnodeVar9 = limitBlend;\n\n\t}\n\n\tmiterBlend = nodeVar9;\n\tsplitWeight = max( ( 1.0 - miterBlend ), f32( nodeConst33 ) );\n\tblendedPerp = ( ( perpFallback * vec2<f32>( ( 1.0 - miterBlend ) ) ) + ( vec2<f32>( ( - dirSum.y ), dirSum.x ) * vec2<f32>( ( miterBlend / max( dirSumLen, 0.0001 ) ) ) ) );\n\tblendedPerpLength = length( blendedPerp );\n\tunitPerp = mix( perpFallback, ( blendedPerp / vec2<f32>( max( blendedPerpLength, 0.0001 ) ) ), step( 0.0001, blendedPerpLength ) );\n\tmiterHalfWidth = mix( ( w * 0.5 ), ( w / max( dirSumLen, object.nodeUniform7 ) ), miterBlend );\n\tnormal = ( unitPerp * vec2<f32>( miterHalfWidth ) );\n\tnormal = ( ( render.cameraProjectionMatrix[ 0u ].xy * vec2<f32>( normal.x ) ) + ( render.cameraProjectionMatrix[ 1u ].xy * vec2<f32>( normal.y ) ) );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar11 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar11 = delta1RawLen;\n\n\t}\n\n\tbodyLength = nodeVar11;\n\n\tif ( ( bodyLength >= 1e-7 ) ) {\n\n\t\tnodeVar12 = normal;\n\n\t} else {\n\n\t\tnodeVar12 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar13 = ( finalPosition.xy + ( nodeVar12 * vec2<f32>( varSide ) ) );\n\tfinalPosition.x = nodeVar13[ 0 ];\n\tfinalPosition.y = nodeVar13[ 1 ];\n\n\tif ( foldJointRow ) {\n\n\n\t\tif ( nodeVar3 ) {\n\n\t\t\tnodeVar15 = ( - projectedDir2 );\n\n\t\t} else {\n\n\t\t\tnodeVar15 = projectedDir1;\n\n\t\t}\n\n\t\tlet nodeConst41 = ( nodeVar15 * vec2<f32>( ( ( sqrt( splitWeight ) * sinHalfTurn ) * ( ( render.cameraProjectionMatrix[ 1u ].y * ( w * 0.5 ) ) / nodeConst35 ) ) ) );\n\t\tnodeVar14 = ( vec2<f32>( ( nodeConst41.x / aspect ), nodeConst41.y ) * vec2<f32>( finalPosition.w ) );\n\n\t} else {\n\n\t\tnodeVar14 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar16 = ( finalPosition.xy + nodeVar14 );\n\tfinalPosition.x = nodeVar16[ 0 ];\n\tfinalPosition.y = nodeVar16[ 1 ];\n\n\tif ( ( ( ( ( finalPosition.x == finalPosition.x ) && ( finalPosition.y == finalPosition.y ) ) && ( finalPosition.z == finalPosition.z ) ) && ( finalPosition.w == finalPosition.w ) ) ) {\n\n\t\tnodeVar17 = finalPosition;\n\n\t} else {\n\n\t\tnodeVar17 = vec4<f32>( 2.0, 2.0, 2.0, 1.0 );\n\n\t}\n\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeVar17;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n@binding( 2 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct nodeUniform1Struct {\n\tvalue : array< vec4<f32> >\n};\n@binding( 1 ) @group( 1 )\nvar<storage, read> nodeUniform1 : nodeUniform1Struct;\n\nstruct nodeUniform2Struct {\n\tvalue : array< vec2<f32> >\n};\n@binding( 4 ) @group( 1 )\nvar<storage, read> nodeUniform2 : nodeUniform2Struct;\n\nstruct objectStruct {\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec2<f32>,\n\tnodeUniform5 : mat4x4<f32>,\n\tnodeUniform6 : f32,\n\tnodeUniform7 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform8 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) vColor : vec4<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\nvar<private> aspect : f32;\nvar<private> w : f32;\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( instance_index ) instanceIndex : u32,\n\t@builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) progress : f32,\n\t@location( 1 ) joinRole : f32,\n\t@location( 2 ) position : vec3<f32>,\n\t@location( 3 ) previous : vec3<f32>,\n\t@location( 4 ) next : vec3<f32>,\n\t@location( 5 ) endpoint : vec4<f32>,\n\t@location( 6 ) width : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar color : vec4<f32>;\n\tvar riceInstanceTransform : vec4<f32>;\n\tvar riceFieldUV : vec2<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar riceWindPrimary : vec3<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar riceWindSecondary : vec3<f32>;\n\tvar riceGust : f32;\n\tvar riceInstanceState : vec2<f32>;\n\tvar riceFinalScale : f32;\n\tvar riceScaleInfluence : f32;\n\tvar nodeVar2 : f32;\n\tvar varSide : f32;\n\tvar riceWindDirection : vec2<f32>;\n\tvar riceWindStrength : f32;\n\tvar riceFromMiddle : f32;\n\tvar riceMist : f32;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar linePosition : vec3<f32>;\n\tvar viewPosition : vec4<f32>;\n\tvar viewPrevious : vec4<f32>;\n\tvar viewNext : vec4<f32>;\n\tvar finalPosition : vec4<f32>;\n\tvar prevPos : vec4<f32>;\n\tvar nextPos : vec4<f32>;\n\tvar currentP : vec2<f32>;\n\tvar prevP : vec2<f32>;\n\tvar nextP : vec2<f32>;\n\tvar delta1Raw : vec2<f32>;\n\tvar delta2Raw : vec2<f32>;\n\tvar delta1RawLen : f32;\n\tvar delta2RawLen : f32;\n\tvar projectedDir1 : vec2<f32>;\n\tvar projectedDir2 : vec2<f32>;\n\tvar rawTurnDot : f32;\n\tvar varEndpoint : vec4<f32>;\n\tvar nodeVar3 : bool;\n\tvar atStart : bool;\n\tvar atEnd : bool;\n\tvar nodeVar4 : f32;\n\tvar delta1Len : f32;\n\tvar nodeVar5 : f32;\n\tvar delta2Len : f32;\n\tvar nodeVar6 : vec2<f32>;\n\tvar dir1Raw : vec2<f32>;\n\tvar nodeVar7 : vec2<f32>;\n\tvar dir2Raw : vec2<f32>;\n\tvar dir1 : vec2<f32>;\n\tvar dir2 : vec2<f32>;\n\tvar dirSum : vec2<f32>;\n\tvar dirSumLen : f32;\n\tvar nodeVar8 : vec2<f32>;\n\tvar bodyDirection : vec2<f32>;\n\tvar perpFallback : vec2<f32>;\n\tvar limitBlend : f32;\n\tvar foldWidth : f32;\n\tvar baseRadiusNdc : f32;\n\tvar foldJointRow : bool;\n\tvar sinHalfTurn : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar miterBlend : f32;\n\tvar splitWeight : f32;\n\tvar blendedPerp : vec2<f32>;\n\tvar blendedPerpLength : f32;\n\tvar unitPerp : vec2<f32>;\n\tvar miterHalfWidth : f32;\n\tvar normal : vec2<f32>;\n\tvar nodeVar11 : f32;\n\tvar bodyLength : f32;\n\tvar nodeVar12 : vec2<f32>;\n\tvar nodeVar13 : vec2<f32>;\n\tvar nodeVar14 : vec2<f32>;\n\tvar nodeVar15 : vec2<f32>;\n\tvar nodeVar16 : vec2<f32>;\n\tvar nodeVar17 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tcolor = vec4<f32>( object.nodeUniform3, 1.0 );\n\triceInstanceTransform = nodeUniform1.value[ instanceIndex ];\n\triceFieldUV = vec2<f32>( ( riceInstanceTransform.x / 64.0 ), ( riceInstanceTransform.z / 64.0 ) );\n\tlet nodeConst0 = ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( ( render.nodeUniform8 * 0.075 ) ) );\n\tnodeVar0 = textureSampleLevel( nodeUniform0, nodeUniform0_sampler, ( ( riceFieldUV * vec2<f32>( 0.75 ) ) - nodeConst0 ), 0 );\n\triceWindPrimary = nodeVar0.xyz;\n\tnodeVar1 = textureSampleLevel( nodeUniform0, nodeUniform0_sampler, ( ( ( riceFieldUV * vec2<f32>( 1.45 ) ) - ( nodeConst0 * vec2<f32>( 1.65 ) ) ) + ( ( riceWindPrimary.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 0.38 ) ) ), 0 );\n\triceWindSecondary = nodeVar1.xyz;\n\triceGust = ( pow( ( ( sin( ( ( ( ( ( riceInstanceTransform.x * 0.6222441255753677 ) + ( riceInstanceTransform.z * 0.7828232547561078 ) ) * 0.21 ) + ( ( ( ( riceWindPrimary.x - 0.5 ) * 8.5 ) + ( ( riceWindSecondary.y - 0.5 ) * 4.2 ) ) + ( sin( ( ( ( ( riceInstanceTransform.x * -0.7828232547561078 ) + ( riceInstanceTransform.z * 0.6222441255753677 ) ) * 0.085 ) + ( render.nodeUniform8 * 0.35 ) ) ) * 2.2 ) ) ) - ( render.nodeUniform8 * 1.75 ) ) ) * 0.5 ) + 0.5 ), 2.2 ) * smoothstep( 0.24, 0.78, ( ( riceWindPrimary.z * 0.55 ) + ( riceWindSecondary.x * 0.45 ) ) ) );\n\triceInstanceState = nodeUniform2.value[ instanceIndex ];\n\triceFinalScale = ( riceInstanceTransform.w * riceInstanceState.x );\n\triceScaleInfluence = smoothstep( 0.55, 1.0, riceFinalScale );\n\tlet nodeConst1 = ( riceGust * riceScaleInfluence );\n\tlet nodeConst2 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst2 ) {\n\n\t\tnodeVar2 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar2 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\tvarSide = nodeVar2;\n\tlet nodeConst3 = normalize( ( render.cameraPosition - vec3<f32>( riceInstanceTransform.x, ( ( progress * 3.0 ) * riceFinalScale ), riceInstanceTransform.z ) ) );\n\tlet nodeConst4 = max( dot( ( - nodeConst3 ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\triceWindDirection = ( ( riceWindPrimary.xy - vec2<f32>( 0.32 ) ) + ( ( riceWindSecondary.xy - vec2<f32>( 0.38 ) ) * vec2<f32>( 0.65 ) ) );\n\triceWindStrength = ( ( sin( ( render.nodeUniform8 * 0.45 ) ) * 0.25 ) + 0.95 );\n\tlet nodeConst5 = ( ( progress * 0.7 ) * riceScaleInfluence );\n\tlet nodeConst6 = dot( normalize( vec3<f32>( ( ( ( riceWindDirection.x * riceWindStrength ) + ( ( nodeConst1 * 0.6222441255753677 ) * 1.45 ) ) * nodeConst5 ), 1.0, ( ( ( riceWindDirection.y * riceWindStrength ) + ( ( nodeConst1 * 0.7828232547561078 ) * 1.45 ) ) * nodeConst5 ) ) ), normalize( ( nodeConst3 + vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ) ) );\n\tlet nodeConst7 = ( - nodeConst3 );\n\tlet nodeConst8 = ( nodeConst7.xz / vec2<f32>( max( length( nodeConst7.xz ), 0.0001 ) ) );\n\tlet nodeConst9 = max( dot( nodeConst8, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\triceFromMiddle = length( riceInstanceTransform.xz );\n\triceMist = pow( smoothstep( 40.0, 200.0, riceFromMiddle ), 1.35 );\n\tcolor = vec4<f32>( mix( ( ( ( ( ( ( ( mix( mix( mix( mix( mix( vec3<f32>( 0.004024717016506897, 0.01764195448412081, 0.008023192982520563 ), vec3<f32>( 0.014443843592229466, 0.023153366173251363, 0.0033465357620980074 ), riceInstanceTransform.y ), mix( vec3<f32>( 0.01680737574872402, 0.11193242782769693, 0.033104766565152086 ), vec3<f32>( 0.10224173307914941, 0.1878207722902346, 0.012983032338510335 ), riceInstanceTransform.y ), smoothstep( 0.0, 0.55, progress ) ), mix( vec3<f32>( 0.12213877222015301, 0.3049873140591091, 0.057805430183792694 ), vec3<f32>( 0.46207699964472876, 0.3712376804636741, 0.03954623527052923 ), riceInstanceTransform.y ), smoothstep( 0.56, 1.0, progress ) ), mix( vec3<f32>( 0.006512090790025684, 0.03954623527052923, 0.015996293361446288 ), vec3<f32>( 0.026241221889696346, 0.057805430183792694, 0.006048833020386069 ), riceInstanceTransform.y ), ( ( ( ( 1.0 - smoothstep( 0.0, 0.35, nodeConst1 ) ) * ( 1.0 - smoothstep( 0.22, 0.72, riceWindSecondary.z ) ) ) * smoothstep( 0.15, 0.85, progress ) ) * 0.38 ) ), mix( mix( vec3<f32>( 0.20863687013464577, 0.46207699964472876, 0.04373502925049377 ), vec3<f32>( 0.4286904966038916, 0.5394794890033748, 0.04666508633021928 ), riceInstanceTransform.y ), mix( vec3<f32>( 0.6866853124288864, 0.3813260114221238, 0.04518620437910499 ), vec3<f32>( 0.8713671191959567, 0.5271151256969157, 0.08865558627723595 ), riceInstanceTransform.y ), smoothstep( 0.45, 0.95, progress ) ), clamp( ( ( nodeConst1 * smoothstep( 0.22, 0.9, progress ) ) * 0.95 ), 0.0, 0.82 ) ) * vec3<f32>( ( ( varSide * 0.075 ) + 0.925 ) ) ) * vec3<f32>( riceInstanceState.y ) ) + ( vec3<f32>( 1.0, 0.5209955731953768, 0.11193242782769693 ) * vec3<f32>( ( ( ( ( pow( nodeConst1, 2.2 ) * 0.18 ) + ( pow( nodeConst4, 5.0 ) * 0.14 ) ) * pow( progress, 2.6 ) ) * riceScaleInfluence ) ) ) ) * vec3<f32>( ( ( smoothstep( 0.0, 0.14, progress ) * 0.22 ) + 0.78 ) ) ) + ( vec3<f32>( 1.0, 0.4232676699760063, 0.08437621153575764 ) * vec3<f32>( ( ( smoothstep( 0.04, 0.22, progress ) * ( 1.0 - smoothstep( 0.24, 0.58, progress ) ) ) * 0.12 ) ) ) ) + ( mix( vec3<f32>( 0.33245153633549385, 0.7454042095350284, 0.054480276435339814 ), vec3<f32>( 1.0, 0.5906188409113381, 0.09758734713304495 ), progress ) * vec3<f32>( ( ( ( ( pow( nodeConst4, 3.2 ) * ( ( abs( varSide ) * 0.55 ) + 0.45 ) ) * smoothstep( 0.2, 0.95, progress ) ) * riceScaleInfluence ) * 0.24 ) ) ) ) + ( vec3<f32>( 1.0, 0.7681511472425809, 0.3915724777393922 ) * vec3<f32>( ( ( ( ( pow( max( ( 1.0 - ( nodeConst6 * nodeConst6 ) ), 0.0 ), 24.0 ) * smoothstep( 0.25, 0.95, progress ) ) * ( 1.0 - ( abs( varSide ) * 0.45 ) ) ) * ( ( nodeConst1 * 0.65 ) + 0.35 ) ) * 0.22 ) ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst8, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst7.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst9, 4.0 ) * 0.14 ) + ( pow( nodeConst9, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst7.y ) * 0.45 ) + 0.55 ) ) ), riceMist ), color.w );\n\tvaryings.vColor = color;\n\taspect = ( object.nodeUniform4.x / object.nodeUniform4.y );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform5 );\n\tlet nodeConst10 = ( position.y / 3.0 );\n\tlet nodeConst11 = ( ( nodeConst10 * nodeConst10 ) * riceScaleInfluence );\n\tlet nodeConst12 = ( nodeConst11 * riceWindStrength );\n\tlet nodeConst13 = ( ( nodeConst11 * riceGust ) * 1.35 );\n\tlinePosition = vec3<f32>( ( ( riceInstanceTransform.x + ( riceWindDirection.x * nodeConst12 ) ) + ( nodeConst13 * 0.6222441255753677 ) ), ( ( position.y * riceFinalScale ) - ( nodeConst13 * 0.35 ) ), ( ( riceInstanceTransform.z + ( riceWindDirection.y * nodeConst12 ) ) + ( nodeConst13 * 0.7828232547561078 ) ) );\n\tviewPosition = ( modelViewMatrix * vec4<f32>( linePosition, 1.0 ) );\n\tlet nodeConst14 = ( previous.y / 3.0 );\n\tlet nodeConst15 = ( ( nodeConst14 * nodeConst14 ) * riceScaleInfluence );\n\tlet nodeConst16 = ( nodeConst15 * riceWindStrength );\n\tlet nodeConst17 = ( ( nodeConst15 * riceGust ) * 1.35 );\n\tviewPrevious = ( modelViewMatrix * vec4<f32>( vec3<f32>( ( ( riceInstanceTransform.x + ( riceWindDirection.x * nodeConst16 ) ) + ( nodeConst17 * 0.6222441255753677 ) ), ( ( previous.y * riceFinalScale ) - ( nodeConst17 * 0.35 ) ), ( ( riceInstanceTransform.z + ( riceWindDirection.y * nodeConst16 ) ) + ( nodeConst17 * 0.7828232547561078 ) ) ), 1.0 ) );\n\tlet nodeConst18 = ( next.y / 3.0 );\n\tlet nodeConst19 = ( ( nodeConst18 * nodeConst18 ) * riceScaleInfluence );\n\tlet nodeConst20 = ( nodeConst19 * riceWindStrength );\n\tlet nodeConst21 = ( ( nodeConst19 * riceGust ) * 1.35 );\n\tviewNext = ( modelViewMatrix * vec4<f32>( vec3<f32>( ( ( riceInstanceTransform.x + ( riceWindDirection.x * nodeConst20 ) ) + ( nodeConst21 * 0.6222441255753677 ) ), ( ( next.y * riceFinalScale ) - ( nodeConst21 * 0.35 ) ), ( ( riceInstanceTransform.z + ( riceWindDirection.y * nodeConst20 ) ) + ( nodeConst21 * 0.7828232547561078 ) ) ), 1.0 ) );\n\tfinalPosition = ( render.cameraProjectionMatrix * viewPosition );\n\tprevPos = ( render.cameraProjectionMatrix * viewPrevious );\n\tnextPos = ( render.cameraProjectionMatrix * viewNext );\n\tcurrentP = fix( finalPosition, aspect );\n\tprevP = fix( prevPos, aspect );\n\tnextP = fix( nextPos, aspect );\n\tdelta1Raw = ( currentP - prevP );\n\tdelta2Raw = ( nextP - currentP );\n\tdelta1RawLen = length( delta1Raw );\n\tdelta2RawLen = length( delta2Raw );\n\tprojectedDir1 = ( delta1Raw / vec2<f32>( max( delta1RawLen, 1e-7 ) ) );\n\tprojectedDir2 = ( delta2Raw / vec2<f32>( max( delta2RawLen, 1e-7 ) ) );\n\trawTurnDot = dot( projectedDir1, projectedDir2 );\n\tvarEndpoint = endpoint;\n\n\tif ( nodeConst2 ) {\n\n\t\tnodeVar3 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar3 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst22 = ( ( delta1RawLen >= 1e-7 ) && ( delta2RawLen >= 1e-7 ) );\n\tlet nodeConst23 = ( nodeConst22 && ( rawTurnDot <= -0.9998477101325989 ) );\n\tatStart = ( ( varEndpoint.x < -0.5 ) || ( nodeVar3 && nodeConst23 ) );\n\tatEnd = ( ( varEndpoint.x > 0.5 ) || ( ( ! nodeVar3 ) && nodeConst23 ) );\n\tlet nodeConst24 = ( ( ( smoothstep( 0.1, 1.0, riceInstanceState.x ) * 0.7 ) + 0.3 ) * pow( min( ( pow( ( max( ( riceFromMiddle - 42.0 ), 0.0 ) / 40.0 ), 2.0 ) + 1.0 ), 9.0 ), 0.75 ) );\n\tw = ( ( object.nodeUniform6 * width ) * nodeConst24 );\n\n\tif ( atStart ) {\n\n\t\tnodeVar4 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar4 = delta1RawLen;\n\n\t}\n\n\tdelta1Len = nodeVar4;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar5 = delta1RawLen;\n\n\t} else {\n\n\t\tnodeVar5 = delta2RawLen;\n\n\t}\n\n\tdelta2Len = nodeVar5;\n\n\tif ( atStart ) {\n\n\t\tnodeVar6 = projectedDir2;\n\n\t} else {\n\n\t\tnodeVar6 = projectedDir1;\n\n\t}\n\n\tdir1Raw = nodeVar6;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar7 = projectedDir1;\n\n\t} else {\n\n\t\tnodeVar7 = projectedDir2;\n\n\t}\n\n\tdir2Raw = nodeVar7;\n\tdir1 = mix( mix( vec2<f32>( 1.0, 0.0 ), dir2Raw, step( 1e-7, delta2Len ) ), dir1Raw, step( 1e-7, delta1Len ) );\n\tdir2 = mix( dir1, dir2Raw, step( 1e-7, delta2Len ) );\n\tdirSum = ( dir1 + dir2 );\n\tdirSumLen = length( dirSum );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar8 = dir2;\n\n\t} else {\n\n\t\tnodeVar8 = dir1;\n\n\t}\n\n\tbodyDirection = nodeVar8;\n\tperpFallback = vec2<f32>( ( - bodyDirection.y ), bodyDirection.x );\n\tlimitBlend = smoothstep( ( object.nodeUniform7 * 0.75 ), object.nodeUniform7, dirSumLen );\n\tfoldWidth = max( ( ( object.nodeUniform6 * width ) * nodeConst24 ), ( ( object.nodeUniform6 * width ) * nodeConst24 ) );\n\tlet nodeConst25 = max( abs( finalPosition.w ), 0.000001 );\n\tbaseRadiusNdc = ( ( render.cameraProjectionMatrix[ 1u ].y * ( foldWidth * 0.5 ) ) / nodeConst25 );\n\tfoldJointRow = ( ( nodeConst22 && ( abs( varEndpoint.x ) <= 0.5 ) ) && ( ( render.cameraProjectionMatrix[ 3u ].w > 0.5 ) || ( min( finalPosition.w, min( prevPos.w, nextPos.w ) ) > ( render.cameraNear * 0.5 ) ) ) );\n\tsinHalfTurn = sqrt( max( ( ( 1.0 - rawTurnDot ) * 0.5 ), 0.0 ) );\n\n\tif ( foldJointRow ) {\n\n\t\tlet nodeConst26 = ( viewPosition.xyz - viewPrevious.xyz );\n\t\tlet nodeConst27 = dot( nodeConst26, nodeConst26 );\n\t\tlet nodeConst28 = ( viewNext.xyz - viewPosition.xyz );\n\t\tlet nodeConst29 = dot( nodeConst28, nodeConst28 );\n\n\t\tif ( ( ( nodeConst27 > 1e-30 ) && ( nodeConst29 > 1e-30 ) ) ) {\n\n\t\t\tnodeVar10 = clamp( ( ( dot( nodeConst26, nodeConst28 ) * inverseSqrt( nodeConst27 ) ) * inverseSqrt( nodeConst29 ) ), -1.0, 1.0 );\n\n\t\t} else {\n\n\t\t\tnodeVar10 = 1.0;\n\n\t\t}\n\n\t\tlet nodeConst30 = ( object.nodeUniform7 / mix( ( object.nodeUniform7 * 0.625 ), 1.0, ( 1.0 - smoothstep( 0.8660254037844387, 0.9659258262890683, nodeVar10 ) ) ) );\n\t\tnodeVar9 = ( smoothstep( ( nodeConst30 * 0.75 ), nodeConst30, dirSumLen ) * smoothstep( 0.75, 1.0, ( ( min( delta1Len, delta2Len ) * clamp( ( dirSumLen * 0.5 ), 0.0001, 1.0 ) ) / max( ( baseRadiusNdc * sinHalfTurn ), 1e-9 ) ) ) );\n\n\t} else {\n\n\t\tnodeVar9 = limitBlend;\n\n\t}\n\n\tmiterBlend = nodeVar9;\n\tsplitWeight = max( ( 1.0 - miterBlend ), f32( nodeConst23 ) );\n\tblendedPerp = ( ( perpFallback * vec2<f32>( ( 1.0 - miterBlend ) ) ) + ( vec2<f32>( ( - dirSum.y ), dirSum.x ) * vec2<f32>( ( miterBlend / max( dirSumLen, 0.0001 ) ) ) ) );\n\tblendedPerpLength = length( blendedPerp );\n\tunitPerp = mix( perpFallback, ( blendedPerp / vec2<f32>( max( blendedPerpLength, 0.0001 ) ) ), step( 0.0001, blendedPerpLength ) );\n\tmiterHalfWidth = mix( ( w * 0.5 ), ( w / max( dirSumLen, object.nodeUniform7 ) ), miterBlend );\n\tnormal = ( unitPerp * vec2<f32>( miterHalfWidth ) );\n\tnormal = ( ( render.cameraProjectionMatrix[ 0u ].xy * vec2<f32>( normal.x ) ) + ( render.cameraProjectionMatrix[ 1u ].xy * vec2<f32>( normal.y ) ) );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar11 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar11 = delta1RawLen;\n\n\t}\n\n\tbodyLength = nodeVar11;\n\n\tif ( ( bodyLength >= 1e-7 ) ) {\n\n\t\tnodeVar12 = normal;\n\n\t} else {\n\n\t\tnodeVar12 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar13 = ( finalPosition.xy + ( nodeVar12 * vec2<f32>( varSide ) ) );\n\tfinalPosition.x = nodeVar13[ 0 ];\n\tfinalPosition.y = nodeVar13[ 1 ];\n\n\tif ( foldJointRow ) {\n\n\n\t\tif ( nodeVar3 ) {\n\n\t\t\tnodeVar15 = ( - projectedDir2 );\n\n\t\t} else {\n\n\t\t\tnodeVar15 = projectedDir1;\n\n\t\t}\n\n\t\tlet nodeConst31 = ( nodeVar15 * vec2<f32>( ( ( sqrt( splitWeight ) * sinHalfTurn ) * ( ( render.cameraProjectionMatrix[ 1u ].y * ( w * 0.5 ) ) / nodeConst25 ) ) ) );\n\t\tnodeVar14 = ( vec2<f32>( ( nodeConst31.x / aspect ), nodeConst31.y ) * vec2<f32>( finalPosition.w ) );\n\n\t} else {\n\n\t\tnodeVar14 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar16 = ( finalPosition.xy + nodeVar14 );\n\tfinalPosition.x = nodeVar16[ 0 ];\n\tfinalPosition.y = nodeVar16[ 1 ];\n\n\tif ( ( ( ( ( finalPosition.x == finalPosition.x ) && ( finalPosition.y == finalPosition.y ) ) && ( finalPosition.z == finalPosition.z ) ) && ( finalPosition.w == finalPosition.w ) ) ) {\n\n\t\tnodeVar17 = finalPosition;\n\n\t} else {\n\n\t\tnodeVar17 = vec4<f32>( 2.0, 2.0, 2.0, 1.0 );\n\n\t}\n\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeVar17;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 5 ) @group( 1 ) var nodeUniform2_sampler : sampler_comparison;\n@binding( 6 ) @group( 1 ) var nodeUniform2 : texture_depth_2d;\n\nstruct renderStruct {\n\tnodeUniform3 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : mat4x4<f32>,\n\tnodeUniform11 : f32,\n\tnodeUniform12 : f32,\n\tnodeUniform13 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform14 : mat4x4<f32>,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : f32,\n\tnodeUniform17 : mat3x3<f32>,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar5 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar6 : vec4<f32>;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar nodeVar11 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying6.y * 0.3 ) + 0.35 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying6.x / 1.328 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tlet nodeConst4 = ( nodeVarying6.x / 0.332 );\n\tlet nodeConst5 = max( fwidth( nodeConst4 ), 0.0001 );\n\tlet nodeConst6 = ( ( nodeVarying6.y - 0.17 ) * 10.843373493975903 );\n\tlet nodeConst7 = max( fwidth( nodeConst6 ), 0.0001 );\n\tlet nodeConst8 = max( max( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.04 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.08, smoothstep( 0.15, 0.45, nodeConst3 ) ), mix( smoothstep( ( - nodeConst5 ), nodeConst5, ( 0.06 - abs( ( fract( ( nodeConst4 + 0.5 ) ) - 0.5 ) ) ) ), 0.12, smoothstep( 0.15, 0.45, nodeConst5 ) ) ), mix( smoothstep( ( - nodeConst7 ), nodeConst7, ( 0.07 - abs( ( fract( ( nodeConst6 + 0.5 ) ) - 0.5 ) ) ) ), 0.14, smoothstep( 0.15, 0.45, nodeConst7 ) ) );\n\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 8.0 ) ) );\n\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 3.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst9 = clamp( ( ( ( ( fract( ( sin( ( floor( ( nodeVarying6.x / 0.48 ) ) * 12.9898 ) ) * 43758.5453 ) ) * 0.34 ) + ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.2 ) ) + 0.16 ) + ( ( ( ( ( nodeVar2.y * 0.5 ) + ( nodeVar3.y * 0.34 ) ) + ( nodeVar2.x * 0.16 ) ) - 0.5 ) * 0.62 ) ), 0.0, 1.0 );\n\tlet nodeConst10 = ( nodeVarying6.x / 0.48 );\n\tlet nodeConst11 = max( fwidth( nodeConst10 ), 0.0001 );\n\tlet nodeConst12 = step( nodeVarying6.y, 0.17 );\n\tDiffuseColor = vec4<f32>( mix( mix( mix( mix( mix( vec3<f32>( 0.6307571363387763, 0.5394794890033748, 0.36130677977297226 ), vec3<f32>( 0.8069522576650873, 0.7156935005005721, 0.5271151256969157 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7156935005005721 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9473065367320066, 0.8227857543924378 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.04231141061442144, 0.02121901037134225, 0.011612245176281512 ), nodeConst8 ), ( ( mix( mix( mix( vec3<f32>( 0.025186859622305935, 0.013702083043526807, 0.009134058699157796 ), vec3<f32>( 0.07618538147321911, 0.038204371589236, 0.018500220124016652 ), smoothstep( 0.0, 0.3333333333333333, nodeConst9 ) ), vec3<f32>( 0.19461783043107173, 0.09758734713304495, 0.03954623527052923 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst9 ) ), vec3<f32>( 0.3515325994898463, 0.20863687013464577, 0.08865558627723595 ), smoothstep( 0.6666666666666666, 1.0, nodeConst9 ) ) * vec3<f32>( ( ( ( nodeVar3.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst11 ), nodeConst11, ( 0.035 - abs( ( fract( ( nodeConst10 + 0.5 ) ) - 0.5 ) ) ) ), 0.07, smoothstep( 0.15, 0.45, nodeConst11 ) ) * -0.45 ) + 1.0 ) ) ), nodeConst12 ), 1.0 );\n\tlet nodeConst13 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst14 = length( nodeConst13 );\n\tlet nodeConst15 = smoothstep( 12.0, 26.0, nodeConst14 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst15 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst15 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform15;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst16 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform16, 0.045 ) + max( max( nodeConst16.x, nodeConst16.y ), nodeConst16.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform15 ) ) );\n\tnodeVar4 = textureSample( nodeUniform1, nodeUniform1_sampler, vec2<f32>( ( nodeVarying6.x * 0.11 ), 0.37 ) );\n\tEmissiveColor = ( ( ( ( ( ( vec3<f32>( 1.0, 0.36130677977297226, 0.06847816983662762 ) * vec3<f32>( ( ( ( sin( ( ( render.nodeUniform3 * 2.3 ) + ( v_positionWorld.x * 0.7 ) ) ) * 0.04 ) + ( sin( ( ( render.nodeUniform3 * 5.1 ) + v_positionWorld.z ) ) * 0.03 ) ) + 1.0 ) ) ) * vec3<f32>( ( ( nodeVar4.x * 0.9 ) + 0.55 ) ) ) * vec3<f32>( ( ( nodeVarying6.y * -0.45 ) + 1.15 ) ) ) * vec3<f32>( 1.5 ) ) * vec3<f32>( ( 1.0 - nodeConst8 ) ) ) * vec3<f32>( ( 1.0 - nodeConst12 ) ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst17 = ( render.nodeUniform10 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform11 ) ) ), 1.0 ) );\n\tlet nodeConst18 = ( nodeConst17.xyz / vec3<f32>( nodeConst17.w ) );\n\tlet nodeConst19 = vec3<f32>( nodeConst18.x, ( 1.0 - nodeConst18.y ), ( nodeConst18.z + render.nodeUniform12 ) );\n\n\tif ( ( ( ( ( ( nodeConst19.x >= 0.0 ) && ( nodeConst19.x <= 1.0 ) ) && ( nodeConst19.y >= 0.0 ) ) && ( nodeConst19.y <= 1.0 ) ) && ( nodeConst19.z <= 1.0 ) ) ) {\n\n\t\tnodeVar6 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst20 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst21 = ( nodeConst19.xy + ( ( ( nodeVar6.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst20 ) );\n\t\tlet nodeConst22 = ( nodeConst21 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst20 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst22, nodeConst19.z );\n\t\tlet nodeConst23 = ( nodeConst21 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst20 ) );\n\t\tnodeVar8 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst23, nodeConst19.z );\n\t\tlet nodeConst24 = ( nodeConst21 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst20 ) );\n\t\tnodeVar9 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst24, nodeConst19.z );\n\t\tlet nodeConst25 = ( nodeConst21 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst20 ) );\n\t\tnodeVar10 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst25, nodeConst19.z );\n\t\tnodeVar5 = ( ( ( ( ( 0.0 + nodeVar7 ) + nodeVar8 ) + nodeVar9 ) + nodeVar10 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar5 = 1.0;\n\n\t}\n\n\tnodeVar11 = mix( 1.0, nodeVar5, render.nodeUniform13 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform4 * vec3<f32>( nodeVar11 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform8 - render.nodeUniform9 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform7, render.nodeUniform5, ( ( dot( normalWorld, normalize( render.nodeUniform6 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst26 = max( dot( ( nodeConst13 / vec3<f32>( nodeConst14 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst27 = ( nodeConst13 / vec3<f32>( nodeConst14 ) );\n\tlet nodeConst28 = ( nodeConst27.xz / vec2<f32>( max( length( nodeConst27.xz ), 0.0001 ) ) );\n\tlet nodeConst29 = max( dot( nodeConst28, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst26, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst14 * -0.0042 ) ) ) * ( ( pow( nodeConst26, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst28, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst27.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst29, 4.0 ) * 0.14 ) + ( pow( nodeConst29, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst27.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying6.y * 0.5 ) + 0.2 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.5 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = length( vec2<f32>( ( nodeVarying6.x - 1.2000000000000002 ), ( ( nodeVarying6.y - 0.5 ) * 1.2800000000000002 ) ) );\n\tlet nodeConst3 = ( nodeVarying6.x / 0.8000000000000002 );\n\tlet nodeConst4 = max( fwidth( nodeConst3 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( ( mix( mix( mix( mix( vec3<f32>( 0.008023192982520563, 0.02955683443236377, 0.10224173307914941 ), vec3<f32>( 0.01680737574872402, 0.06847816983662762, 0.21586050010324417 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.04231141061442144, 0.1499597898006365, 0.3915724777393922 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.11193242782769693, 0.2788942634659966, 0.55201140150344 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.9215818562755338, 0.8796223968851662, 0.775822218312646 ), ( ( 1.0 - smoothstep( 0.272, 0.32000000000000006, nodeConst2 ) ) * smoothstep( 0.16000000000000003, 0.20800000000000002, nodeConst2 ) ) ) * vec3<f32>( ( ( ( mix( smoothstep( ( - nodeConst4 ), nodeConst4, ( 0.012 - abs( ( fract( ( nodeConst3 + 0.5 ) ) - 0.5 ) ) ) ), 0.024, smoothstep( 0.15, 0.45, nodeConst4 ) ) * step( nodeVarying6.y, 0.7 ) ) * -0.75 ) + 1.0 ) ) ), 1.0 );\n\tlet nodeConst5 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst6 = length( nodeConst5 );\n\tlet nodeConst7 = smoothstep( 12.0, 26.0, nodeConst6 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst7 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst7 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst8 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst8.x, nodeConst8.y ), nodeConst8.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst9 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst10 = ( nodeConst9.xyz / vec3<f32>( nodeConst9.w ) );\n\tlet nodeConst11 = vec3<f32>( nodeConst10.x, ( 1.0 - nodeConst10.y ), ( nodeConst10.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst11.x >= 0.0 ) && ( nodeConst11.x <= 1.0 ) ) && ( nodeConst11.y >= 0.0 ) ) && ( nodeConst11.y <= 1.0 ) ) && ( nodeConst11.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst12 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst13 = ( nodeConst11.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst12 ) );\n\t\tlet nodeConst14 = ( nodeConst13 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst12 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst11.z );\n\t\tlet nodeConst15 = ( nodeConst13 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst12 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst15, nodeConst11.z );\n\t\tlet nodeConst16 = ( nodeConst13 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst12 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst16, nodeConst11.z );\n\t\tlet nodeConst17 = ( nodeConst13 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst12 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst17, nodeConst11.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst18 = max( dot( ( nodeConst5 / vec3<f32>( nodeConst6 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst19 = ( nodeConst5 / vec3<f32>( nodeConst6 ) );\n\tlet nodeConst20 = ( nodeConst19.xz / vec2<f32>( max( length( nodeConst19.xz ), 0.0001 ) ) );\n\tlet nodeConst21 = max( dot( nodeConst20, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst18, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst6 * -0.0042 ) ) ) * ( ( pow( nodeConst18, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst20, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst19.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst21, 4.0 ) * 0.14 ) + ( pow( nodeConst21, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst19.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : mat3x3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : f32,\n\tnodeUniform6 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : vec3<f32>,\n\tnodeUniform13 : mat4x4<f32>,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) uv : vec2<f32>,\n\t@location( 1 ) position : vec3<f32>,\n\t@location( 2 ) normal : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tvaryings.nodeVarying6 = uv;\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform3 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 2 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 5 ) @group( 1 ) var nodeUniform2_sampler : sampler_comparison;\n@binding( 6 ) @group( 1 ) var nodeUniform2 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : mat4x4<f32>,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32,\n\tnodeUniform12 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform13 : mat4x4<f32>,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : mat3x3<f32>,\n\tnodeUniform17 : vec2<f32>\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) v_positionViewDirection : vec3<f32>,\n\t@location( 3 ) nodeVarying7 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar positionViewDirection : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar4 : f32;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar5 : vec4<f32>;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = smoothstep( 3.6, 13.5, v_positionWorld.y );\n\tlet nodeConst1 = vec2<f32>( nodeVarying7.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst1 / vec2<f32>( 7.5, 9.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst1 / vec2<f32>( 2.7, 3.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst2 = clamp( ( ( ( nodeConst0 * 0.4 ) + 0.24 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.8 ) ), 0.0, 1.0 );\n\tnodeVar2 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.0045 ) ) + vec2<f32>( 0.13, 0.71 ) ) );\n\tnodeVar3 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( v_positionWorld.xz * vec2<f32>( 0.05 ) ) + vec2<f32>( 0.0 ) ) );\n\tDiffuseColor = vec4<f32>( ( mix( mix( ( mix( mix( mix( mix( mix( mix( vec3<f32>( 0.10702310296918527, 0.06480326668529614, 0.02955683443236377 ), vec3<f32>( 0.2541520943200296, 0.14412847084818123, 0.04817182422013895 ), smoothstep( 0.0, 0.25, nodeConst2 ) ), vec3<f32>( 0.4735314961384573, 0.2788942634659966, 0.08021982030622662 ), smoothstep( 0.25, 0.5, nodeConst2 ) ), vec3<f32>( 0.7230551289161951, 0.48514994004665124, 0.1499597898006365 ), smoothstep( 0.5, 0.75, nodeConst2 ) ), vec3<f32>( 0.8879231178794776, 0.6938717612856897, 0.2874408377161099 ), smoothstep( 0.75, 1.0, nodeConst2 ) ), mix( mix( mix( mix( vec3<f32>( 0.11193242782769693, 0.08437621153575764, 0.05126945836711539 ), vec3<f32>( 0.2541520943200296, 0.1844749944900301, 0.10224173307914941 ), smoothstep( 0.0, 0.25, nodeConst2 ) ), vec3<f32>( 0.450785782828426, 0.33245153633549385, 0.181164244239483 ), smoothstep( 0.25, 0.5, nodeConst2 ) ), vec3<f32>( 0.6444796819634361, 0.5028864580233624, 0.2874408377161099 ), smoothstep( 0.5, 0.75, nodeConst2 ) ), vec3<f32>( 0.8227857543924378, 0.6938717612856897, 0.4452011945063733 ), smoothstep( 0.75, 1.0, nodeConst2 ) ), ( smoothstep( 0.36, 0.7, nodeVar2.z ) * 0.8 ) ), mix( mix( mix( vec3<f32>( 0.05286064701616471, 0.11697066774917994, 0.04231141061442144 ), vec3<f32>( 0.13286832154414627, 0.23839757380151394, 0.04970656597728775 ), smoothstep( 0.0, 0.3333333333333333, nodeConst2 ) ), vec3<f32>( 0.2788942634659966, 0.3915724777393922, 0.07618538147321911 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst2 ) ), vec3<f32>( 0.46778379610254284, 0.5271151256969157, 0.13286832154414627 ), smoothstep( 0.6666666666666666, 1.0, nodeConst2 ) ), ( ( smoothstep( 0.5, 0.74, ( ( nodeVar3.x * 0.55 ) + ( nodeVar0.x * 0.45 ) ) ) * ( 1.0 - nodeConst0 ) ) * 0.75 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.16 ) + 1.0 ) ) ), vec3<f32>( 0.06847816983662762, 0.03954623527052923, 0.019382360952473074 ), ( smoothstep( 0.42, 0.22, nodeVar1.w ) * 0.6 ) ), vec3<f32>( 0.9215818562755338, 0.775822218312646, 0.4019777798219466 ), ( smoothstep( 0.6, 0.82, nodeVar1.w ) * 0.48 ) ) * vec3<f32>( ( ( smoothstep( 0.72, 1.0, nodeVarying7.y ) * -0.13 ) + 1.0 ) ) ), 1.0 );\n\tlet nodeConst3 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst4 = length( nodeConst3 );\n\tlet nodeConst5 = smoothstep( 12.0, 26.0, nodeConst4 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst5 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst5 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform14;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst6 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform15, 0.045 ) + max( max( nodeConst6.x, nodeConst6.y ), nodeConst6.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform14 ) ) );\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tpositionViewDirection = normalize( v_positionViewDirection );\n\tlet nodeConst7 = max( dot( ( nodeConst3 / vec3<f32>( nodeConst4 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tEmissiveColor = ( ( vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ) * vec3<f32>( ( ( ( pow( ( 1.0 - abs( dot( normalView, positionViewDirection ) ) ), 2.0 ) * 0.9 ) + 0.16 ) * pow( nodeConst7, 3.0 ) ) ) ) * vec3<f32>( 0.5 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst8 = ( render.nodeUniform9 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform10 ) ) ), 1.0 ) );\n\tlet nodeConst9 = ( nodeConst8.xyz / vec3<f32>( nodeConst8.w ) );\n\tlet nodeConst10 = vec3<f32>( nodeConst9.x, ( 1.0 - nodeConst9.y ), ( nodeConst9.z + render.nodeUniform11 ) );\n\n\tif ( ( ( ( ( ( nodeConst10.x >= 0.0 ) && ( nodeConst10.x <= 1.0 ) ) && ( nodeConst10.y >= 0.0 ) ) && ( nodeConst10.y <= 1.0 ) ) && ( nodeConst10.z <= 1.0 ) ) ) {\n\n\t\tnodeVar5 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst11 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform17 );\n\t\tlet nodeConst12 = ( nodeConst10.xy + ( ( ( nodeVar5.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst11 ) );\n\t\tlet nodeConst13 = ( nodeConst12 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst11 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst13, nodeConst10.z );\n\t\tlet nodeConst14 = ( nodeConst12 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst11 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst14, nodeConst10.z );\n\t\tlet nodeConst15 = ( nodeConst12 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst11 ) );\n\t\tnodeVar8 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst15, nodeConst10.z );\n\t\tlet nodeConst16 = ( nodeConst12 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst11 ) );\n\t\tnodeVar9 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst16, nodeConst10.z );\n\t\tnodeVar4 = ( ( ( ( ( 0.0 + nodeVar6 ) + nodeVar7 ) + nodeVar8 ) + nodeVar9 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar4 = 1.0;\n\n\t}\n\n\tnodeVar10 = mix( 1.0, nodeVar4, render.nodeUniform12 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform3 * vec3<f32>( nodeVar10 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform7 - render.nodeUniform8 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform6, render.nodeUniform4, ( ( dot( normalWorld, normalize( render.nodeUniform5 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst17 = ( nodeConst3 / vec3<f32>( nodeConst4 ) );\n\tlet nodeConst18 = ( nodeConst17.xz / vec2<f32>( max( length( nodeConst17.xz ), 0.0001 ) ) );\n\tlet nodeConst19 = max( dot( nodeConst18, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst7, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst4 * -0.0042 ) ) ) * ( ( pow( nodeConst7, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst18, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst17.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst19, 4.0 ) * 0.14 ) + ( pow( nodeConst19, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst17.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : mat3x3<f32>,\n\tnodeUniform4 : vec2<f32>\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : mat4x4<f32>,\n\tnodeUniform12 : f32,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) v_positionViewDirection : vec3<f32>,\n\t@location( 3 ) nodeVarying7 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32>,\n\t@location( 1 ) uv : vec2<f32>,\n\t@location( 2 ) normal : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.nodeVarying7 = uv;\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform3 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.v_positionViewDirection = ( - v_positionView );\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( ( nodeVarying6.y * 0.9 ), nodeVarying6.x );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 2.4, 6.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 0.9, 2.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying6.y * 0.5 ) + 0.2 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.7 ) ), 0.0, 1.0 );\n\tDiffuseColor = vec4<f32>( ( mix( mix( mix( vec3<f32>( 0.06301001764564068, 0.036889450395083165, 0.023153366173251363 ), vec3<f32>( 0.181164244239483, 0.09989872823822872, 0.04231141061442144 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.4232676699760063, 0.26225065751888765, 0.09305896283800832 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.6938717612856897, 0.4910208498384856, 0.20155625378383743 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.2 ) + 1.0 ) ) ), 1.0 );\n\tlet nodeConst2 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst3 = length( nodeConst2 );\n\tlet nodeConst4 = smoothstep( 12.0, 26.0, nodeConst3 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst4 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst4 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst5 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst5.x, nodeConst5.y ), nodeConst5.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst6 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst7 = ( nodeConst6.xyz / vec3<f32>( nodeConst6.w ) );\n\tlet nodeConst8 = vec3<f32>( nodeConst7.x, ( 1.0 - nodeConst7.y ), ( nodeConst7.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst8.x >= 0.0 ) && ( nodeConst8.x <= 1.0 ) ) && ( nodeConst8.y >= 0.0 ) ) && ( nodeConst8.y <= 1.0 ) ) && ( nodeConst8.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst9 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst10 = ( nodeConst8.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst9 ) );\n\t\tlet nodeConst11 = ( nodeConst10 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst9 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst11, nodeConst8.z );\n\t\tlet nodeConst12 = ( nodeConst10 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst9 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst12, nodeConst8.z );\n\t\tlet nodeConst13 = ( nodeConst10 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst9 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst13, nodeConst8.z );\n\t\tlet nodeConst14 = ( nodeConst10 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst9 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst8.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst15 = max( dot( ( nodeConst2 / vec3<f32>( nodeConst3 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst16 = ( nodeConst2 / vec3<f32>( nodeConst3 ) );\n\tlet nodeConst17 = ( nodeConst16.xz / vec2<f32>( max( length( nodeConst16.xz ), 0.0001 ) ) );\n\tlet nodeConst18 = max( dot( nodeConst17, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst15, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst3 * -0.0042 ) ) ) * ( ( pow( nodeConst15, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst17, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst16.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst18, 4.0 ) * 0.14 ) + ( pow( nodeConst18, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst16.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 8.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 3.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( ( fract( ( sin( ( floor( ( nodeVarying6.x / 0.48 ) ) * 12.9898 ) ) * 43758.5453 ) ) * 0.34 ) + ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.2 ) ) + 0.16 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.62 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying6.x / 0.48 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( ( ( mix( mix( mix( vec3<f32>( 0.10702310296918527, 0.059511238155621766, 0.02955683443236377 ), vec3<f32>( 0.24620132669705552, 0.13563332964548108, 0.061246054224174035 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.450785782828426, 0.2704977910022518, 0.12213877222015301 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.6444796819634361, 0.43415363616478553, 0.21586050010324417 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.035 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.07, smoothstep( 0.15, 0.45, nodeConst3 ) ) * -0.45 ) + 1.0 ) ) ), 1.0 );\n\tlet nodeConst4 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst5 = length( nodeConst4 );\n\tlet nodeConst6 = smoothstep( 12.0, 26.0, nodeConst5 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst6 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst6 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst7 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst7.x, nodeConst7.y ), nodeConst7.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst8 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst9 = ( nodeConst8.xyz / vec3<f32>( nodeConst8.w ) );\n\tlet nodeConst10 = vec3<f32>( nodeConst9.x, ( 1.0 - nodeConst9.y ), ( nodeConst9.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst10.x >= 0.0 ) && ( nodeConst10.x <= 1.0 ) ) && ( nodeConst10.y >= 0.0 ) ) && ( nodeConst10.y <= 1.0 ) ) && ( nodeConst10.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst11 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst12 = ( nodeConst10.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst11 ) );\n\t\tlet nodeConst13 = ( nodeConst12 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst11 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst13, nodeConst10.z );\n\t\tlet nodeConst14 = ( nodeConst12 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst11 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst10.z );\n\t\tlet nodeConst15 = ( nodeConst12 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst11 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst15, nodeConst10.z );\n\t\tlet nodeConst16 = ( nodeConst12 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst11 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst16, nodeConst10.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst17 = max( dot( ( nodeConst4 / vec3<f32>( nodeConst5 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst18 = ( nodeConst4 / vec3<f32>( nodeConst5 ) );\n\tlet nodeConst19 = ( nodeConst18.xz / vec2<f32>( max( length( nodeConst18.xz ), 0.0001 ) ) );\n\tlet nodeConst20 = max( dot( nodeConst19, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst17, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst5 * -0.0042 ) ) ) * ( ( pow( nodeConst17, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst19, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst18.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst20, 4.0 ) * 0.14 ) + ( pow( nodeConst20, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst18.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 8.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 3.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( ( fract( ( sin( ( floor( ( nodeVarying6.x / 0.48 ) ) * 12.9898 ) ) * 43758.5453 ) ) * 0.34 ) + ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.2 ) ) + 0.16 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.62 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying6.x / 0.48 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( ( ( mix( mix( mix( vec3<f32>( 0.0069954101845983935, 0.006048833020386069, 0.008568125615105716 ), vec3<f32>( 0.02217388478862708, 0.018500220124016652, 0.024157632443547246 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.05612849004241121, 0.04666508633021928, 0.059511238155621766 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.10702310296918527, 0.09084171117479915, 0.11193242782769693 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.035 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.07, smoothstep( 0.15, 0.45, nodeConst3 ) ) * -0.45 ) + 1.0 ) ) ), 1.0 );\n\tlet nodeConst4 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst5 = length( nodeConst4 );\n\tlet nodeConst6 = smoothstep( 12.0, 26.0, nodeConst5 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst6 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst6 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst7 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst7.x, nodeConst7.y ), nodeConst7.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst8 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst9 = ( nodeConst8.xyz / vec3<f32>( nodeConst8.w ) );\n\tlet nodeConst10 = vec3<f32>( nodeConst9.x, ( 1.0 - nodeConst9.y ), ( nodeConst9.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst10.x >= 0.0 ) && ( nodeConst10.x <= 1.0 ) ) && ( nodeConst10.y >= 0.0 ) ) && ( nodeConst10.y <= 1.0 ) ) && ( nodeConst10.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst11 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst12 = ( nodeConst10.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst11 ) );\n\t\tlet nodeConst13 = ( nodeConst12 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst11 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst13, nodeConst10.z );\n\t\tlet nodeConst14 = ( nodeConst12 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst11 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst10.z );\n\t\tlet nodeConst15 = ( nodeConst12 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst11 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst15, nodeConst10.z );\n\t\tlet nodeConst16 = ( nodeConst12 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst11 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst16, nodeConst10.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst17 = max( dot( ( nodeConst4 / vec3<f32>( nodeConst5 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst18 = ( nodeConst4 / vec3<f32>( nodeConst5 ) );\n\tlet nodeConst19 = ( nodeConst18.xz / vec2<f32>( max( length( nodeConst18.xz ), 0.0001 ) ) );\n\tlet nodeConst20 = max( dot( nodeConst19, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst17, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst5 * -0.0042 ) ) ) * ( ( pow( nodeConst17, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst19, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst18.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst20, 4.0 ) * 0.14 ) + ( pow( nodeConst20, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst18.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 8.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 3.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( ( fract( ( sin( ( floor( ( nodeVarying6.x / 0.48 ) ) * 12.9898 ) ) * 43758.5453 ) ) * 0.34 ) + ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.2 ) ) + 0.16 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.62 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying6.x / 0.48 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tlet nodeConst4 = ( ( mix( mix( mix( vec3<f32>( 0.025186859622305935, 0.013702083043526807, 0.009134058699157796 ), vec3<f32>( 0.07618538147321911, 0.038204371589236, 0.018500220124016652 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.19461783043107173, 0.09758734713304495, 0.03954623527052923 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.3515325994898463, 0.20863687013464577, 0.08865558627723595 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.035 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.07, smoothstep( 0.15, 0.45, nodeConst3 ) ) * -0.45 ) + 1.0 ) ) );\n\tDiffuseColor = vec4<f32>( mix( nodeConst4, ( nodeConst4 * vec3<f32>( 0.56, 0.56, 0.76 ) ), ( smoothstep( 0.45, 1.0, nodeVarying6.y ) * 0.5 ) ), 1.0 );\n\tlet nodeConst5 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst6 = length( nodeConst5 );\n\tlet nodeConst7 = smoothstep( 12.0, 26.0, nodeConst6 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst7 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst7 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst8 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst8.x, nodeConst8.y ), nodeConst8.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst9 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst10 = ( nodeConst9.xyz / vec3<f32>( nodeConst9.w ) );\n\tlet nodeConst11 = vec3<f32>( nodeConst10.x, ( 1.0 - nodeConst10.y ), ( nodeConst10.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst11.x >= 0.0 ) && ( nodeConst11.x <= 1.0 ) ) && ( nodeConst11.y >= 0.0 ) ) && ( nodeConst11.y <= 1.0 ) ) && ( nodeConst11.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst12 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst13 = ( nodeConst11.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst12 ) );\n\t\tlet nodeConst14 = ( nodeConst13 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst12 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst11.z );\n\t\tlet nodeConst15 = ( nodeConst13 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst12 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst15, nodeConst11.z );\n\t\tlet nodeConst16 = ( nodeConst13 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst12 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst16, nodeConst11.z );\n\t\tlet nodeConst17 = ( nodeConst13 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst12 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst17, nodeConst11.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst18 = max( dot( ( nodeConst5 / vec3<f32>( nodeConst6 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst19 = ( nodeConst5 / vec3<f32>( nodeConst6 ) );\n\tlet nodeConst20 = ( nodeConst19.xz / vec2<f32>( max( length( nodeConst19.xz ), 0.0001 ) ) );\n\tlet nodeConst21 = max( dot( nodeConst20, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst18, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst6 * -0.0042 ) ) ) * ( ( pow( nodeConst18, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst20, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst19.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst21, 4.0 ) * 0.14 ) + ( pow( nodeConst21, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst19.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.4 ) + 0.3 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.7 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = mix( mix( mix( mix( vec3<f32>( 0.26225065751888765, 0.171441100722554, 0.08021982030622662 ), vec3<f32>( 0.45641102317066595, 0.3049873140591091, 0.14412847084818123 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.6724431569510133, 0.4910208498384856, 0.2541520943200296 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.85499260812105, 0.7011018919268015, 0.4232676699760063 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.23839757380151394, 0.2788942634659966, 0.07818742179702069 ), ( smoothstep( 1.5, 0.45, v_positionWorld.y ) * 0.45 ) );\n\tDiffuseColor = vec4<f32>( mix( nodeConst2, ( nodeConst2 * vec3<f32>( 0.56, 0.56, 0.76 ) ), ( smoothstep( 0.45, 1.0, nodeVarying6.y ) * 0.5 ) ), 1.0 );\n\tlet nodeConst3 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst4 = length( nodeConst3 );\n\tlet nodeConst5 = smoothstep( 12.0, 26.0, nodeConst4 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst5 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst5 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst6 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst6.x, nodeConst6.y ), nodeConst6.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst7 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst8 = ( nodeConst7.xyz / vec3<f32>( nodeConst7.w ) );\n\tlet nodeConst9 = vec3<f32>( nodeConst8.x, ( 1.0 - nodeConst8.y ), ( nodeConst8.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst9.x >= 0.0 ) && ( nodeConst9.x <= 1.0 ) ) && ( nodeConst9.y >= 0.0 ) ) && ( nodeConst9.y <= 1.0 ) ) && ( nodeConst9.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst10 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst11 = ( nodeConst9.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst10 ) );\n\t\tlet nodeConst12 = ( nodeConst11 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst10 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst12, nodeConst9.z );\n\t\tlet nodeConst13 = ( nodeConst11 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst10 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst13, nodeConst9.z );\n\t\tlet nodeConst14 = ( nodeConst11 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst10 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst9.z );\n\t\tlet nodeConst15 = ( nodeConst11 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst10 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst15, nodeConst9.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst16 = max( dot( ( nodeConst3 / vec3<f32>( nodeConst4 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst17 = ( nodeConst3 / vec3<f32>( nodeConst4 ) );\n\tlet nodeConst18 = ( nodeConst17.xz / vec2<f32>( max( length( nodeConst17.xz ), 0.0001 ) ) );\n\tlet nodeConst19 = max( dot( nodeConst18, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst16, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst4 * -0.0042 ) ) ) * ( ( pow( nodeConst16, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst18, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst17.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst19, 4.0 ) * 0.14 ) + ( pow( nodeConst19, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst17.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 5 ) @group( 1 ) var nodeUniform2_sampler : sampler_comparison;\n@binding( 6 ) @group( 1 ) var nodeUniform2 : texture_depth_2d;\n\nstruct renderStruct {\n\tnodeUniform3 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : mat4x4<f32>,\n\tnodeUniform11 : f32,\n\tnodeUniform12 : f32,\n\tnodeUniform13 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform14 : mat4x4<f32>,\n\tnodeUniform15 : f32,\n\tnodeUniform16 : f32,\n\tnodeUniform17 : mat3x3<f32>,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar3 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar nodeVar9 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying6.y * 0.3 ) + 0.35 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying6.x / 0.12 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tlet nodeConst4 = mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.3 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.6, smoothstep( 0.15, 0.45, nodeConst3 ) );\n\tDiffuseColor = vec4<f32>( mix( ( mix( mix( mix( vec3<f32>( 0.6307571363387763, 0.5394794890033748, 0.36130677977297226 ), vec3<f32>( 0.8069522576650873, 0.7156935005005721, 0.5271151256969157 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7156935005005721 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9473065367320066, 0.8227857543924378 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( 0.55 ) ), vec3<f32>( 0.033104766565152086, 0.01764195448412081, 0.010329823026364548 ), nodeConst4 ), 1.0 );\n\tlet nodeConst5 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst6 = length( nodeConst5 );\n\tlet nodeConst7 = smoothstep( 12.0, 26.0, nodeConst6 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst7 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst7 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform15;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst8 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform16, 0.045 ) + max( max( nodeConst8.x, nodeConst8.y ), nodeConst8.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform15 ) ) );\n\tnodeVar2 = textureSample( nodeUniform1, nodeUniform1_sampler, vec2<f32>( ( nodeVarying6.x * 0.11 ), 0.37 ) );\n\tEmissiveColor = ( ( ( ( ( ( vec3<f32>( 1.0, 0.36130677977297226, 0.06847816983662762 ) * vec3<f32>( ( ( ( sin( ( ( render.nodeUniform3 * 2.3 ) + ( v_positionWorld.x * 0.7 ) ) ) * 0.04 ) + ( sin( ( ( render.nodeUniform3 * 5.1 ) + v_positionWorld.z ) ) * 0.03 ) ) + 1.0 ) ) ) * vec3<f32>( ( ( nodeVar2.x * 0.9 ) + 0.55 ) ) ) * vec3<f32>( ( ( nodeVarying6.y * -0.45 ) + 1.15 ) ) ) * vec3<f32>( 1.5 ) ) * vec3<f32>( ( 1.0 - nodeConst4 ) ) ) * vec3<f32>( 0.55 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst9 = ( render.nodeUniform10 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform11 ) ) ), 1.0 ) );\n\tlet nodeConst10 = ( nodeConst9.xyz / vec3<f32>( nodeConst9.w ) );\n\tlet nodeConst11 = vec3<f32>( nodeConst10.x, ( 1.0 - nodeConst10.y ), ( nodeConst10.z + render.nodeUniform12 ) );\n\n\tif ( ( ( ( ( ( nodeConst11.x >= 0.0 ) && ( nodeConst11.x <= 1.0 ) ) && ( nodeConst11.y >= 0.0 ) ) && ( nodeConst11.y <= 1.0 ) ) && ( nodeConst11.z <= 1.0 ) ) ) {\n\n\t\tnodeVar4 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst12 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst13 = ( nodeConst11.xy + ( ( ( nodeVar4.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst12 ) );\n\t\tlet nodeConst14 = ( nodeConst13 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst12 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst14, nodeConst11.z );\n\t\tlet nodeConst15 = ( nodeConst13 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst12 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst15, nodeConst11.z );\n\t\tlet nodeConst16 = ( nodeConst13 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst12 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst16, nodeConst11.z );\n\t\tlet nodeConst17 = ( nodeConst13 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst12 ) );\n\t\tnodeVar8 = textureSampleCompare( nodeUniform2, nodeUniform2_sampler, nodeConst17, nodeConst11.z );\n\t\tnodeVar3 = ( ( ( ( ( 0.0 + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) + nodeVar8 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar3 = 1.0;\n\n\t}\n\n\tnodeVar9 = mix( 1.0, nodeVar3, render.nodeUniform13 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform4 * vec3<f32>( nodeVar9 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform8 - render.nodeUniform9 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform7, render.nodeUniform5, ( ( dot( normalWorld, normalize( render.nodeUniform6 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst18 = max( dot( ( nodeConst5 / vec3<f32>( nodeConst6 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst19 = ( nodeConst5 / vec3<f32>( nodeConst6 ) );\n\tlet nodeConst20 = ( nodeConst19.xz / vec2<f32>( max( length( nodeConst19.xz ), 0.0001 ) ) );\n\tlet nodeConst21 = max( dot( nodeConst20, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst18, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst6 * -0.0042 ) ) ) * ( ( pow( nodeConst18, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst20, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst19.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst21, 4.0 ) * 0.14 ) + ( pow( nodeConst21, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst19.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 4.4 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 1.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( ( 1.0 - nodeVarying6.y ) * 0.3 ) + 0.22 ) + ( ( ( ( ( nodeVar0.y * 0.5 ) + ( nodeVar1.y * 0.34 ) ) + ( nodeVar0.x * 0.16 ) ) - 0.5 ) * 0.85 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying6.y * 7.0 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( ( ( mix( mix( mix( vec3<f32>( 0.0722718506743852, 0.054480276435339814, 0.03954623527052923 ), vec3<f32>( 0.174647403645279, 0.13843161502267545, 0.10224173307914941 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.33245153633549385, 0.2704977910022518, 0.1878207722902346 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.5271151256969157, 0.4452011945063733, 0.3139887133649649 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ) * vec3<f32>( ( ( ( nodeVar1.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.07 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.14, smoothstep( 0.15, 0.45, nodeConst3 ) ) * -0.22 ) + 1.0 ) ) ), 1.0 );\n\tlet nodeConst4 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst5 = length( nodeConst4 );\n\tlet nodeConst6 = smoothstep( 12.0, 26.0, nodeConst5 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst6 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst6 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst7 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst7.x, nodeConst7.y ), nodeConst7.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst8 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst9 = ( nodeConst8.xyz / vec3<f32>( nodeConst8.w ) );\n\tlet nodeConst10 = vec3<f32>( nodeConst9.x, ( 1.0 - nodeConst9.y ), ( nodeConst9.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst10.x >= 0.0 ) && ( nodeConst10.x <= 1.0 ) ) && ( nodeConst10.y >= 0.0 ) ) && ( nodeConst10.y <= 1.0 ) ) && ( nodeConst10.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst11 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst12 = ( nodeConst10.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst11 ) );\n\t\tlet nodeConst13 = ( nodeConst12 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst11 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst13, nodeConst10.z );\n\t\tlet nodeConst14 = ( nodeConst12 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst11 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst10.z );\n\t\tlet nodeConst15 = ( nodeConst12 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst11 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst15, nodeConst10.z );\n\t\tlet nodeConst16 = ( nodeConst12 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst11 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst16, nodeConst10.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst17 = max( dot( ( nodeConst4 / vec3<f32>( nodeConst5 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst18 = ( nodeConst4 / vec3<f32>( nodeConst5 ) );\n\tlet nodeConst19 = ( nodeConst18.xz / vec2<f32>( max( length( nodeConst18.xz ), 0.0001 ) ) );\n\tlet nodeConst20 = max( dot( nodeConst19, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst17, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst5 * -0.0042 ) ) ) * ( ( pow( nodeConst17, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst19, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst18.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst20, 4.0 ) * 0.14 ) + ( pow( nodeConst20, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst18.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, ( v_positionWorld.y + ( nodeVarying6.y * 1.3 ) ) );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 2.4 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 0.9 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( nodeVar0.x * 0.85 ) + ( ( nodeVar1.x - 0.5 ) * 0.3 ) ), 0.0, 1.0 );\n\tDiffuseColor = vec4<f32>( mix( mix( mix( mix( vec3<f32>( 0.0722718506743852, 0.06480326668529614, 0.08437621153575764 ), vec3<f32>( 0.181164244239483, 0.16513219449147767, 0.19461783043107173 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.36130677977297226, 0.3277780980458375, 0.3139887133649649 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 0.5840784178830671, 0.5332764040016892, 0.46778379610254284 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.12213877222015301, 0.22696587349938613, 0.04817182422013895 ), ( ( smoothstep( 0.9, 0.3, v_positionWorld.y ) * nodeVar0.y ) * 0.85 ) ), 1.0 );\n\tlet nodeConst2 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst3 = length( nodeConst2 );\n\tlet nodeConst4 = smoothstep( 12.0, 26.0, nodeConst3 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst4 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst4 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst5 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst5.x, nodeConst5.y ), nodeConst5.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst6 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst7 = ( nodeConst6.xyz / vec3<f32>( nodeConst6.w ) );\n\tlet nodeConst8 = vec3<f32>( nodeConst7.x, ( 1.0 - nodeConst7.y ), ( nodeConst7.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst8.x >= 0.0 ) && ( nodeConst8.x <= 1.0 ) ) && ( nodeConst8.y >= 0.0 ) ) && ( nodeConst8.y <= 1.0 ) ) && ( nodeConst8.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst9 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst10 = ( nodeConst8.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst9 ) );\n\t\tlet nodeConst11 = ( nodeConst10 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst9 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst11, nodeConst8.z );\n\t\tlet nodeConst12 = ( nodeConst10 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst9 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst12, nodeConst8.z );\n\t\tlet nodeConst13 = ( nodeConst10 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst9 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst13, nodeConst8.z );\n\t\tlet nodeConst14 = ( nodeConst10 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst9 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst14, nodeConst8.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst15 = max( dot( ( nodeConst2 / vec3<f32>( nodeConst3 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst16 = ( nodeConst2 / vec3<f32>( nodeConst3 ) );\n\tlet nodeConst17 = ( nodeConst16.xz / vec2<f32>( max( length( nodeConst16.xz ), 0.0001 ) ) );\n\tlet nodeConst18 = max( dot( nodeConst17, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst15, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst3 * -0.0042 ) ) ) * ( ( pow( nodeConst15, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst17, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst16.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst18, 4.0 ) * 0.14 ) + ( pow( nodeConst18, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst16.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar2 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : f32;\n\tvar nodeVar5 : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying6.y * 0.3 ) + 0.35 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying6.x / 0.332 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tlet nodeConst4 = ( nodeVarying6.y * 4.0 );\n\tlet nodeConst5 = max( fwidth( nodeConst4 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( mix( mix( mix( mix( vec3<f32>( 0.6307571363387763, 0.5394794890033748, 0.36130677977297226 ), vec3<f32>( 0.8069522576650873, 0.7156935005005721, 0.5271151256969157 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7156935005005721 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9473065367320066, 0.8227857543924378 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.04231141061442144, 0.02121901037134225, 0.011612245176281512 ), max( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.07 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.14, smoothstep( 0.15, 0.45, nodeConst3 ) ), mix( smoothstep( ( - nodeConst5 ), nodeConst5, ( 0.06 - abs( ( fract( ( nodeConst4 + 0.5 ) ) - 0.5 ) ) ) ), 0.12, smoothstep( 0.15, 0.45, nodeConst5 ) ) ) ), 1.0 );\n\tlet nodeConst6 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst7 = length( nodeConst6 );\n\tlet nodeConst8 = smoothstep( 12.0, 26.0, nodeConst7 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst8 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst8 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst9 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst9.x, nodeConst9.y ), nodeConst9.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst10 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst11 = ( nodeConst10.xyz / vec3<f32>( nodeConst10.w ) );\n\tlet nodeConst12 = vec3<f32>( nodeConst11.x, ( 1.0 - nodeConst11.y ), ( nodeConst11.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst12.x >= 0.0 ) && ( nodeConst12.x <= 1.0 ) ) && ( nodeConst12.y >= 0.0 ) ) && ( nodeConst12.y <= 1.0 ) ) && ( nodeConst12.z <= 1.0 ) ) ) {\n\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst13 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst14 = ( nodeConst12.xy + ( ( ( nodeVar3.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst13 ) );\n\t\tlet nodeConst15 = ( nodeConst14 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst13 ) );\n\t\tnodeVar4 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst15, nodeConst12.z );\n\t\tlet nodeConst16 = ( nodeConst14 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst13 ) );\n\t\tnodeVar5 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst16, nodeConst12.z );\n\t\tlet nodeConst17 = ( nodeConst14 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst13 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst17, nodeConst12.z );\n\t\tlet nodeConst18 = ( nodeConst14 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst13 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst18, nodeConst12.z );\n\t\tnodeVar2 = ( ( ( ( ( 0.0 + nodeVar4 ) + nodeVar5 ) + nodeVar6 ) + nodeVar7 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar2 = 1.0;\n\n\t}\n\n\tnodeVar8 = mix( 1.0, nodeVar2, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar8 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst19 = max( dot( ( nodeConst6 / vec3<f32>( nodeConst7 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst20 = ( nodeConst6 / vec3<f32>( nodeConst7 ) );\n\tlet nodeConst21 = ( nodeConst20.xz / vec2<f32>( max( length( nodeConst20.xz ), 0.0001 ) ) );\n\tlet nodeConst22 = max( dot( nodeConst21, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst19, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst7 * -0.0042 ) ) ) * ( ( pow( nodeConst19, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst21, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst20.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst22, 4.0 ) * 0.14 ) + ( pow( nodeConst22, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst20.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 3 ) @group( 1 ) var nodeUniform1_sampler : sampler_comparison;\n@binding( 4 ) @group( 1 ) var nodeUniform1 : texture_depth_2d;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform12 : mat4x4<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : f32,\n\tnodeUniform15 : mat3x3<f32>,\n\tnodeUniform16 : vec3<f32>,\n\tnodeUniform17 : f32,\n\tnodeUniform18 : vec2<f32>\n};\n@binding( 2 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( position : vec2<f32> ) -> f32 {\n\n\t\n\n\n\treturn fract( ( 52.9829189 * fract( dot( position, vec2<f32>( 0.06711056, 0.00583715 ) ) ) ) );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 2 ) nodeVarying6 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32>,\n\t@builtin( front_facing ) isFront : bool ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar shadowPositionWorld : vec3<f32>;\n\tvar nodeVar4 : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar5 : vec4<f32>;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar irradiance : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec2<f32>( nodeVarying6.x, v_positionWorld.y );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 9.0, 7.0 ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 3.1, 2.6 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst1 = clamp( ( ( ( nodeVarying6.y * 0.3 ) + 0.35 ) + ( ( ( ( ( nodeVar0.x * 0.55 ) + ( nodeVar1.x * 0.3 ) ) + ( nodeVar1.y * 0.15 ) ) - 0.5 ) * 0.6 ) ), 0.0, 1.0 );\n\tlet nodeConst2 = ( nodeVarying6.x / 1.328 );\n\tlet nodeConst3 = max( fwidth( nodeConst2 ), 0.0001 );\n\tlet nodeConst4 = ( nodeVarying6.x / 0.332 );\n\tlet nodeConst5 = max( fwidth( nodeConst4 ), 0.0001 );\n\tlet nodeConst6 = ( ( nodeVarying6.y - 0.17 ) * 10.843373493975903 );\n\tlet nodeConst7 = max( fwidth( nodeConst6 ), 0.0001 );\n\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst0 / vec2<f32>( 3.4, 8.0 ) ) );\n\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst0 / vec2<f32>( 1.2, 3.2 ) ) + vec2<f32>( 0.37 ) ) );\n\tlet nodeConst8 = clamp( ( ( ( ( fract( ( sin( ( floor( ( nodeVarying6.x / 0.48 ) ) * 12.9898 ) ) * 43758.5453 ) ) * 0.34 ) + ( smoothstep( 0.5, 3.4, v_positionWorld.y ) * 0.2 ) ) + 0.16 ) + ( ( ( ( ( nodeVar2.y * 0.5 ) + ( nodeVar3.y * 0.34 ) ) + ( nodeVar2.x * 0.16 ) ) - 0.5 ) * 0.62 ) ), 0.0, 1.0 );\n\tlet nodeConst9 = ( nodeVarying6.x / 0.48 );\n\tlet nodeConst10 = max( fwidth( nodeConst9 ), 0.0001 );\n\tDiffuseColor = vec4<f32>( mix( mix( mix( mix( mix( vec3<f32>( 0.6307571363387763, 0.5394794890033748, 0.36130677977297226 ), vec3<f32>( 0.8069522576650873, 0.7156935005005721, 0.5271151256969157 ), smoothstep( 0.0, 0.3333333333333333, nodeConst1 ) ), vec3<f32>( 0.9386857284565036, 0.8713671191959567, 0.7156935005005721 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst1 ) ), vec3<f32>( 1.0, 0.9473065367320066, 0.8227857543924378 ), smoothstep( 0.6666666666666666, 1.0, nodeConst1 ) ), vec3<f32>( 0.04231141061442144, 0.02121901037134225, 0.011612245176281512 ), max( max( mix( smoothstep( ( - nodeConst3 ), nodeConst3, ( 0.04 - abs( ( fract( ( nodeConst2 + 0.5 ) ) - 0.5 ) ) ) ), 0.08, smoothstep( 0.15, 0.45, nodeConst3 ) ), mix( smoothstep( ( - nodeConst5 ), nodeConst5, ( 0.06 - abs( ( fract( ( nodeConst4 + 0.5 ) ) - 0.5 ) ) ) ), 0.12, smoothstep( 0.15, 0.45, nodeConst5 ) ) ), mix( smoothstep( ( - nodeConst7 ), nodeConst7, ( 0.07 - abs( ( fract( ( nodeConst6 + 0.5 ) ) - 0.5 ) ) ) ), 0.14, smoothstep( 0.15, 0.45, nodeConst7 ) ) ) ), ( ( mix( mix( mix( vec3<f32>( 0.025186859622305935, 0.013702083043526807, 0.009134058699157796 ), vec3<f32>( 0.07618538147321911, 0.038204371589236, 0.018500220124016652 ), smoothstep( 0.0, 0.3333333333333333, nodeConst8 ) ), vec3<f32>( 0.19461783043107173, 0.09758734713304495, 0.03954623527052923 ), smoothstep( 0.3333333333333333, 0.6666666666666666, nodeConst8 ) ), vec3<f32>( 0.3515325994898463, 0.20863687013464577, 0.08865558627723595 ), smoothstep( 0.6666666666666666, 1.0, nodeConst8 ) ) * vec3<f32>( ( ( ( nodeVar3.z - 0.75 ) * 0.3 ) + 1.0 ) ) ) * vec3<f32>( ( ( mix( smoothstep( ( - nodeConst10 ), nodeConst10, ( 0.035 - abs( ( fract( ( nodeConst9 + 0.5 ) ) - 0.5 ) ) ) ), 0.07, smoothstep( 0.15, 0.45, nodeConst10 ) ) * -0.45 ) + 1.0 ) ) ), step( nodeVarying6.y, 0.17 ) ), 1.0 );\n\tlet nodeConst11 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst12 = length( nodeConst11 );\n\tlet nodeConst13 = smoothstep( 12.0, 26.0, nodeConst12 );\n\tDiffuseColor.w = ( DiffuseColor.w * ( 1.0 - ( ( 1.0 - clamp( ( nodeConst13 + ( ( ( stable_fn0( fragCoord.xy ) - 0.5 ) * 0.25 ) * clamp( ( ( 1.0 - nodeConst13 ) * 8.0 ), 0.0, 1.0 ) ) ), 0.0, 1.0 ) ) * smoothstep( 4.4, 7.0, v_positionWorld.y ) ) ) );\n\tMetalness = object.nodeUniform13;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst14 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform14, 0.045 ) + max( max( nodeConst14.x, nodeConst14.y ), nodeConst14.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform13 ) ) );\n\tEmissiveColor = ( object.nodeUniform16 * vec3<f32>( object.nodeUniform17 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tshadowPositionWorld = v_positionWorld;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( ( ( f32( isFront ) * 2.0 ) - 1.0 ) ) );\n\tnormalView = NORMAL_normalView;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tlet nodeConst15 = ( render.nodeUniform8 * vec4<f32>( ( shadowPositionWorld + ( normalWorld * vec3<f32>( render.nodeUniform9 ) ) ), 1.0 ) );\n\tlet nodeConst16 = ( nodeConst15.xyz / vec3<f32>( nodeConst15.w ) );\n\tlet nodeConst17 = vec3<f32>( nodeConst16.x, ( 1.0 - nodeConst16.y ), ( nodeConst16.z + render.nodeUniform10 ) );\n\n\tif ( ( ( ( ( ( nodeConst17.x >= 0.0 ) && ( nodeConst17.x <= 1.0 ) ) && ( nodeConst17.y >= 0.0 ) ) && ( nodeConst17.y <= 1.0 ) ) && ( nodeConst17.z <= 1.0 ) ) ) {\n\n\t\tnodeVar5 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( v_positionWorld.xz + vec2<f32>( v_positionWorld.y ) ) / vec2<f32>( 6.0 ) ) );\n\t\tlet nodeConst18 = ( vec2<f32>( 1.0, 1.0 ) / object.nodeUniform18 );\n\t\tlet nodeConst19 = ( nodeConst17.xy + ( ( ( nodeVar5.xy - vec2<f32>( 0.5 ) ) * vec2<f32>( 2.6 ) ) * nodeConst18 ) );\n\t\tlet nodeConst20 = ( nodeConst19 + ( vec2<f32>( -1.0, -1.0 ) * nodeConst18 ) );\n\t\tnodeVar6 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst20, nodeConst17.z );\n\t\tlet nodeConst21 = ( nodeConst19 + ( vec2<f32>( -1.0, 1.0 ) * nodeConst18 ) );\n\t\tnodeVar7 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst21, nodeConst17.z );\n\t\tlet nodeConst22 = ( nodeConst19 + ( vec2<f32>( 1.0, -1.0 ) * nodeConst18 ) );\n\t\tnodeVar8 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst22, nodeConst17.z );\n\t\tlet nodeConst23 = ( nodeConst19 + ( vec2<f32>( 1.0, 1.0 ) * nodeConst18 ) );\n\t\tnodeVar9 = textureSampleCompare( nodeUniform1, nodeUniform1_sampler, nodeConst23, nodeConst17.z );\n\t\tnodeVar4 = ( ( ( ( ( 0.0 + nodeVar6 ) + nodeVar7 ) + nodeVar8 ) + nodeVar9 ) / 4.0 );\n\n\t} else {\n\n\t\tnodeVar4 = 1.0;\n\n\t}\n\n\tnodeVar10 = mix( 1.0, nodeVar4, render.nodeUniform11 );\n\tdirectDiffuse = ( directDiffuse + ( ( ( render.nodeUniform2 * vec3<f32>( nodeVar10 ) ) * vec3<f32>( smoothstep( 0.0, 0.22, dot( normalView, normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform6 - render.nodeUniform7 ), 0.0 ) ).xyz ) ) ) ) ) * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = ( irradiance + mix( render.nodeUniform5, render.nodeUniform3, ( ( dot( normalWorld, normalize( render.nodeUniform4 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = ( indirectDiffuse + ( irradiance * ( DiffuseColor.xyz * vec3<f32>( 0.3183098861837907 ) ) ) );\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tOutput = max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tlet nodeConst24 = max( dot( ( nodeConst11 / vec3<f32>( nodeConst12 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst25 = ( nodeConst11 / vec3<f32>( nodeConst12 ) );\n\tlet nodeConst26 = ( nodeConst25.xz / vec2<f32>( max( length( nodeConst25.xz ), 0.0001 ) ) );\n\tlet nodeConst27 = max( dot( nodeConst26, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\n\t// result\n\n\toutput.color = vec4<f32>( mix( mix( Output.xyz, mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst24, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst12 * -0.0042 ) ) ) * ( ( pow( nodeConst24, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst26, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst25.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst27, 4.0 ) * 0.14 ) + ( pow( nodeConst27, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst25.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), Output.w );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform0 : vec3<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) vColor : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar Output : vec4<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vColor;\n\tDiffuseColor.w = ( DiffuseColor.w * 1.0 );\n\tDiffuseColor.w = 1.0;\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tnormalView = vec3<f32>( 0.0, 0.0, 1.0 );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform2, render.nodeUniform0, ( ( dot( normalWorld, normalize( render.nodeUniform1 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec4<f32>( 0.0, 0.0, 0.0, 0.0 ).xyz;\n\tindirectDiffuse = ( vec4<f32>( indirectDiffuse, 1.0 ) + vec4<f32>( 1.0, 1.0, 1.0, 0.0 ) ).xyz;\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectDiffuse = ( indirectDiffuse * DiffuseColor.xyz );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst0 = max( vec4<f32>( outgoingLight, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst0;\n\n\t// result\n\n\toutput.color = nodeConst0;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct nodeUniform0Struct {\n\tvalue : array< vec4<f32> >\n};\n@binding( 1 ) @group( 1 )\nvar<storage, read> nodeUniform0 : nodeUniform0Struct;\n\nstruct nodeUniform1Struct {\n\tvalue : array< vec2<f32> >\n};\n@binding( 2 ) @group( 1 )\nvar<storage, read> nodeUniform1 : nodeUniform1Struct;\n\nstruct objectStruct {\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec2<f32>,\n\tnodeUniform4 : mat4x4<f32>,\n\tnodeUniform5 : f32,\n\tnodeUniform6 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) vColor : vec4<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\nvar<private> aspect : f32;\nvar<private> w : f32;\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( instance_index ) instanceIndex : u32,\n\t@builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) progress : f32,\n\t@location( 1 ) joinRole : f32,\n\t@location( 2 ) position : vec3<f32>,\n\t@location( 3 ) previous : vec3<f32>,\n\t@location( 4 ) next : vec3<f32>,\n\t@location( 5 ) endpoint : vec4<f32>,\n\t@location( 6 ) width : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar color : vec4<f32>;\n\tvar riceInstanceTransform : vec4<f32>;\n\tvar nodeVar0 : f32;\n\tvar varSide : f32;\n\tvar riceInstanceState : vec2<f32>;\n\tvar riceFinalScale : f32;\n\tvar riceFromMiddle : f32;\n\tvar riceMist : f32;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar linePosition : vec3<f32>;\n\tvar viewPosition : vec4<f32>;\n\tvar viewPrevious : vec4<f32>;\n\tvar viewNext : vec4<f32>;\n\tvar finalPosition : vec4<f32>;\n\tvar prevPos : vec4<f32>;\n\tvar nextPos : vec4<f32>;\n\tvar currentP : vec2<f32>;\n\tvar prevP : vec2<f32>;\n\tvar nextP : vec2<f32>;\n\tvar delta1Raw : vec2<f32>;\n\tvar delta2Raw : vec2<f32>;\n\tvar delta1RawLen : f32;\n\tvar delta2RawLen : f32;\n\tvar projectedDir1 : vec2<f32>;\n\tvar projectedDir2 : vec2<f32>;\n\tvar rawTurnDot : f32;\n\tvar varEndpoint : vec4<f32>;\n\tvar nodeVar1 : bool;\n\tvar atStart : bool;\n\tvar atEnd : bool;\n\tvar nodeVar2 : f32;\n\tvar delta1Len : f32;\n\tvar nodeVar3 : f32;\n\tvar delta2Len : f32;\n\tvar nodeVar4 : vec2<f32>;\n\tvar dir1Raw : vec2<f32>;\n\tvar nodeVar5 : vec2<f32>;\n\tvar dir2Raw : vec2<f32>;\n\tvar dir1 : vec2<f32>;\n\tvar dir2 : vec2<f32>;\n\tvar dirSum : vec2<f32>;\n\tvar dirSumLen : f32;\n\tvar nodeVar6 : vec2<f32>;\n\tvar bodyDirection : vec2<f32>;\n\tvar perpFallback : vec2<f32>;\n\tvar limitBlend : f32;\n\tvar foldWidth : f32;\n\tvar baseRadiusNdc : f32;\n\tvar foldJointRow : bool;\n\tvar sinHalfTurn : f32;\n\tvar nodeVar7 : f32;\n\tvar nodeVar8 : f32;\n\tvar miterBlend : f32;\n\tvar splitWeight : f32;\n\tvar blendedPerp : vec2<f32>;\n\tvar blendedPerpLength : f32;\n\tvar unitPerp : vec2<f32>;\n\tvar miterHalfWidth : f32;\n\tvar normal : vec2<f32>;\n\tvar nodeVar9 : f32;\n\tvar bodyLength : f32;\n\tvar nodeVar10 : vec2<f32>;\n\tvar nodeVar11 : vec2<f32>;\n\tvar nodeVar12 : vec2<f32>;\n\tvar nodeVar13 : vec2<f32>;\n\tvar nodeVar14 : vec2<f32>;\n\tvar nodeVar15 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tcolor = vec4<f32>( object.nodeUniform2, 1.0 );\n\triceInstanceTransform = nodeUniform0.value[ instanceIndex ];\n\tlet nodeConst0 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst0 ) {\n\n\t\tnodeVar0 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar0 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\tvarSide = nodeVar0;\n\triceInstanceState = nodeUniform1.value[ instanceIndex ];\n\triceFinalScale = ( riceInstanceTransform.w * riceInstanceState.x );\n\tlet nodeConst1 = normalize( ( vec3<f32>( riceInstanceTransform.x, ( ( progress * 3.0 ) * riceFinalScale ), riceInstanceTransform.z ) - render.cameraPosition ) );\n\tlet nodeConst2 = ( nodeConst1.xz / vec2<f32>( max( length( nodeConst1.xz ), 0.0001 ) ) );\n\tlet nodeConst3 = max( dot( nodeConst2, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\triceFromMiddle = length( riceInstanceTransform.xz );\n\triceMist = pow( smoothstep( 40.0, 200.0, riceFromMiddle ), 1.35 );\n\tcolor = vec4<f32>( mix( ( ( mix( mix( mix( vec3<f32>( 0.004024717016506897, 0.01764195448412081, 0.008023192982520563 ), vec3<f32>( 0.014443843592229466, 0.023153366173251363, 0.0033465357620980074 ), riceInstanceTransform.y ), mix( vec3<f32>( 0.01680737574872402, 0.11193242782769693, 0.033104766565152086 ), vec3<f32>( 0.10224173307914941, 0.1878207722902346, 0.012983032338510335 ), riceInstanceTransform.y ), smoothstep( 0.0, 0.55, progress ) ), mix( vec3<f32>( 0.12213877222015301, 0.3049873140591091, 0.057805430183792694 ), vec3<f32>( 0.46207699964472876, 0.3712376804636741, 0.03954623527052923 ), riceInstanceTransform.y ), smoothstep( 0.56, 1.0, progress ) ) * vec3<f32>( ( ( varSide * 0.075 ) + 0.925 ) ) ) * vec3<f32>( riceInstanceState.y ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst2, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst1.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst3, 4.0 ) * 0.14 ) + ( pow( nodeConst3, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst1.y ) * 0.45 ) + 0.55 ) ) ), riceMist ), color.w );\n\tvaryings.vColor = color;\n\taspect = ( object.nodeUniform3.x / object.nodeUniform3.y );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform4 );\n\tlinePosition = vec3<f32>( riceInstanceTransform.x, ( position.y * riceFinalScale ), riceInstanceTransform.z );\n\tviewPosition = ( modelViewMatrix * vec4<f32>( linePosition, 1.0 ) );\n\tviewPrevious = ( modelViewMatrix * vec4<f32>( vec3<f32>( riceInstanceTransform.x, ( previous.y * riceFinalScale ), riceInstanceTransform.z ), 1.0 ) );\n\tviewNext = ( modelViewMatrix * vec4<f32>( vec3<f32>( riceInstanceTransform.x, ( next.y * riceFinalScale ), riceInstanceTransform.z ), 1.0 ) );\n\tfinalPosition = ( render.cameraProjectionMatrix * viewPosition );\n\tprevPos = ( render.cameraProjectionMatrix * viewPrevious );\n\tnextPos = ( render.cameraProjectionMatrix * viewNext );\n\tcurrentP = fix( finalPosition, aspect );\n\tprevP = fix( prevPos, aspect );\n\tnextP = fix( nextPos, aspect );\n\tdelta1Raw = ( currentP - prevP );\n\tdelta2Raw = ( nextP - currentP );\n\tdelta1RawLen = length( delta1Raw );\n\tdelta2RawLen = length( delta2Raw );\n\tprojectedDir1 = ( delta1Raw / vec2<f32>( max( delta1RawLen, 1e-7 ) ) );\n\tprojectedDir2 = ( delta2Raw / vec2<f32>( max( delta2RawLen, 1e-7 ) ) );\n\trawTurnDot = dot( projectedDir1, projectedDir2 );\n\tvarEndpoint = endpoint;\n\n\tif ( nodeConst0 ) {\n\n\t\tnodeVar1 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar1 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst4 = ( ( delta1RawLen >= 1e-7 ) && ( delta2RawLen >= 1e-7 ) );\n\tlet nodeConst5 = ( nodeConst4 && ( rawTurnDot <= -0.9998477101325989 ) );\n\tatStart = ( ( varEndpoint.x < -0.5 ) || ( nodeVar1 && nodeConst5 ) );\n\tatEnd = ( ( varEndpoint.x > 0.5 ) || ( ( ! nodeVar1 ) && nodeConst5 ) );\n\tlet nodeConst6 = ( ( ( smoothstep( 0.1, 1.0, riceInstanceState.x ) * 0.7 ) + 0.3 ) * pow( min( ( pow( ( max( ( riceFromMiddle - 42.0 ), 0.0 ) / 40.0 ), 2.0 ) + 1.0 ), 9.0 ), 0.75 ) );\n\tw = ( ( ( object.nodeUniform5 * width ) * nodeConst6 ) * 2.8 );\n\n\tif ( atStart ) {\n\n\t\tnodeVar2 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar2 = delta1RawLen;\n\n\t}\n\n\tdelta1Len = nodeVar2;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar3 = delta1RawLen;\n\n\t} else {\n\n\t\tnodeVar3 = delta2RawLen;\n\n\t}\n\n\tdelta2Len = nodeVar3;\n\n\tif ( atStart ) {\n\n\t\tnodeVar4 = projectedDir2;\n\n\t} else {\n\n\t\tnodeVar4 = projectedDir1;\n\n\t}\n\n\tdir1Raw = nodeVar4;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar5 = projectedDir1;\n\n\t} else {\n\n\t\tnodeVar5 = projectedDir2;\n\n\t}\n\n\tdir2Raw = nodeVar5;\n\tdir1 = mix( mix( vec2<f32>( 1.0, 0.0 ), dir2Raw, step( 1e-7, delta2Len ) ), dir1Raw, step( 1e-7, delta1Len ) );\n\tdir2 = mix( dir1, dir2Raw, step( 1e-7, delta2Len ) );\n\tdirSum = ( dir1 + dir2 );\n\tdirSumLen = length( dirSum );\n\n\tif ( nodeVar1 ) {\n\n\t\tnodeVar6 = dir2;\n\n\t} else {\n\n\t\tnodeVar6 = dir1;\n\n\t}\n\n\tbodyDirection = nodeVar6;\n\tperpFallback = vec2<f32>( ( - bodyDirection.y ), bodyDirection.x );\n\tlimitBlend = smoothstep( ( object.nodeUniform6 * 0.75 ), object.nodeUniform6, dirSumLen );\n\tfoldWidth = max( ( ( ( object.nodeUniform5 * width ) * nodeConst6 ) * 2.8 ), ( ( ( object.nodeUniform5 * width ) * nodeConst6 ) * 2.8 ) );\n\tlet nodeConst7 = max( abs( finalPosition.w ), 0.000001 );\n\tbaseRadiusNdc = ( ( render.cameraProjectionMatrix[ 1u ].y * ( foldWidth * 0.5 ) ) / nodeConst7 );\n\tfoldJointRow = ( ( nodeConst4 && ( abs( varEndpoint.x ) <= 0.5 ) ) && ( ( render.cameraProjectionMatrix[ 3u ].w > 0.5 ) || ( min( finalPosition.w, min( prevPos.w, nextPos.w ) ) > ( render.cameraNear * 0.5 ) ) ) );\n\tsinHalfTurn = sqrt( max( ( ( 1.0 - rawTurnDot ) * 0.5 ), 0.0 ) );\n\n\tif ( foldJointRow ) {\n\n\t\tlet nodeConst8 = ( viewPosition.xyz - viewPrevious.xyz );\n\t\tlet nodeConst9 = dot( nodeConst8, nodeConst8 );\n\t\tlet nodeConst10 = ( viewNext.xyz - viewPosition.xyz );\n\t\tlet nodeConst11 = dot( nodeConst10, nodeConst10 );\n\n\t\tif ( ( ( nodeConst9 > 1e-30 ) && ( nodeConst11 > 1e-30 ) ) ) {\n\n\t\t\tnodeVar8 = clamp( ( ( dot( nodeConst8, nodeConst10 ) * inverseSqrt( nodeConst9 ) ) * inverseSqrt( nodeConst11 ) ), -1.0, 1.0 );\n\n\t\t} else {\n\n\t\t\tnodeVar8 = 1.0;\n\n\t\t}\n\n\t\tlet nodeConst12 = ( object.nodeUniform6 / mix( ( object.nodeUniform6 * 0.625 ), 1.0, ( 1.0 - smoothstep( 0.8660254037844387, 0.9659258262890683, nodeVar8 ) ) ) );\n\t\tnodeVar7 = ( smoothstep( ( nodeConst12 * 0.75 ), nodeConst12, dirSumLen ) * smoothstep( 0.75, 1.0, ( ( min( delta1Len, delta2Len ) * clamp( ( dirSumLen * 0.5 ), 0.0001, 1.0 ) ) / max( ( baseRadiusNdc * sinHalfTurn ), 1e-9 ) ) ) );\n\n\t} else {\n\n\t\tnodeVar7 = limitBlend;\n\n\t}\n\n\tmiterBlend = nodeVar7;\n\tsplitWeight = max( ( 1.0 - miterBlend ), f32( nodeConst5 ) );\n\tblendedPerp = ( ( perpFallback * vec2<f32>( ( 1.0 - miterBlend ) ) ) + ( vec2<f32>( ( - dirSum.y ), dirSum.x ) * vec2<f32>( ( miterBlend / max( dirSumLen, 0.0001 ) ) ) ) );\n\tblendedPerpLength = length( blendedPerp );\n\tunitPerp = mix( perpFallback, ( blendedPerp / vec2<f32>( max( blendedPerpLength, 0.0001 ) ) ), step( 0.0001, blendedPerpLength ) );\n\tmiterHalfWidth = mix( ( w * 0.5 ), ( w / max( dirSumLen, object.nodeUniform6 ) ), miterBlend );\n\tnormal = ( unitPerp * vec2<f32>( miterHalfWidth ) );\n\tnormal = ( ( render.cameraProjectionMatrix[ 0u ].xy * vec2<f32>( normal.x ) ) + ( render.cameraProjectionMatrix[ 1u ].xy * vec2<f32>( normal.y ) ) );\n\n\tif ( nodeVar1 ) {\n\n\t\tnodeVar9 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar9 = delta1RawLen;\n\n\t}\n\n\tbodyLength = nodeVar9;\n\n\tif ( ( bodyLength >= 1e-7 ) ) {\n\n\t\tnodeVar10 = normal;\n\n\t} else {\n\n\t\tnodeVar10 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar11 = ( finalPosition.xy + ( nodeVar10 * vec2<f32>( varSide ) ) );\n\tfinalPosition.x = nodeVar11[ 0 ];\n\tfinalPosition.y = nodeVar11[ 1 ];\n\n\tif ( foldJointRow ) {\n\n\n\t\tif ( nodeVar1 ) {\n\n\t\t\tnodeVar13 = ( - projectedDir2 );\n\n\t\t} else {\n\n\t\t\tnodeVar13 = projectedDir1;\n\n\t\t}\n\n\t\tlet nodeConst13 = ( nodeVar13 * vec2<f32>( ( ( sqrt( splitWeight ) * sinHalfTurn ) * ( ( render.cameraProjectionMatrix[ 1u ].y * ( w * 0.5 ) ) / nodeConst7 ) ) ) );\n\t\tnodeVar12 = ( vec2<f32>( ( nodeConst13.x / aspect ), nodeConst13.y ) * vec2<f32>( finalPosition.w ) );\n\n\t} else {\n\n\t\tnodeVar12 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar14 = ( finalPosition.xy + nodeVar12 );\n\tfinalPosition.x = nodeVar14[ 0 ];\n\tfinalPosition.y = nodeVar14[ 1 ];\n\n\tif ( ( ( ( ( finalPosition.x == finalPosition.x ) && ( finalPosition.y == finalPosition.y ) ) && ( finalPosition.z == finalPosition.z ) ) && ( finalPosition.w == finalPosition.w ) ) ) {\n\n\t\tnodeVar15 = finalPosition;\n\n\t} else {\n\n\t\tnodeVar15 = vec4<f32>( 2.0, 2.0, 2.0, 1.0 );\n\n\t}\n\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeVar15;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 2 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n\nstruct renderStruct {\n\tnodeUniform2 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform3 : mat4x4<f32>,\n\tnodeUniform4 : f32\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorldDirection : vec3<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar positionWorldDirection : vec3<f32>;\n\tvar skyDirection : vec3<f32>;\n\tvar skyPainted : vec3<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\tvar nodeVar5 : vec4<f32>;\n\tvar nodeVar6 : vec4<f32>;\n\tvar nodeVar7 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionWorldDirection = normalize( v_positionWorldDirection );\n\tskyDirection = normalize( positionWorldDirection );\n\tskyPainted = vec3<f32>( 0.0, 0.0, 0.0 );\n\n\tif ( ( skyDirection.y < 0.0 ) ) {\n\n\t\tlet nodeConst0 = ( skyDirection.xz / vec2<f32>( max( length( skyDirection.xz ), 0.0001 ) ) );\n\t\tlet nodeConst1 = max( dot( nodeConst0, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\t\tskyPainted = mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst0, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst1, 4.0 ) * 0.14 ) + ( pow( nodeConst1, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, skyDirection.y ) * 0.45 ) + 0.55 ) ) );\n\t\t\n\n\t} else {\n\n\t\tlet nodeConst2 = ( skyDirection.xz / vec2<f32>( max( length( skyDirection.xz ), 0.0001 ) ) );\n\t\tlet nodeConst3 = mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst2, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) );\n\t\tlet nodeConst4 = max( skyDirection.y, 0.0 );\n\t\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( ( skyDirection.xz / vec2<f32>( ( nodeConst4 + 0.12 ) ) ) * vec2<f32>( 0.05, 0.16 ) ) + vec2<f32>( 0.31 ) ) );\n\t\tlet nodeConst5 = ( render.nodeUniform2 * 0.0035 );\n\t\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( vec2<f32>( ( ( nodeConst2.x * cos( nodeConst5 ) ) - ( nodeConst2.y * sin( nodeConst5 ) ) ), ( ( nodeConst2.x * sin( nodeConst5 ) ) + ( nodeConst2.y * cos( nodeConst5 ) ) ) ) * vec2<f32>( 0.31 ) ) + vec2<f32>( 0.21, 0.63 ) ) );\n\t\tlet nodeConst6 = dot( nodeConst2, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) );\n\t\tlet nodeConst7 = ( ( ( ( nodeVar1.x * 0.36 ) + ( nodeVar1.y * 0.12 ) ) - 0.17 ) * ( ( pow( max( nodeConst6, 0.0 ), 6.0 ) * -0.85 ) + 1.0 ) );\n\t\tlet nodeConst8 = vec2<f32>( ( ( nodeConst2.x * cos( nodeConst5 ) ) - ( nodeConst2.y * sin( nodeConst5 ) ) ), ( ( nodeConst2.x * sin( nodeConst5 ) ) + ( nodeConst2.y * cos( nodeConst5 ) ) ) );\n\t\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst8 * vec2<f32>( ( ( skyDirection.y * 1.5 ) + 1.2 ) ) ) );\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst8 * vec2<f32>( ( ( skyDirection.y * 3.6 ) + 2.9 ) ) ) + vec2<f32>( 0.37 ) ) );\n\t\tlet nodeConst9 = ( ( nodeConst7 + ( ( abs( ( ( nodeVar2.z * 2.0 ) - 1.0 ) ) * 0.21 ) + ( abs( ( ( nodeVar3.x * 2.0 ) - 1.0 ) ) * 0.09 ) ) ) - skyDirection.y );\n\t\tlet nodeConst10 = normalize( ( nodeConst2 + ( vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) * vec2<f32>( 0.06 ) ) ) );\n\t\tlet nodeConst11 = vec2<f32>( ( ( nodeConst10.x * cos( nodeConst5 ) ) - ( nodeConst10.y * sin( nodeConst5 ) ) ), ( ( nodeConst10.x * sin( nodeConst5 ) ) + ( nodeConst10.y * cos( nodeConst5 ) ) ) );\n\t\tlet nodeConst12 = ( skyDirection.y + 0.016 );\n\t\tnodeVar4 = textureSample( nodeUniform0, nodeUniform0_sampler, ( nodeConst11 * vec2<f32>( ( ( nodeConst12 * 1.5 ) + 1.2 ) ) ) );\n\t\tnodeVar5 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst11 * vec2<f32>( ( ( nodeConst12 * 3.6 ) + 2.9 ) ) ) + vec2<f32>( 0.37 ) ) );\n\t\tlet nodeConst13 = vec2<f32>( ( ( nodeConst2.x * cos( nodeConst5 ) ) - ( nodeConst2.y * sin( nodeConst5 ) ) ), ( ( nodeConst2.x * sin( nodeConst5 ) ) + ( nodeConst2.y * cos( nodeConst5 ) ) ) );\n\t\tnodeVar6 = textureSample( nodeUniform1, nodeUniform1_sampler, ( nodeConst13 * vec2<f32>( ( ( skyDirection.y * 2.4 ) + 2.4 ) ) ) );\n\t\tnodeVar7 = textureSample( nodeUniform1, nodeUniform1_sampler, ( ( nodeConst13 * vec2<f32>( ( ( skyDirection.y * 5.7 ) + 5.7 ) ) ) + vec2<f32>( 0.37 ) ) );\n\t\tlet nodeConst14 = ( ( ( ( nodeVar6.x * 0.42 ) + ( nodeVar7.x * 0.38 ) ) + ( nodeVar7.y * 0.2 ) ) - 0.5 );\n\t\tlet nodeConst15 = ( ( ( ( ( ( nodeConst9 - ( ( nodeConst7 + ( ( abs( ( ( nodeVar4.z * 2.0 ) - 1.0 ) ) * 0.21 ) + ( abs( ( ( nodeVar5.x * 2.0 ) - 1.0 ) ) * 0.09 ) ) ) - ( skyDirection.y + 0.016 ) ) ) * 11.0 ) + ( ( ( ( - nodeConst6 ) * 0.5 ) + 0.5 ) * 0.36 ) ) + 0.32 ) - ( smoothstep( 0.01, 0.17, nodeConst9 ) * 0.4 ) ) + ( nodeConst14 * 0.32 ) );\n\t\tlet nodeConst16 = atan2( skyDirection.z, skyDirection.x );\n\t\tlet nodeConst17 = ( ( ( ( sin( ( ( nodeConst16 * 3.0 ) + 0.8 ) ) * 0.01088 ) + ( sin( ( ( nodeConst16 * 11.0 ) + 1.8399999999999999 ) ) * 0.0074800000000000005 ) ) + ( sin( ( ( nodeConst16 * 29.0 ) + 0.5599999999999999 ) ) * 0.0034000000000000002 ) ) + 0.034 );\n\t\tlet nodeConst18 = smoothstep( ( nodeConst17 + 0.0012 ), ( nodeConst17 - 0.0022 ), skyDirection.y );\n\t\tlet nodeConst19 = ( ( ( ( sin( ( ( nodeConst16 * 7.0 ) + 1.3 ) ) * 0.00544 ) + ( sin( ( ( nodeConst16 * 23.0 ) + 2.9899999999999998 ) ) * 0.0037400000000000003 ) ) + ( sin( ( ( nodeConst16 * 61.0 ) + 0.9099999999999999 ) ) * 0.0017000000000000001 ) ) + 0.017 );\n\t\tlet nodeConst20 = smoothstep( ( nodeConst19 + 0.0012 ), ( nodeConst19 - 0.0022 ), skyDirection.y );\n\t\tlet nodeConst21 = max( dot( nodeConst2, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\t\tlet nodeConst22 = max( dot( skyDirection, vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\t\tlet nodeConst23 = ( ( 1.0 - nodeConst18 ) * ( 1.0 - nodeConst20 ) );\n\t\tskyPainted = ( mix( mix( mix( mix( mix( nodeConst3, vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - skyDirection.y ) ) ), mix( mix( mix( mix( mix( mix( nodeConst3, vec3<f32>( 0.9046611743890203, 0.37626212298046485, 0.20155625378383743 ), smoothstep( 0.0, 0.17, nodeConst4 ) ), vec3<f32>( 0.6583748172725346, 0.2704977910022518, 0.33245153633549385 ), smoothstep( 0.1, 0.36, nodeConst4 ) ), vec3<f32>( 0.20155625378383743, 0.22322795730611386, 0.4910208498384856 ), smoothstep( 0.27, 0.62, nodeConst4 ) ), vec3<f32>( 0.028426039499072558, 0.04970656597728775, 0.20155625378383743 ), smoothstep( 0.55, 1.0, nodeConst4 ) ), vec3<f32>( 0.9386857284565036, 0.3915724777393922, 0.24620132669705552 ), ( ( ( smoothstep( 0.55, 0.78, nodeVar0.x ) * smoothstep( 0.1, 0.2, skyDirection.y ) ) * ( 1.0 - smoothstep( 0.4, 0.75, skyDirection.y ) ) ) * 0.5 ) ), mix( ( mix( mix( mix( vec3<f32>( 0.33245153633549385, 0.15592646369776456, 0.26225065751888765 ), vec3<f32>( 0.8713671191959567, 0.3231432091022285, 0.13843161502267545 ), smoothstep( 0.28, 0.36, nodeConst15 ) ), vec3<f32>( 1.0, 0.7912979403281551, 0.43415363616478553 ), smoothstep( 0.5599999999999999, 0.64, nodeConst15 ) ), mix( mix( vec3<f32>( 0.29613827078752575, 0.24620132669705552, 0.45641102317066595 ), vec3<f32>( 0.8307698767709715, 0.36625259558833256, 0.3515325994898463 ), smoothstep( 0.28, 0.36, nodeConst15 ) ), vec3<f32>( 1.0, 0.76052450467022, 0.6038273388475408 ), smoothstep( 0.5599999999999999, 0.64, nodeConst15 ) ), smoothstep( 0.6, -0.4, nodeConst6 ) ) * ( ( vec3<f32>( 0.3, 0.34, 0.42 ) * vec3<f32>( nodeConst14 ) ) + vec3<f32>( 1.0 ) ) ), nodeConst3, ( smoothstep( 0.11, 0.0, skyDirection.y ) * 0.75 ) ), ( smoothstep( 0.0, 0.012, ( nodeConst9 + ( nodeConst14 * 0.012 ) ) ) * smoothstep( 0.0, 0.03, skyDirection.y ) ) ), smoothstep( -0.01, 0.015, skyDirection.y ) ), mix( nodeConst3, mix( vec3<f32>( 0.3231432091022285, 0.20155625378383743, 0.3515325994898463 ), vec3<f32>( 0.5711248294565854, 0.26225065751888765, 0.23074004851362043 ), smoothstep( -0.4, 0.8, dot( nodeConst2, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) ), ( smoothstep( 0.0, nodeConst17, skyDirection.y ) * 0.62 ) ), nodeConst18 ), mix( nodeConst3, vec3<f32>( 0.2704977910022518, 0.11193242782769693, 0.08437621153575764 ), ( smoothstep( 0.0, nodeConst19, skyDirection.y ) * 0.58 ) ), nodeConst20 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst21, 4.0 ) * 0.14 ) + ( pow( nodeConst21, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, skyDirection.y ) * 0.45 ) + 0.55 ) ) ) + ( vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ) * vec3<f32>( ( ( ( ( pow( nodeConst22, 420.0 ) * 0.18 ) * nodeConst23 ) + ( ( smoothstep( 0.99987, 0.99996, nodeConst22 ) * 0.62 ) * nodeConst23 ) ) + ( ( ( ( smoothstep( ( nodeConst17 - 0.004 ), nodeConst17, skyDirection.y ) * nodeConst18 ) * ( 1.0 - nodeConst20 ) ) * pow( max( dot( normalize( vec3<f32>( skyDirection.x, nodeConst4, skyDirection.z ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 ), 12.0 ) ) * 0.2 ) ) ) ) );\n\t\t\n\n\t}\n\n\tDiffuseColor = vec4<f32>( skyPainted, 1.0 );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform4 );\n\tDiffuseColor.w = 1.0;\n\tlet nodeConst24 = max( vec4<f32>( DiffuseColor.xyz, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst24;\n\n\t// result\n\n\toutput.color = nodeConst24;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32\n};\n@binding( 4 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tnodeUniform2 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorldDirection : vec3<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorldDirection = normalize( ( object.nodeUniform0 * vec4<f32>( positionLocal, 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\tlet VERTEX_nodeConst1 = vec4<f32>( VERTEX_v_modelViewProjection.x, VERTEX_v_modelViewProjection.y, VERTEX_v_modelViewProjection.w, VERTEX_v_modelViewProjection.w );\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_nodeConst1;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 2 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 4 ) @group( 1 ) var nodeUniform2_sampler : sampler;\n@binding( 5 ) @group( 1 ) var nodeUniform2 : texture_2d<f32>;\n@binding( 6 ) @group( 1 ) var nodeUniform3_sampler : sampler;\n@binding( 7 ) @group( 1 ) var nodeUniform3 : texture_2d<f32>;\n\nstruct renderStruct {\n\tnodeUniform4 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec2<f32>,\n\tnodeUniform9 : vec4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform10 : mat4x4<f32>,\n\tnodeUniform11 : f32,\n\tnodeUniform12 : mat3x3<f32>\n};\n@binding( 8 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@builtin( position ) fragCoord : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar waterWave : vec2<f32>;\n\tvar nodeVar2 : vec2<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\tvar nodeVar5 : vec4<f32>;\n\tvar nodeVar6 : vec4<f32>;\n\tvar nodeVar7 : vec4<f32>;\n\tvar nodeVar8 : f32;\n\tvar nodeVar9 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = normalize( ( render.cameraPosition - v_positionWorld ) );\n\tlet nodeConst1 = ( v_positionWorld.xz / vec2<f32>( 72.0 ) );\n\tlet nodeConst2 = ( render.nodeUniform4 * 0.025 );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( nodeConst1 * vec2<f32>( 5.0, 7.0 ) ) + vec2<f32>( nodeConst2, ( nodeConst2 * 0.7 ) ) ) );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( vec2<f32>( nodeConst1.y, ( - nodeConst1.x ) ) * vec2<f32>( 8.0, 5.0 ) ) + vec2<f32>( ( nodeConst2 * -0.55 ), ( nodeConst2 * 0.9 ) ) ) );\n\twaterWave = ( ( ( ( nodeVar0.xy * vec2<f32>( 2.0 ) ) - vec2<f32>( 1.0 ) ) + ( ( ( nodeVar1.yz * vec2<f32>( 2.0 ) ) - vec2<f32>( 1.0 ) ) * vec2<f32>( 0.6 ) ) ) * vec2<f32>( 0.625 ) );\n\tlet nodeConst3 = length( v_positionWorld.xz );\n\tlet nodeConst4 = ( 1.0 - smoothstep( 42.0, 240.0, nodeConst3 ) );\n\tlet nodeConst5 = ( waterWave * vec2<f32>( nodeConst4 ) );\n\tlet nodeConst6 = normalize( vec3<f32>( ( nodeConst5.x * 0.14 ), 1.0, ( nodeConst5.y * 0.14 ) ) );\n\tlet nodeConst7 = max( dot( nodeConst0, nodeConst6 ), 0.0 );\n\tnodeVar2 = ( fragCoord.xy / render.nodeUniform8 );\n\tlet nodeConst8 = vec2<f32>( 1.0 - nodeVar2.x, nodeVar2.y );\n\tlet nodeConst9 = ( nodeConst8 + ( nodeConst5 * vec2<f32>( 0.002 ) ) );\n\tlet nodeConst10 = ( vec2<f32>( 1.0, 1.0 ) / ( render.nodeUniform9.zw * vec2<f32>( 1.0 ) ) );\n\tlet nodeConst11 = ( 0.75 + ( ( 1.0 - nodeConst7 ) * 0.75 ) );\n\tlet nodeConst12 = ( ( nodeConst10.x * 0.85 ) * nodeConst11 );\n\tlet nodeConst13 = ( ( nodeConst10.y * 0.55 ) * nodeConst11 );\n\tnodeVar3 = textureSample( nodeUniform1, nodeUniform1_sampler, ( nodeConst9 + vec2<f32>( nodeConst12, nodeConst13 ) ) );\n\tnodeVar4 = textureSample( nodeUniform1, nodeUniform1_sampler, ( nodeConst9 + vec2<f32>( nodeConst12, ( - nodeConst13 ) ) ) );\n\tnodeVar5 = textureSample( nodeUniform1, nodeUniform1_sampler, ( nodeConst9 + vec2<f32>( ( - nodeConst12 ), nodeConst13 ) ) );\n\tnodeVar6 = textureSample( nodeUniform1, nodeUniform1_sampler, ( nodeConst9 - vec2<f32>( nodeConst12, nodeConst13 ) ) );\n\tlet nodeConst14 = ( - nodeConst0 );\n\tnodeVar7 = textureSample( nodeUniform2, nodeUniform2_sampler, ( ( v_positionWorld.xz / vec2<f32>( 400.0 ) ) + vec2<f32>( 0.5 ) ) );\n\tnodeVar8 = textureSample( nodeUniform3, nodeUniform3_sampler, ( ( v_positionWorld.xz / vec2<f32>( 400.0 ) ) + vec2<f32>( 0.5 ) ) ).x;\n\tlet nodeConst15 = ( nodeVar7.x * ( 1.0 - smoothstep( 0.35, 0.65, nodeVar8 ) ) );\n\tlet nodeConst16 = ( nodeConst14.xz / vec2<f32>( max( length( nodeConst14.xz ), 0.0001 ) ) );\n\tlet nodeConst17 = max( dot( nodeConst16, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\tnodeVar9 = textureSample( nodeUniform0, nodeUniform0_sampler, ( vec2<f32>( ( dot( nodeConst1, vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) ) * 18.0 ), ( dot( nodeConst1, vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) ) * 10.0 ) ) - vec2<f32>( ( render.nodeUniform4 * 0.085 ), ( render.nodeUniform4 * 0.025 ) ) ) );\n\tlet nodeConst18 = ( waterWave + ( ( ( nodeVar9.xy * vec2<f32>( 2.0 ) ) - vec2<f32>( 1.0 ) ) * vec2<f32>( 0.35 ) ) );\n\tlet nodeConst19 = max( dot( reflect( nodeConst14, normalize( vec3<f32>( ( nodeConst18.x * 0.18 ), 1.0, ( nodeConst18.y * 0.28 ) ) ) ), normalize( vec3<f32>( vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ).x, ( vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ).y - ( nodeConst14.y * 0.55 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ).z ) ) ), 0.0 );\n\tlet nodeConst20 = ( pow( nodeConst19, 520.0 ) * 1.1 );\n\tDiffuseColor = vec4<f32>( ( mix( mix( ( mix( mix( vec3<f32>( 0.055, 0.04, 0.03 ), vec3<f32>( 0.12, 0.088, 0.06 ), clamp( ( nodeConst7 * 0.8 ), 0.0, 1.0 ) ), ( ( ( ( ( nodeVar3.xyz + nodeVar4.xyz ) + nodeVar5.xyz ) + nodeVar6.xyz ) * vec3<f32>( 0.25 ) ) * vec3<f32>( 1.0, 0.94, 0.86 ) ), ( ( ( ( pow( ( 1.0 - nodeConst7 ), 5.0 ) * 0.92 ) + 0.08 ) * 0.62 ) + 0.36 ) ) + ( vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ) * vec3<f32>( ( ( pow( max( dot( reflect( nodeConst14, nodeConst6 ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 ), 700.0 ) * 1.8 ) * nodeConst4 ) ) ) ), ( mix( vec3<f32>( 0.015208514418949472, 0.08021982030622662, 0.024157632443547246 ), vec3<f32>( 0.11443537381770343, 0.174647403645279, 0.014443843592229466 ), nodeVar7.y ) * vec3<f32>( ( ( nodeVar7.z * 0.4 ) + 0.7 ) ) ), nodeConst15 ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst16, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst14.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst17, 4.0 ) * 0.14 ) + ( pow( nodeConst17, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst14.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, nodeConst3 ), 1.35 ) ) + ( mix( vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), vec3<f32>( 1.0, 0.913098651791473, 0.7304607400847158 ), clamp( nodeConst20, 0.0, 1.0 ) ) * vec3<f32>( ( ( ( ( ( pow( nodeConst19, 90.0 ) * smoothstep( -0.1, 0.55, ( ( nodeConst18.x * 0.6 ) + ( nodeConst18.y * 0.6 ) ) ) ) * 0.24 ) + nodeConst20 ) * ( 1.0 - smoothstep( 65.0, 340.0, nodeConst3 ) ) ) * ( 1.0 - nodeConst15 ) ) ) ) ), 1.0 );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform11 );\n\tDiffuseColor.w = 1.0;\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tnormalView = normalViewGeometry;\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform7, render.nodeUniform5, ( ( dot( normalWorld, normalize( render.nodeUniform6 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec4<f32>( 0.0, 0.0, 0.0, 0.0 ).xyz;\n\tindirectDiffuse = ( vec4<f32>( indirectDiffuse, 1.0 ) + vec4<f32>( 1.0, 1.0, 1.0, 0.0 ) ).xyz;\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectDiffuse = ( indirectDiffuse * DiffuseColor.xyz );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst21 = max( vec4<f32>( outgoingLight, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst21;\n\n\t// result\n\n\toutput.color = nodeConst21;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : mat4x4<f32>,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : mat3x3<f32>\n};\n@binding( 8 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tnodeUniform3 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : vec2<f32>,\n\tnodeUniform8 : vec4<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_positionWorld : vec3<f32>,\n\t@location( 1 ) v_normalViewGeometry : vec3<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) position : vec3<f32>,\n\t@location( 1 ) normal : vec3<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tvaryings.v_positionWorld = ( object.nodeUniform0 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform2 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform0 );\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 1 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 2 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : f32,\n\tnodeUniform4 : f32,\n\tnodeUniform5 : mat3x3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : f32,\n\tnodeUniform8 : mat4x4<f32>\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tnodeUniform9 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : vec3<f32>,\n\tnodeUniform13 : vec3<f32>,\n\tnodeUniform14 : vec3<f32>,\n\tnodeUniform15 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( alpha : f32, dotNL : f32, dotNV : f32 ) -> f32 {\n\n\t\n\n\tlet nodeConst0 = ( alpha * alpha );\n\n\treturn ( 0.5 / max( ( ( dotNL * sqrt( ( nodeConst0 + ( ( 1.0 - nodeConst0 ) * ( dotNV * dotNV ) ) ) ) ) + ( dotNV * sqrt( ( nodeConst0 + ( ( 1.0 - nodeConst0 ) * ( dotNL * dotNL ) ) ) ) ) ), 0.000001 ) );\n\n}\n\n\nfn stable_fn1 ( alpha : f32, dotNH : f32 ) -> f32 {\n\n\t\n\n\tlet nodeConst0 = ( alpha * alpha );\n\tlet nodeConst1 = ( 1.0 - ( ( dotNH * dotNH ) * ( 1.0 - nodeConst0 ) ) );\n\n\treturn ( ( nodeConst0 / ( nodeConst1 * nodeConst1 ) ) * 0.3183098861837907 );\n\n}\n\n\nfn stable_fn2 ( color : vec4<f32> ) -> vec4<f32> {\n\n\t\n\n\n\treturn vec4<f32>( ( color.xyz * vec3<f32>( color.w ) ), color.w );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 1 ) v_positionViewDirection : vec3<f32>,\n\t@location( 2 ) v_positionWorld : vec3<f32>,\n\t@location( 3 ) nodeVarying7 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar radiance : vec3<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar iblIrradiance : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar positionViewDirection : vec3<f32>;\n\tvar nodeVar0 : vec2<f32>;\n\tvar singleScatteringDielectric : vec3<f32>;\n\tvar multiScatteringDielectric : vec3<f32>;\n\tvar nodeVar1 : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar2 : vec3<f32>;\n\tvar singleScatteringMetallic : vec3<f32>;\n\tvar multiScatteringMetallic : vec3<f32>;\n\tvar nodeVar3 : vec3<f32>;\n\tvar nodeVar4 : vec3<f32>;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vec4<f32>( object.nodeUniform1, 1.0 );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tMetalness = object.nodeUniform3;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst0 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform4, 0.045 ) + max( max( nodeConst0.x, nodeConst0.y ), nodeConst0.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform3 ) ) );\n\tEmissiveColor = ( object.nodeUniform6 * vec3<f32>( object.nodeUniform7 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tiblIrradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tambientOcclusion = 1.0;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( -1.0 ) );\n\tnormalView = NORMAL_normalView;\n\tpositionViewDirection = normalize( v_positionViewDirection );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, vec2<f32>( Roughness, clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) ) ).xy;\n\tlet dfg = nodeVar0;\n\tlet multiScatteringCompensation = ( ( SpecularColorBlended * vec3<f32>( ( ( 1.0 / ( dfg.x + dfg.y ) ) - 1.0 ) ) ) + vec3<f32>( 1.0 ) );\n\tsingleScatteringDielectric = vec3<f32>( 0.0, 0.0, 0.0 );\n\tmultiScatteringDielectric = vec3<f32>( 0.0, 0.0, 0.0 );\n\tlet nodeConst1 = ( ( SpecularColor * vec3<f32>( dfg.x ) ) + vec3<f32>( ( SpecularF90 * dfg.y ) ) );\n\tsingleScatteringDielectric = ( singleScatteringDielectric + nodeConst1 );\n\tlet nodeConst2 = ( SpecularColor + ( ( vec3<f32>( 1.0 ) - SpecularColor ) * vec3<f32>( 0.047619 ) ) );\n\tlet nodeConst3 = ( 1.0 - ( dfg.x + dfg.y ) );\n\tmultiScatteringDielectric = ( multiScatteringDielectric + ( ( ( nodeConst1 * nodeConst2 ) / ( vec3<f32>( 1.0 ) - ( vec3<f32>( nodeConst3 ) * nodeConst2 ) ) ) * vec3<f32>( nodeConst3 ) ) );\n\tlet nodeConst4 = normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform14 - render.nodeUniform15 ), 0.0 ) ).xyz );\n\tnodeVar1 = ( vec3<f32>( clamp( dot( normalView, nodeConst4 ), 0.0, 1.0 ) ) * render.nodeUniform10 );\n\tlet nodeConst5 = clamp( dot( positionViewDirection, normalize( ( nodeConst4 + positionViewDirection ) ) ), 0.0, 1.0 );\n\tlet nodeConst6 = exp2( ( ( ( nodeConst5 * -5.55473 ) - 6.98316 ) * nodeConst5 ) );\n\tdirectDiffuse = ( directDiffuse + ( ( nodeVar1 * ( DiffuseContribution * vec3<f32>( 0.3183098861837907 ) ) ) * ( vec3<f32>( 1.0 ) - ( ( SpecularColor * vec3<f32>( ( 1.0 - nodeConst6 ) ) ) + vec3<f32>( ( SpecularF90 * nodeConst6 ) ) ) ) ) );\n\tlet nodeConst7 = normalize( ( nodeConst4 + positionViewDirection ) );\n\tlet nodeConst8 = clamp( dot( positionViewDirection, nodeConst7 ), 0.0, 1.0 );\n\tlet nodeConst9 = exp2( ( ( ( nodeConst8 * -5.55473 ) - 6.98316 ) * nodeConst8 ) );\n\tlet nodeConst10 = max( Roughness, 0.045 );\n\tlet nodeConst11 = ( nodeConst10 * nodeConst10 );\n\tdirectSpecular = ( directSpecular + ( ( nodeVar1 * ( ( ( ( SpecularColorBlended * vec3<f32>( ( 1.0 - nodeConst9 ) ) ) + vec3<f32>( ( SpecularF90 * nodeConst9 ) ) ) * vec3<f32>( stable_fn0( nodeConst11, clamp( dot( normalView, nodeConst4 ), 0.0, 1.0 ), clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) ) ) ) * vec3<f32>( stable_fn1( nodeConst11, clamp( dot( normalView, nodeConst7 ), 0.0, 1.0 ) ) ) ) ) * multiScatteringCompensation ) );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform13, render.nodeUniform11, ( ( dot( normalWorld, normalize( render.nodeUniform12 ) ) * 0.5 ) + 0.5 ) ) );\n\tnodeVar2 = ( ( irradiance * ( DiffuseContribution * vec3<f32>( 0.3183098861837907 ) ) ) * ( vec3<f32>( 1.0 ) - ( singleScatteringDielectric + multiScatteringDielectric ) ) );\n\tindirectDiffuse = ( indirectDiffuse + nodeVar2 );\n\tsingleScatteringMetallic = vec3<f32>( 0.0, 0.0, 0.0 );\n\tmultiScatteringMetallic = vec3<f32>( 0.0, 0.0, 0.0 );\n\tlet nodeConst12 = ( ( DiffuseColor.xyz * vec3<f32>( dfg.x ) ) + vec3<f32>( ( SpecularF90 * dfg.y ) ) );\n\tsingleScatteringMetallic = ( singleScatteringMetallic + nodeConst12 );\n\tlet nodeConst13 = ( DiffuseColor.xyz + ( ( vec3<f32>( 1.0 ) - DiffuseColor.xyz ) * vec3<f32>( 0.047619 ) ) );\n\tlet nodeConst14 = ( 1.0 - ( dfg.x + dfg.y ) );\n\tmultiScatteringMetallic = ( multiScatteringMetallic + ( ( ( nodeConst12 * nodeConst13 ) / ( vec3<f32>( 1.0 ) - ( vec3<f32>( nodeConst14 ) * nodeConst13 ) ) ) * vec3<f32>( nodeConst14 ) ) );\n\tlet nodeConst15 = ( iblIrradiance * vec3<f32>( 0.3183098861837907 ) );\n\tnodeVar3 = ( ( radiance * mix( singleScatteringDielectric, singleScatteringMetallic, Metalness ) ) + ( mix( multiScatteringDielectric, multiScatteringMetallic, Metalness ) * nodeConst15 ) );\n\tnodeVar4 = ( ( DiffuseContribution * ( vec3<f32>( 1.0 ) - ( singleScatteringDielectric + multiScatteringDielectric ) ) ) * nodeConst15 );\n\tindirectSpecular = ( indirectSpecular + nodeVar3 );\n\tindirectDiffuse = ( indirectDiffuse + nodeVar4 );\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectSpecular = ( indirectSpecular * vec3<f32>( clamp( ( ambientOcclusion - ( 1.0 - pow( ( clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) + ambientOcclusion ), exp2( ( - ( 1.0 - ( Roughness * -16.0 ) ) ) ) ) ) ), 0.0, 1.0 ) ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst16 = stable_fn2( max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) ) );\n\tOutput = nodeConst16;\n\n\t// result\n\n\toutput.color = vec4<f32>( ( ( vec3<f32>( 1.0, 0.3231432091022285, 0.05126945836711539 ) * vec3<f32>( ( ( pow( clamp( ( 1.0 - ( abs( ( nodeVarying7.y - 0.5 ) ) * 2.0 ) ), 0.0, 1.0 ), 1.6 ) * ( ( ( sin( ( ( render.nodeUniform9 * 2.3 ) + ( v_positionWorld.x * 0.7 ) ) ) * 0.04 ) + ( sin( ( ( render.nodeUniform9 * 5.1 ) + v_positionWorld.z ) ) * 0.03 ) ) + 1.0 ) ) * smoothstep( 12.0, 26.0, length( ( v_positionWorld - render.cameraPosition ) ) ) ) ) ) * vec3<f32>( 0.34 ) ), 0.0 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct renderStruct {\n\tnodeUniform0 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>,\n\tnodeUniform6 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : f32,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : mat3x3<f32>,\n\tnodeUniform12 : vec3<f32>,\n\tnodeUniform13 : f32,\n\tnodeUniform14 : mat4x4<f32>\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 1 ) v_positionViewDirection : vec3<f32>,\n\t@location( 2 ) v_positionWorld : vec3<f32>,\n\t@location( 3 ) nodeVarying7 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) normal : vec3<f32>,\n\t@location( 1 ) position : vec3<f32>,\n\t@location( 2 ) uv : vec2<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform11 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform14 );\n\tpositionLocal = position;\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.v_positionViewDirection = ( - v_positionView );\n\tvaryings.nodeVarying7 = uv;\n\tvaryings.v_positionWorld = ( object.nodeUniform14 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 1 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 2 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : f32,\n\tnodeUniform4 : f32,\n\tnodeUniform5 : mat3x3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : f32,\n\tnodeUniform8 : mat4x4<f32>\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tnodeUniform9 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : vec3<f32>,\n\tnodeUniform13 : vec3<f32>,\n\tnodeUniform14 : vec3<f32>,\n\tnodeUniform15 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( alpha : f32, dotNL : f32, dotNV : f32 ) -> f32 {\n\n\t\n\n\tlet nodeConst0 = ( alpha * alpha );\n\n\treturn ( 0.5 / max( ( ( dotNL * sqrt( ( nodeConst0 + ( ( 1.0 - nodeConst0 ) * ( dotNV * dotNV ) ) ) ) ) + ( dotNV * sqrt( ( nodeConst0 + ( ( 1.0 - nodeConst0 ) * ( dotNL * dotNL ) ) ) ) ) ), 0.000001 ) );\n\n}\n\n\nfn stable_fn1 ( alpha : f32, dotNH : f32 ) -> f32 {\n\n\t\n\n\tlet nodeConst0 = ( alpha * alpha );\n\tlet nodeConst1 = ( 1.0 - ( ( dotNH * dotNH ) * ( 1.0 - nodeConst0 ) ) );\n\n\treturn ( ( nodeConst0 / ( nodeConst1 * nodeConst1 ) ) * 0.3183098861837907 );\n\n}\n\n\nfn stable_fn2 ( color : vec4<f32> ) -> vec4<f32> {\n\n\t\n\n\n\treturn vec4<f32>( ( color.xyz * vec3<f32>( color.w ) ), color.w );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 1 ) v_positionViewDirection : vec3<f32>,\n\t@location( 2 ) v_positionWorld : vec3<f32>,\n\t@location( 3 ) nodeVarying7 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar radiance : vec3<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar iblIrradiance : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar positionViewDirection : vec3<f32>;\n\tvar nodeVar0 : vec2<f32>;\n\tvar singleScatteringDielectric : vec3<f32>;\n\tvar multiScatteringDielectric : vec3<f32>;\n\tvar nodeVar1 : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar2 : vec3<f32>;\n\tvar singleScatteringMetallic : vec3<f32>;\n\tvar multiScatteringMetallic : vec3<f32>;\n\tvar nodeVar3 : vec3<f32>;\n\tvar nodeVar4 : vec3<f32>;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vec4<f32>( object.nodeUniform1, 1.0 );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tMetalness = object.nodeUniform3;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst0 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform4, 0.045 ) + max( max( nodeConst0.x, nodeConst0.y ), nodeConst0.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform3 ) ) );\n\tEmissiveColor = ( object.nodeUniform6 * vec3<f32>( object.nodeUniform7 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tiblIrradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tambientOcclusion = 1.0;\n\tNORMAL_normalView = normalViewGeometry;\n\tnormalView = NORMAL_normalView;\n\tpositionViewDirection = normalize( v_positionViewDirection );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, vec2<f32>( Roughness, clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) ) ).xy;\n\tlet dfg = nodeVar0;\n\tlet multiScatteringCompensation = ( ( SpecularColorBlended * vec3<f32>( ( ( 1.0 / ( dfg.x + dfg.y ) ) - 1.0 ) ) ) + vec3<f32>( 1.0 ) );\n\tsingleScatteringDielectric = vec3<f32>( 0.0, 0.0, 0.0 );\n\tmultiScatteringDielectric = vec3<f32>( 0.0, 0.0, 0.0 );\n\tlet nodeConst1 = ( ( SpecularColor * vec3<f32>( dfg.x ) ) + vec3<f32>( ( SpecularF90 * dfg.y ) ) );\n\tsingleScatteringDielectric = ( singleScatteringDielectric + nodeConst1 );\n\tlet nodeConst2 = ( SpecularColor + ( ( vec3<f32>( 1.0 ) - SpecularColor ) * vec3<f32>( 0.047619 ) ) );\n\tlet nodeConst3 = ( 1.0 - ( dfg.x + dfg.y ) );\n\tmultiScatteringDielectric = ( multiScatteringDielectric + ( ( ( nodeConst1 * nodeConst2 ) / ( vec3<f32>( 1.0 ) - ( vec3<f32>( nodeConst3 ) * nodeConst2 ) ) ) * vec3<f32>( nodeConst3 ) ) );\n\tlet nodeConst4 = normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform14 - render.nodeUniform15 ), 0.0 ) ).xyz );\n\tnodeVar1 = ( vec3<f32>( clamp( dot( normalView, nodeConst4 ), 0.0, 1.0 ) ) * render.nodeUniform10 );\n\tlet nodeConst5 = clamp( dot( positionViewDirection, normalize( ( nodeConst4 + positionViewDirection ) ) ), 0.0, 1.0 );\n\tlet nodeConst6 = exp2( ( ( ( nodeConst5 * -5.55473 ) - 6.98316 ) * nodeConst5 ) );\n\tdirectDiffuse = ( directDiffuse + ( ( nodeVar1 * ( DiffuseContribution * vec3<f32>( 0.3183098861837907 ) ) ) * ( vec3<f32>( 1.0 ) - ( ( SpecularColor * vec3<f32>( ( 1.0 - nodeConst6 ) ) ) + vec3<f32>( ( SpecularF90 * nodeConst6 ) ) ) ) ) );\n\tlet nodeConst7 = normalize( ( nodeConst4 + positionViewDirection ) );\n\tlet nodeConst8 = clamp( dot( positionViewDirection, nodeConst7 ), 0.0, 1.0 );\n\tlet nodeConst9 = exp2( ( ( ( nodeConst8 * -5.55473 ) - 6.98316 ) * nodeConst8 ) );\n\tlet nodeConst10 = max( Roughness, 0.045 );\n\tlet nodeConst11 = ( nodeConst10 * nodeConst10 );\n\tdirectSpecular = ( directSpecular + ( ( nodeVar1 * ( ( ( ( SpecularColorBlended * vec3<f32>( ( 1.0 - nodeConst9 ) ) ) + vec3<f32>( ( SpecularF90 * nodeConst9 ) ) ) * vec3<f32>( stable_fn0( nodeConst11, clamp( dot( normalView, nodeConst4 ), 0.0, 1.0 ), clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) ) ) ) * vec3<f32>( stable_fn1( nodeConst11, clamp( dot( normalView, nodeConst7 ), 0.0, 1.0 ) ) ) ) ) * multiScatteringCompensation ) );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform13, render.nodeUniform11, ( ( dot( normalWorld, normalize( render.nodeUniform12 ) ) * 0.5 ) + 0.5 ) ) );\n\tnodeVar2 = ( ( irradiance * ( DiffuseContribution * vec3<f32>( 0.3183098861837907 ) ) ) * ( vec3<f32>( 1.0 ) - ( singleScatteringDielectric + multiScatteringDielectric ) ) );\n\tindirectDiffuse = ( indirectDiffuse + nodeVar2 );\n\tsingleScatteringMetallic = vec3<f32>( 0.0, 0.0, 0.0 );\n\tmultiScatteringMetallic = vec3<f32>( 0.0, 0.0, 0.0 );\n\tlet nodeConst12 = ( ( DiffuseColor.xyz * vec3<f32>( dfg.x ) ) + vec3<f32>( ( SpecularF90 * dfg.y ) ) );\n\tsingleScatteringMetallic = ( singleScatteringMetallic + nodeConst12 );\n\tlet nodeConst13 = ( DiffuseColor.xyz + ( ( vec3<f32>( 1.0 ) - DiffuseColor.xyz ) * vec3<f32>( 0.047619 ) ) );\n\tlet nodeConst14 = ( 1.0 - ( dfg.x + dfg.y ) );\n\tmultiScatteringMetallic = ( multiScatteringMetallic + ( ( ( nodeConst12 * nodeConst13 ) / ( vec3<f32>( 1.0 ) - ( vec3<f32>( nodeConst14 ) * nodeConst13 ) ) ) * vec3<f32>( nodeConst14 ) ) );\n\tlet nodeConst15 = ( iblIrradiance * vec3<f32>( 0.3183098861837907 ) );\n\tnodeVar3 = ( ( radiance * mix( singleScatteringDielectric, singleScatteringMetallic, Metalness ) ) + ( mix( multiScatteringDielectric, multiScatteringMetallic, Metalness ) * nodeConst15 ) );\n\tnodeVar4 = ( ( DiffuseContribution * ( vec3<f32>( 1.0 ) - ( singleScatteringDielectric + multiScatteringDielectric ) ) ) * nodeConst15 );\n\tindirectSpecular = ( indirectSpecular + nodeVar3 );\n\tindirectDiffuse = ( indirectDiffuse + nodeVar4 );\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectSpecular = ( indirectSpecular * vec3<f32>( clamp( ( ambientOcclusion - ( 1.0 - pow( ( clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) + ambientOcclusion ), exp2( ( - ( 1.0 - ( Roughness * -16.0 ) ) ) ) ) ) ), 0.0, 1.0 ) ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst16 = stable_fn2( max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) ) );\n\tOutput = nodeConst16;\n\n\t// result\n\n\toutput.color = vec4<f32>( ( ( vec3<f32>( 1.0, 0.3231432091022285, 0.05126945836711539 ) * vec3<f32>( ( ( pow( clamp( ( 1.0 - ( abs( ( nodeVarying7.y - 0.5 ) ) * 2.0 ) ), 0.0, 1.0 ), 1.6 ) * ( ( ( sin( ( ( render.nodeUniform9 * 2.3 ) + ( v_positionWorld.x * 0.7 ) ) ) * 0.04 ) + ( sin( ( ( render.nodeUniform9 * 5.1 ) + v_positionWorld.z ) ) * 0.03 ) ) + 1.0 ) ) * smoothstep( 12.0, 26.0, length( ( v_positionWorld - render.cameraPosition ) ) ) ) ) ) * vec3<f32>( 0.34 ) ), 0.0 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 1 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 2 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : f32,\n\tnodeUniform4 : f32,\n\tnodeUniform5 : mat3x3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : f32,\n\tnodeUniform8 : mat4x4<f32>\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : vec3<f32>,\n\tnodeUniform13 : vec3<f32>,\n\tnodeUniform14 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( alpha : f32, dotNL : f32, dotNV : f32 ) -> f32 {\n\n\t\n\n\tlet nodeConst0 = ( alpha * alpha );\n\n\treturn ( 0.5 / max( ( ( dotNL * sqrt( ( nodeConst0 + ( ( 1.0 - nodeConst0 ) * ( dotNV * dotNV ) ) ) ) ) + ( dotNV * sqrt( ( nodeConst0 + ( ( 1.0 - nodeConst0 ) * ( dotNL * dotNL ) ) ) ) ) ), 0.000001 ) );\n\n}\n\n\nfn stable_fn1 ( alpha : f32, dotNH : f32 ) -> f32 {\n\n\t\n\n\tlet nodeConst0 = ( alpha * alpha );\n\tlet nodeConst1 = ( 1.0 - ( ( dotNH * dotNH ) * ( 1.0 - nodeConst0 ) ) );\n\n\treturn ( ( nodeConst0 / ( nodeConst1 * nodeConst1 ) ) * 0.3183098861837907 );\n\n}\n\n\nfn stable_fn2 ( color : vec4<f32> ) -> vec4<f32> {\n\n\t\n\n\n\treturn vec4<f32>( ( color.xyz * vec3<f32>( color.w ) ), color.w );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 1 ) v_positionViewDirection : vec3<f32>,\n\t@location( 2 ) v_positionWorld : vec3<f32>,\n\t@location( 3 ) nodeVarying7 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar radiance : vec3<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar iblIrradiance : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar positionViewDirection : vec3<f32>;\n\tvar nodeVar0 : vec2<f32>;\n\tvar singleScatteringDielectric : vec3<f32>;\n\tvar multiScatteringDielectric : vec3<f32>;\n\tvar nodeVar1 : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar2 : vec3<f32>;\n\tvar singleScatteringMetallic : vec3<f32>;\n\tvar multiScatteringMetallic : vec3<f32>;\n\tvar nodeVar3 : vec3<f32>;\n\tvar nodeVar4 : vec3<f32>;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vec4<f32>( object.nodeUniform1, 1.0 );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tMetalness = object.nodeUniform3;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst0 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform4, 0.045 ) + max( max( nodeConst0.x, nodeConst0.y ), nodeConst0.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform3 ) ) );\n\tEmissiveColor = ( object.nodeUniform6 * vec3<f32>( object.nodeUniform7 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tiblIrradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tambientOcclusion = 1.0;\n\tNORMAL_normalView = ( normalViewGeometry * vec3<f32>( -1.0 ) );\n\tnormalView = NORMAL_normalView;\n\tpositionViewDirection = normalize( v_positionViewDirection );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, vec2<f32>( Roughness, clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) ) ).xy;\n\tlet dfg = nodeVar0;\n\tlet multiScatteringCompensation = ( ( SpecularColorBlended * vec3<f32>( ( ( 1.0 / ( dfg.x + dfg.y ) ) - 1.0 ) ) ) + vec3<f32>( 1.0 ) );\n\tsingleScatteringDielectric = vec3<f32>( 0.0, 0.0, 0.0 );\n\tmultiScatteringDielectric = vec3<f32>( 0.0, 0.0, 0.0 );\n\tlet nodeConst1 = ( ( SpecularColor * vec3<f32>( dfg.x ) ) + vec3<f32>( ( SpecularF90 * dfg.y ) ) );\n\tsingleScatteringDielectric = ( singleScatteringDielectric + nodeConst1 );\n\tlet nodeConst2 = ( SpecularColor + ( ( vec3<f32>( 1.0 ) - SpecularColor ) * vec3<f32>( 0.047619 ) ) );\n\tlet nodeConst3 = ( 1.0 - ( dfg.x + dfg.y ) );\n\tmultiScatteringDielectric = ( multiScatteringDielectric + ( ( ( nodeConst1 * nodeConst2 ) / ( vec3<f32>( 1.0 ) - ( vec3<f32>( nodeConst3 ) * nodeConst2 ) ) ) * vec3<f32>( nodeConst3 ) ) );\n\tlet nodeConst4 = normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform13 - render.nodeUniform14 ), 0.0 ) ).xyz );\n\tnodeVar1 = ( vec3<f32>( clamp( dot( normalView, nodeConst4 ), 0.0, 1.0 ) ) * render.nodeUniform9 );\n\tlet nodeConst5 = clamp( dot( positionViewDirection, normalize( ( nodeConst4 + positionViewDirection ) ) ), 0.0, 1.0 );\n\tlet nodeConst6 = exp2( ( ( ( nodeConst5 * -5.55473 ) - 6.98316 ) * nodeConst5 ) );\n\tdirectDiffuse = ( directDiffuse + ( ( nodeVar1 * ( DiffuseContribution * vec3<f32>( 0.3183098861837907 ) ) ) * ( vec3<f32>( 1.0 ) - ( ( SpecularColor * vec3<f32>( ( 1.0 - nodeConst6 ) ) ) + vec3<f32>( ( SpecularF90 * nodeConst6 ) ) ) ) ) );\n\tlet nodeConst7 = normalize( ( nodeConst4 + positionViewDirection ) );\n\tlet nodeConst8 = clamp( dot( positionViewDirection, nodeConst7 ), 0.0, 1.0 );\n\tlet nodeConst9 = exp2( ( ( ( nodeConst8 * -5.55473 ) - 6.98316 ) * nodeConst8 ) );\n\tlet nodeConst10 = max( Roughness, 0.045 );\n\tlet nodeConst11 = ( nodeConst10 * nodeConst10 );\n\tdirectSpecular = ( directSpecular + ( ( nodeVar1 * ( ( ( ( SpecularColorBlended * vec3<f32>( ( 1.0 - nodeConst9 ) ) ) + vec3<f32>( ( SpecularF90 * nodeConst9 ) ) ) * vec3<f32>( stable_fn0( nodeConst11, clamp( dot( normalView, nodeConst4 ), 0.0, 1.0 ), clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) ) ) ) * vec3<f32>( stable_fn1( nodeConst11, clamp( dot( normalView, nodeConst7 ), 0.0, 1.0 ) ) ) ) ) * multiScatteringCompensation ) );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform12, render.nodeUniform10, ( ( dot( normalWorld, normalize( render.nodeUniform11 ) ) * 0.5 ) + 0.5 ) ) );\n\tnodeVar2 = ( ( irradiance * ( DiffuseContribution * vec3<f32>( 0.3183098861837907 ) ) ) * ( vec3<f32>( 1.0 ) - ( singleScatteringDielectric + multiScatteringDielectric ) ) );\n\tindirectDiffuse = ( indirectDiffuse + nodeVar2 );\n\tsingleScatteringMetallic = vec3<f32>( 0.0, 0.0, 0.0 );\n\tmultiScatteringMetallic = vec3<f32>( 0.0, 0.0, 0.0 );\n\tlet nodeConst12 = ( ( DiffuseColor.xyz * vec3<f32>( dfg.x ) ) + vec3<f32>( ( SpecularF90 * dfg.y ) ) );\n\tsingleScatteringMetallic = ( singleScatteringMetallic + nodeConst12 );\n\tlet nodeConst13 = ( DiffuseColor.xyz + ( ( vec3<f32>( 1.0 ) - DiffuseColor.xyz ) * vec3<f32>( 0.047619 ) ) );\n\tlet nodeConst14 = ( 1.0 - ( dfg.x + dfg.y ) );\n\tmultiScatteringMetallic = ( multiScatteringMetallic + ( ( ( nodeConst12 * nodeConst13 ) / ( vec3<f32>( 1.0 ) - ( vec3<f32>( nodeConst14 ) * nodeConst13 ) ) ) * vec3<f32>( nodeConst14 ) ) );\n\tlet nodeConst15 = ( iblIrradiance * vec3<f32>( 0.3183098861837907 ) );\n\tnodeVar3 = ( ( radiance * mix( singleScatteringDielectric, singleScatteringMetallic, Metalness ) ) + ( mix( multiScatteringDielectric, multiScatteringMetallic, Metalness ) * nodeConst15 ) );\n\tnodeVar4 = ( ( DiffuseContribution * ( vec3<f32>( 1.0 ) - ( singleScatteringDielectric + multiScatteringDielectric ) ) ) * nodeConst15 );\n\tindirectSpecular = ( indirectSpecular + nodeVar3 );\n\tindirectDiffuse = ( indirectDiffuse + nodeVar4 );\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectSpecular = ( indirectSpecular * vec3<f32>( clamp( ( ambientOcclusion - ( 1.0 - pow( ( clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) + ambientOcclusion ), exp2( ( - ( 1.0 - ( Roughness * -16.0 ) ) ) ) ) ) ), 0.0, 1.0 ) ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst16 = stable_fn2( max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) ) );\n\tOutput = nodeConst16;\n\tlet nodeConst17 = ( ( ( smoothstep( 1.0, 0.08, nodeVarying7.y ) * smoothstep( 1.0, 0.08, nodeVarying7.y ) ) * 0.62 ) * smoothstep( 12.0, 26.0, length( ( v_positionWorld - render.cameraPosition ) ) ) );\n\n\t// result\n\n\toutput.color = vec4<f32>( ( vec3<f32>( 0.5, 0.5, 0.72 ) * vec3<f32>( nodeConst17 ) ), nodeConst17 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform0 : vec3<f32>,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : f32,\n\tnodeUniform8 : f32,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : mat3x3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : f32,\n\tnodeUniform13 : mat4x4<f32>\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 1 ) v_positionViewDirection : vec3<f32>,\n\t@location( 2 ) v_positionWorld : vec3<f32>,\n\t@location( 3 ) nodeVarying7 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n// codes\n\n\n@vertex\nfn main( @location( 0 ) normal : vec3<f32>,\n\t@location( 1 ) position : vec3<f32>,\n\t@location( 2 ) uv : vec2<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar normalLocal : vec3<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar v_modelViewProjection : vec4<f32>;\n\tvar v_positionView : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\tvar VERTEX_v_modelViewProjection : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tnormalLocal = normal;\n\tvaryings.v_normalViewGeometry = normalize( ( render.cameraViewMatrix * vec4<f32>( ( object.nodeUniform10 * normalLocal ), 0.0 ) ).xyz );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform13 );\n\tpositionLocal = position;\n\tv_positionView = ( modelViewMatrix * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tvaryings.v_positionViewDirection = ( - v_positionView );\n\tvaryings.nodeVarying7 = uv;\n\tvaryings.v_positionWorld = ( object.nodeUniform13 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet VERTEX_nodeConst0 = ( render.cameraProjectionMatrix * vec4<f32>( v_positionView, 1.0 ) );\n\tVERTEX_v_modelViewProjection = VERTEX_nodeConst0;\n\n\t// result\n\n\tvaryings.builtinClipSpace = VERTEX_v_modelViewProjection;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 1 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 2 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : f32,\n\tnodeUniform3 : f32,\n\tnodeUniform4 : f32,\n\tnodeUniform5 : mat3x3<f32>,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : f32,\n\tnodeUniform8 : mat4x4<f32>\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : vec3<f32>,\n\tnodeUniform13 : vec3<f32>,\n\tnodeUniform14 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( alpha : f32, dotNL : f32, dotNV : f32 ) -> f32 {\n\n\t\n\n\tlet nodeConst0 = ( alpha * alpha );\n\n\treturn ( 0.5 / max( ( ( dotNL * sqrt( ( nodeConst0 + ( ( 1.0 - nodeConst0 ) * ( dotNV * dotNV ) ) ) ) ) + ( dotNV * sqrt( ( nodeConst0 + ( ( 1.0 - nodeConst0 ) * ( dotNL * dotNL ) ) ) ) ) ), 0.000001 ) );\n\n}\n\n\nfn stable_fn1 ( alpha : f32, dotNH : f32 ) -> f32 {\n\n\t\n\n\tlet nodeConst0 = ( alpha * alpha );\n\tlet nodeConst1 = ( 1.0 - ( ( dotNH * dotNH ) * ( 1.0 - nodeConst0 ) ) );\n\n\treturn ( ( nodeConst0 / ( nodeConst1 * nodeConst1 ) ) * 0.3183098861837907 );\n\n}\n\n\nfn stable_fn2 ( color : vec4<f32> ) -> vec4<f32> {\n\n\t\n\n\n\treturn vec4<f32>( ( color.xyz * vec3<f32>( color.w ) ), color.w );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) v_normalViewGeometry : vec3<f32>,\n\t@location( 1 ) v_positionViewDirection : vec3<f32>,\n\t@location( 2 ) v_positionWorld : vec3<f32>,\n\t@location( 3 ) nodeVarying7 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar Metalness : f32;\n\tvar Roughness : f32;\n\tvar normalViewGeometry : vec3<f32>;\n\tvar SpecularColor : vec3<f32>;\n\tvar SpecularColorBlended : vec3<f32>;\n\tvar SpecularF90 : f32;\n\tvar DiffuseContribution : vec3<f32>;\n\tvar EmissiveColor : vec3<f32>;\n\tvar Output : vec4<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar radiance : vec3<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar iblIrradiance : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar NORMAL_normalView : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar positionViewDirection : vec3<f32>;\n\tvar nodeVar0 : vec2<f32>;\n\tvar singleScatteringDielectric : vec3<f32>;\n\tvar multiScatteringDielectric : vec3<f32>;\n\tvar nodeVar1 : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar nodeVar2 : vec3<f32>;\n\tvar singleScatteringMetallic : vec3<f32>;\n\tvar multiScatteringMetallic : vec3<f32>;\n\tvar nodeVar3 : vec3<f32>;\n\tvar nodeVar4 : vec3<f32>;\n\tvar totalDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vec4<f32>( object.nodeUniform1, 1.0 );\n\tDiffuseColor.w = ( DiffuseColor.w * object.nodeUniform2 );\n\tMetalness = object.nodeUniform3;\n\tnormalViewGeometry = normalize( v_normalViewGeometry );\n\tlet nodeConst0 = max( abs( dpdx( normalViewGeometry ) ), abs( - dpdy( normalViewGeometry ) ) );\n\tRoughness = min( ( max( object.nodeUniform4, 0.045 ) + max( max( nodeConst0.x, nodeConst0.y ), nodeConst0.z ) ), 1.0 );\n\tSpecularColor = vec3<f32>( 0.04, 0.04, 0.04 );\n\tSpecularColorBlended = mix( vec3<f32>( 0.04, 0.04, 0.04 ), DiffuseColor.xyz, Metalness );\n\tSpecularF90 = 1.0;\n\tDiffuseContribution = ( DiffuseColor.xyz * vec3<f32>( ( 1.0 - object.nodeUniform3 ) ) );\n\tEmissiveColor = ( object.nodeUniform6 * vec3<f32>( object.nodeUniform7 ) );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tiblIrradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tambientOcclusion = 1.0;\n\tNORMAL_normalView = normalViewGeometry;\n\tnormalView = NORMAL_normalView;\n\tpositionViewDirection = normalize( v_positionViewDirection );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, vec2<f32>( Roughness, clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) ) ).xy;\n\tlet dfg = nodeVar0;\n\tlet multiScatteringCompensation = ( ( SpecularColorBlended * vec3<f32>( ( ( 1.0 / ( dfg.x + dfg.y ) ) - 1.0 ) ) ) + vec3<f32>( 1.0 ) );\n\tsingleScatteringDielectric = vec3<f32>( 0.0, 0.0, 0.0 );\n\tmultiScatteringDielectric = vec3<f32>( 0.0, 0.0, 0.0 );\n\tlet nodeConst1 = ( ( SpecularColor * vec3<f32>( dfg.x ) ) + vec3<f32>( ( SpecularF90 * dfg.y ) ) );\n\tsingleScatteringDielectric = ( singleScatteringDielectric + nodeConst1 );\n\tlet nodeConst2 = ( SpecularColor + ( ( vec3<f32>( 1.0 ) - SpecularColor ) * vec3<f32>( 0.047619 ) ) );\n\tlet nodeConst3 = ( 1.0 - ( dfg.x + dfg.y ) );\n\tmultiScatteringDielectric = ( multiScatteringDielectric + ( ( ( nodeConst1 * nodeConst2 ) / ( vec3<f32>( 1.0 ) - ( vec3<f32>( nodeConst3 ) * nodeConst2 ) ) ) * vec3<f32>( nodeConst3 ) ) );\n\tlet nodeConst4 = normalize( ( render.cameraViewMatrix * vec4<f32>( ( render.nodeUniform13 - render.nodeUniform14 ), 0.0 ) ).xyz );\n\tnodeVar1 = ( vec3<f32>( clamp( dot( normalView, nodeConst4 ), 0.0, 1.0 ) ) * render.nodeUniform9 );\n\tlet nodeConst5 = clamp( dot( positionViewDirection, normalize( ( nodeConst4 + positionViewDirection ) ) ), 0.0, 1.0 );\n\tlet nodeConst6 = exp2( ( ( ( nodeConst5 * -5.55473 ) - 6.98316 ) * nodeConst5 ) );\n\tdirectDiffuse = ( directDiffuse + ( ( nodeVar1 * ( DiffuseContribution * vec3<f32>( 0.3183098861837907 ) ) ) * ( vec3<f32>( 1.0 ) - ( ( SpecularColor * vec3<f32>( ( 1.0 - nodeConst6 ) ) ) + vec3<f32>( ( SpecularF90 * nodeConst6 ) ) ) ) ) );\n\tlet nodeConst7 = normalize( ( nodeConst4 + positionViewDirection ) );\n\tlet nodeConst8 = clamp( dot( positionViewDirection, nodeConst7 ), 0.0, 1.0 );\n\tlet nodeConst9 = exp2( ( ( ( nodeConst8 * -5.55473 ) - 6.98316 ) * nodeConst8 ) );\n\tlet nodeConst10 = max( Roughness, 0.045 );\n\tlet nodeConst11 = ( nodeConst10 * nodeConst10 );\n\tdirectSpecular = ( directSpecular + ( ( nodeVar1 * ( ( ( ( SpecularColorBlended * vec3<f32>( ( 1.0 - nodeConst9 ) ) ) + vec3<f32>( ( SpecularF90 * nodeConst9 ) ) ) * vec3<f32>( stable_fn0( nodeConst11, clamp( dot( normalView, nodeConst4 ), 0.0, 1.0 ), clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) ) ) ) * vec3<f32>( stable_fn1( nodeConst11, clamp( dot( normalView, nodeConst7 ), 0.0, 1.0 ) ) ) ) ) * multiScatteringCompensation ) );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform12, render.nodeUniform10, ( ( dot( normalWorld, normalize( render.nodeUniform11 ) ) * 0.5 ) + 0.5 ) ) );\n\tnodeVar2 = ( ( irradiance * ( DiffuseContribution * vec3<f32>( 0.3183098861837907 ) ) ) * ( vec3<f32>( 1.0 ) - ( singleScatteringDielectric + multiScatteringDielectric ) ) );\n\tindirectDiffuse = ( indirectDiffuse + nodeVar2 );\n\tsingleScatteringMetallic = vec3<f32>( 0.0, 0.0, 0.0 );\n\tmultiScatteringMetallic = vec3<f32>( 0.0, 0.0, 0.0 );\n\tlet nodeConst12 = ( ( DiffuseColor.xyz * vec3<f32>( dfg.x ) ) + vec3<f32>( ( SpecularF90 * dfg.y ) ) );\n\tsingleScatteringMetallic = ( singleScatteringMetallic + nodeConst12 );\n\tlet nodeConst13 = ( DiffuseColor.xyz + ( ( vec3<f32>( 1.0 ) - DiffuseColor.xyz ) * vec3<f32>( 0.047619 ) ) );\n\tlet nodeConst14 = ( 1.0 - ( dfg.x + dfg.y ) );\n\tmultiScatteringMetallic = ( multiScatteringMetallic + ( ( ( nodeConst12 * nodeConst13 ) / ( vec3<f32>( 1.0 ) - ( vec3<f32>( nodeConst14 ) * nodeConst13 ) ) ) * vec3<f32>( nodeConst14 ) ) );\n\tlet nodeConst15 = ( iblIrradiance * vec3<f32>( 0.3183098861837907 ) );\n\tnodeVar3 = ( ( radiance * mix( singleScatteringDielectric, singleScatteringMetallic, Metalness ) ) + ( mix( multiScatteringDielectric, multiScatteringMetallic, Metalness ) * nodeConst15 ) );\n\tnodeVar4 = ( ( DiffuseContribution * ( vec3<f32>( 1.0 ) - ( singleScatteringDielectric + multiScatteringDielectric ) ) ) * nodeConst15 );\n\tindirectSpecular = ( indirectSpecular + nodeVar3 );\n\tindirectDiffuse = ( indirectDiffuse + nodeVar4 );\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectSpecular = ( indirectSpecular * vec3<f32>( clamp( ( ambientOcclusion - ( 1.0 - pow( ( clamp( dot( normalView, positionViewDirection ), 0.0, 1.0 ) + ambientOcclusion ), exp2( ( - ( 1.0 - ( Roughness * -16.0 ) ) ) ) ) ) ), 0.0, 1.0 ) ) );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst16 = stable_fn2( max( vec4<f32>( ( outgoingLight + EmissiveColor ), DiffuseColor.w ), vec4<f32>( 0.0 ) ) );\n\tOutput = nodeConst16;\n\tlet nodeConst17 = ( ( ( smoothstep( 1.0, 0.08, nodeVarying7.y ) * smoothstep( 1.0, 0.08, nodeVarying7.y ) ) * 0.62 ) * smoothstep( 12.0, 26.0, length( ( v_positionWorld - render.cameraPosition ) ) ) );\n\n\t// result\n\n\toutput.color = vec4<f32>( ( vec3<f32>( 0.5, 0.5, 0.72 ) * vec3<f32>( nodeConst17 ) ), nodeConst17 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 1 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 2 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : f32,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : mat4x4<f32>,\n\tnodeUniform4 : vec2<f32>,\n\tnodeUniform5 : f32,\n\tnodeUniform6 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform7 : f32,\n\tnodeUniform8 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) vProgress : f32,\n\t@location( 1 ) vSide : f32,\n\t@location( 2 ) nodeVarying4 : f32,\n\t@location( 3 ) vColor : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar alpha : f32;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vColor;\n\talpha = 1.0;\n\talpha = ( alpha * object.nodeUniform1 );\n\tlet nodeConst0 = mix( 0.06, 0.5, smoothstep( 0.0, 0.8, vProgress ) );\n\tlet nodeConst1 = pow( vProgress, 1.45 );\n\tlet nodeConst2 = ( render.nodeUniform8 * 0.19 );\n\tlet nodeConst3 = ( ( nodeConst1 * 0.9 ) - nodeConst2 );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, vec2<f32>( ( ( vSide * 0.13 ) + ( nodeVarying4 * 0.37 ) ), nodeConst3 ) );\n\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, vec2<f32>( ( ( vSide * 0.34 ) + ( nodeVarying4 * 0.11 ) ), ( ( nodeConst1 * 2.3 ) - ( nodeConst2 * 2.8 ) ) ) );\n\tlet nodeConst4 = ( ( sin( ( ( nodeConst3 * 15.707963267948966 ) + nodeVarying4 ) ) * 0.5 ) + 0.5 );\n\talpha = ( ( ( ( ( alpha * smoothstep( nodeConst0, ( nodeConst0 + 0.32 ), ( ( nodeVar1.y * 0.65 ) + ( nodeVar2.z * 0.35 ) ) ) ) * ( ( nodeConst4 * 0.45 ) + 0.55 ) ) * pow( max( ( 1.0 - pow( ( vSide / ( ( nodeConst4 * 0.42 ) + 0.58 ) ), 2.0 ) ), 0.0 ), 1.6 ) ) * smoothstep( 0.0, 0.03, vProgress ) ) * pow( ( 1.0 - vProgress ), 1.3 ) );\n\tDiffuseColor.w = ( DiffuseColor.w * alpha );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tnormalView = vec3<f32>( 0.0, 0.0, 1.0 );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform11, render.nodeUniform9, ( ( dot( normalWorld, normalize( render.nodeUniform10 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec4<f32>( 0.0, 0.0, 0.0, 0.0 ).xyz;\n\tindirectDiffuse = ( vec4<f32>( indirectDiffuse, 1.0 ) + vec4<f32>( 1.0, 1.0, 1.0, 0.0 ) ).xyz;\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectDiffuse = ( indirectDiffuse * DiffuseColor.xyz );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst5 = max( vec4<f32>( outgoingLight, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst5;\n\n\t// result\n\n\toutput.color = nodeConst5;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform0 : f32,\n\tnodeUniform1 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform5 : f32,\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : mat4x4<f32>,\n\tnodeUniform8 : vec2<f32>,\n\tnodeUniform9 : f32,\n\tnodeUniform10 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) vProgress : f32,\n\t@location( 1 ) vSide : f32,\n\t@location( 2 ) nodeVarying4 : f32,\n\t@location( 3 ) vColor : vec4<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\nvar<private> aspect : f32;\nvar<private> w : f32;\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) position : vec3<f32>,\n\t@location( 1 ) progress : f32,\n\t@location( 2 ) joinRole : f32,\n\t@location( 3 ) previous : vec3<f32>,\n\t@location( 4 ) endpoint : vec4<f32>,\n\t@location( 5 ) next : vec3<f32>,\n\t@location( 6 ) width : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar linePosition : vec3<f32>;\n\tvar nodeVar0 : f32;\n\tvar color : vec4<f32>;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar viewPosition : vec4<f32>;\n\tvar varEndpoint : vec4<f32>;\n\tvar previousProgress : f32;\n\tvar viewPrevious : vec4<f32>;\n\tvar nextProgress : f32;\n\tvar viewNext : vec4<f32>;\n\tvar finalPosition : vec4<f32>;\n\tvar prevPos : vec4<f32>;\n\tvar nextPos : vec4<f32>;\n\tvar currentP : vec2<f32>;\n\tvar prevP : vec2<f32>;\n\tvar nextP : vec2<f32>;\n\tvar delta1Raw : vec2<f32>;\n\tvar delta2Raw : vec2<f32>;\n\tvar delta1RawLen : f32;\n\tvar delta2RawLen : f32;\n\tvar projectedDir1 : vec2<f32>;\n\tvar projectedDir2 : vec2<f32>;\n\tvar rawTurnDot : f32;\n\tvar nodeVar3 : bool;\n\tvar atStart : bool;\n\tvar atEnd : bool;\n\tvar nodeVar4 : f32;\n\tvar delta1Len : f32;\n\tvar nodeVar5 : f32;\n\tvar delta2Len : f32;\n\tvar nodeVar6 : vec2<f32>;\n\tvar dir1Raw : vec2<f32>;\n\tvar nodeVar7 : vec2<f32>;\n\tvar dir2Raw : vec2<f32>;\n\tvar dir1 : vec2<f32>;\n\tvar dir2 : vec2<f32>;\n\tvar dirSum : vec2<f32>;\n\tvar dirSumLen : f32;\n\tvar nodeVar8 : vec2<f32>;\n\tvar bodyDirection : vec2<f32>;\n\tvar perpFallback : vec2<f32>;\n\tvar limitBlend : f32;\n\tvar baseRadiusNdc : f32;\n\tvar foldJointRow : bool;\n\tvar sinHalfTurn : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar miterBlend : f32;\n\tvar splitWeight : f32;\n\tvar blendedPerp : vec2<f32>;\n\tvar blendedPerpLength : f32;\n\tvar unitPerp : vec2<f32>;\n\tvar miterHalfWidth : f32;\n\tvar normal : vec2<f32>;\n\tvar nodeVar11 : f32;\n\tvar bodyLength : f32;\n\tvar nodeVar12 : vec2<f32>;\n\tvar varSide : f32;\n\tvar nodeVar13 : vec2<f32>;\n\tvar nodeVar14 : vec2<f32>;\n\tvar nodeVar15 : vec2<f32>;\n\tvar nodeVar16 : vec2<f32>;\n\tvar nodeVar17 : vec4<f32>;\n\tvar v_positionWorld : vec3<f32>;\n\tvar positionLocal : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\tlet nodeConst0 = ( ( position.x + position.z ) * 9.7 );\n\tlet nodeConst1 = ( ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( ( ( pow( progress, 1.7 ) * 14.0 ) + ( ( sin( ( ( ( progress * 7.5 ) - ( render.nodeUniform0 * 0.4 ) ) + ( nodeConst0 * 1.7 ) ) ) * progress ) * 0.9 ) ) ) ) + ( vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) * vec2<f32>( ( ( sin( ( ( ( render.nodeUniform0 * 0.55 ) + ( progress * 5.5 ) ) + nodeConst0 ) ) * progress ) * 1.5 ) ) ) );\n\tlinePosition = ( position + vec3<f32>( nodeConst1.x, 0.0, nodeConst1.y ) );\n\tpositionLocal = linePosition;\n\tvaryings.vProgress = progress;\n\tlet nodeConst2 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst2 ) {\n\n\t\tnodeVar0 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar0 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\tvaryings.vSide = nodeVar0;\n\tlet nodeConst3 = ( ( position.x + position.z ) * 9.7 );\n\tvaryings.nodeVarying4 = nodeConst3;\n\tcolor = vec4<f32>( object.nodeUniform6, 1.0 );\n\tv_positionWorld = ( object.nodeUniform7 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet nodeConst4 = ( v_positionWorld - render.cameraPosition );\n\tlet nodeConst5 = length( nodeConst4 );\n\tlet nodeConst6 = max( dot( ( nodeConst4 / vec3<f32>( nodeConst5 ) ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 );\n\tlet nodeConst7 = ( nodeConst4 / vec3<f32>( nodeConst5 ) );\n\tlet nodeConst8 = ( nodeConst7.xz / vec2<f32>( max( length( nodeConst7.xz ), 0.0001 ) ) );\n\tlet nodeConst9 = max( dot( nodeConst8, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ), 0.0 );\n\tcolor = vec4<f32>( mix( vec3<f32>( 1.0, 0.6, 0.3 ), mix( mix( mix( color.xyz, vec3<f32>( 0.74, 0.72, 0.74 ), ( smoothstep( 0.15, 0.9, progress ) * 0.6 ) ), mix( vec3<f32>( 0.8148465722120952, 0.3915724777393922, 0.16513219449147767 ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), pow( nodeConst6, 4.0 ) ), ( ( 1.0 - exp( ( nodeConst5 * -0.0042 ) ) ) * ( ( pow( nodeConst6, 2.0 ) * 0.24 ) + 0.14 ) ) ), mix( mix( mix( vec3<f32>( 1.0, 0.4969329950515914, 0.174647403645279 ), vec3<f32>( 0.8879231178794776, 0.38642943377667954, 0.3049873140591091 ), ( smoothstep( 0.2, -1.0, dot( nodeConst8, vec2<f32>( -0.8645071866841928, -0.5026204573745306 ) ) ) * 0.75 ) ), vec3<f32>( 0.9046611743890203, 0.450785782828426, 0.181164244239483 ), smoothstep( 0.0, 0.25, ( - nodeConst7.y ) ) ), vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ), ( ( ( pow( nodeConst9, 4.0 ) * 0.14 ) + ( pow( nodeConst9, 18.0 ) * 0.16 ) ) * ( ( smoothstep( -0.22, 0.02, nodeConst7.y ) * 0.45 ) + 0.55 ) ) ), pow( smoothstep( 40.0, 200.0, length( v_positionWorld.xz ) ), 1.35 ) ), smoothstep( 0.0, 0.16, progress ) ), color.w );\n\tvaryings.vColor = color;\n\taspect = ( object.nodeUniform8.x / object.nodeUniform8.y );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform7 );\n\tviewPosition = ( modelViewMatrix * vec4<f32>( linePosition, 1.0 ) );\n\tvarEndpoint = endpoint;\n\tlet nodeConst10 = ( progress - varEndpoint.z );\n\tpreviousProgress = mix( clamp( nodeConst10, 0.0, 1.0 ), fract( nodeConst10 ), varEndpoint.y );\n\tlet nodeConst11 = ( ( previous.x + previous.z ) * 9.7 );\n\tlet nodeConst12 = ( ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( ( ( pow( previousProgress, 1.7 ) * 14.0 ) + ( ( sin( ( ( ( previousProgress * 7.5 ) - ( render.nodeUniform0 * 0.4 ) ) + ( nodeConst11 * 1.7 ) ) ) * previousProgress ) * 0.9 ) ) ) ) + ( vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) * vec2<f32>( ( ( sin( ( ( ( render.nodeUniform0 * 0.55 ) + ( previousProgress * 5.5 ) ) + nodeConst11 ) ) * previousProgress ) * 1.5 ) ) ) );\n\tviewPrevious = ( modelViewMatrix * vec4<f32>( ( previous + vec3<f32>( nodeConst12.x, 0.0, nodeConst12.y ) ), 1.0 ) );\n\tlet nodeConst13 = ( progress + varEndpoint.w );\n\tnextProgress = mix( clamp( nodeConst13, 0.0, 1.0 ), fract( nodeConst13 ), varEndpoint.y );\n\tlet nodeConst14 = ( ( next.x + next.z ) * 9.7 );\n\tlet nodeConst15 = ( ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( ( ( pow( nextProgress, 1.7 ) * 14.0 ) + ( ( sin( ( ( ( nextProgress * 7.5 ) - ( render.nodeUniform0 * 0.4 ) ) + ( nodeConst14 * 1.7 ) ) ) * nextProgress ) * 0.9 ) ) ) ) + ( vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) * vec2<f32>( ( ( sin( ( ( ( render.nodeUniform0 * 0.55 ) + ( nextProgress * 5.5 ) ) + nodeConst14 ) ) * nextProgress ) * 1.5 ) ) ) );\n\tviewNext = ( modelViewMatrix * vec4<f32>( ( next + vec3<f32>( nodeConst15.x, 0.0, nodeConst15.y ) ), 1.0 ) );\n\tfinalPosition = ( render.cameraProjectionMatrix * viewPosition );\n\tprevPos = ( render.cameraProjectionMatrix * viewPrevious );\n\tnextPos = ( render.cameraProjectionMatrix * viewNext );\n\tcurrentP = fix( finalPosition, aspect );\n\tprevP = fix( prevPos, aspect );\n\tnextP = fix( nextPos, aspect );\n\tdelta1Raw = ( currentP - prevP );\n\tdelta2Raw = ( nextP - currentP );\n\tdelta1RawLen = length( delta1Raw );\n\tdelta2RawLen = length( delta2Raw );\n\tprojectedDir1 = ( delta1Raw / vec2<f32>( max( delta1RawLen, 1e-7 ) ) );\n\tprojectedDir2 = ( delta2Raw / vec2<f32>( max( delta2RawLen, 1e-7 ) ) );\n\trawTurnDot = dot( projectedDir1, projectedDir2 );\n\n\tif ( nodeConst2 ) {\n\n\t\tnodeVar3 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar3 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst16 = ( ( delta1RawLen >= 1e-7 ) && ( delta2RawLen >= 1e-7 ) );\n\tlet nodeConst17 = ( nodeConst16 && ( rawTurnDot <= -0.9998477101325989 ) );\n\tatStart = ( ( varEndpoint.x < -0.5 ) || ( nodeVar3 && nodeConst17 ) );\n\tatEnd = ( ( varEndpoint.x > 0.5 ) || ( ( ! nodeVar3 ) && nodeConst17 ) );\n\tw = ( object.nodeUniform9 * width );\n\n\tif ( atStart ) {\n\n\t\tnodeVar4 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar4 = delta1RawLen;\n\n\t}\n\n\tdelta1Len = nodeVar4;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar5 = delta1RawLen;\n\n\t} else {\n\n\t\tnodeVar5 = delta2RawLen;\n\n\t}\n\n\tdelta2Len = nodeVar5;\n\n\tif ( atStart ) {\n\n\t\tnodeVar6 = projectedDir2;\n\n\t} else {\n\n\t\tnodeVar6 = projectedDir1;\n\n\t}\n\n\tdir1Raw = nodeVar6;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar7 = projectedDir1;\n\n\t} else {\n\n\t\tnodeVar7 = projectedDir2;\n\n\t}\n\n\tdir2Raw = nodeVar7;\n\tdir1 = mix( mix( vec2<f32>( 1.0, 0.0 ), dir2Raw, step( 1e-7, delta2Len ) ), dir1Raw, step( 1e-7, delta1Len ) );\n\tdir2 = mix( dir1, dir2Raw, step( 1e-7, delta2Len ) );\n\tdirSum = ( dir1 + dir2 );\n\tdirSumLen = length( dirSum );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar8 = dir2;\n\n\t} else {\n\n\t\tnodeVar8 = dir1;\n\n\t}\n\n\tbodyDirection = nodeVar8;\n\tperpFallback = vec2<f32>( ( - bodyDirection.y ), bodyDirection.x );\n\tlimitBlend = smoothstep( ( object.nodeUniform10 * 0.75 ), object.nodeUniform10, dirSumLen );\n\tbaseRadiusNdc = ( ( render.cameraProjectionMatrix[ 1u ].y * ( w * 0.5 ) ) / max( abs( finalPosition.w ), 0.000001 ) );\n\tfoldJointRow = ( ( nodeConst16 && ( abs( varEndpoint.x ) <= 0.5 ) ) && ( ( render.cameraProjectionMatrix[ 3u ].w > 0.5 ) || ( min( finalPosition.w, min( prevPos.w, nextPos.w ) ) > ( render.cameraNear * 0.5 ) ) ) );\n\tsinHalfTurn = sqrt( max( ( ( 1.0 - rawTurnDot ) * 0.5 ), 0.0 ) );\n\n\tif ( foldJointRow ) {\n\n\t\tlet nodeConst18 = ( viewPosition.xyz - viewPrevious.xyz );\n\t\tlet nodeConst19 = dot( nodeConst18, nodeConst18 );\n\t\tlet nodeConst20 = ( viewNext.xyz - viewPosition.xyz );\n\t\tlet nodeConst21 = dot( nodeConst20, nodeConst20 );\n\n\t\tif ( ( ( nodeConst19 > 1e-30 ) && ( nodeConst21 > 1e-30 ) ) ) {\n\n\t\t\tnodeVar10 = clamp( ( ( dot( nodeConst18, nodeConst20 ) * inverseSqrt( nodeConst19 ) ) * inverseSqrt( nodeConst21 ) ), -1.0, 1.0 );\n\n\t\t} else {\n\n\t\t\tnodeVar10 = 1.0;\n\n\t\t}\n\n\t\tlet nodeConst22 = ( object.nodeUniform10 / mix( ( object.nodeUniform10 * 0.625 ), 1.0, ( 1.0 - smoothstep( 0.8660254037844387, 0.9659258262890683, nodeVar10 ) ) ) );\n\t\tnodeVar9 = ( smoothstep( ( nodeConst22 * 0.75 ), nodeConst22, dirSumLen ) * smoothstep( 0.75, 1.0, ( ( min( delta1Len, delta2Len ) * clamp( ( dirSumLen * 0.5 ), 0.0001, 1.0 ) ) / max( ( baseRadiusNdc * sinHalfTurn ), 1e-9 ) ) ) );\n\n\t} else {\n\n\t\tnodeVar9 = limitBlend;\n\n\t}\n\n\tmiterBlend = nodeVar9;\n\tsplitWeight = max( ( 1.0 - miterBlend ), f32( nodeConst17 ) );\n\tblendedPerp = ( ( perpFallback * vec2<f32>( ( 1.0 - miterBlend ) ) ) + ( vec2<f32>( ( - dirSum.y ), dirSum.x ) * vec2<f32>( ( miterBlend / max( dirSumLen, 0.0001 ) ) ) ) );\n\tblendedPerpLength = length( blendedPerp );\n\tunitPerp = mix( perpFallback, ( blendedPerp / vec2<f32>( max( blendedPerpLength, 0.0001 ) ) ), step( 0.0001, blendedPerpLength ) );\n\tmiterHalfWidth = mix( ( w * 0.5 ), ( w / max( dirSumLen, object.nodeUniform10 ) ), miterBlend );\n\tnormal = ( unitPerp * vec2<f32>( miterHalfWidth ) );\n\tnormal = ( ( render.cameraProjectionMatrix[ 0u ].xy * vec2<f32>( normal.x ) ) + ( render.cameraProjectionMatrix[ 1u ].xy * vec2<f32>( normal.y ) ) );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar11 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar11 = delta1RawLen;\n\n\t}\n\n\tbodyLength = nodeVar11;\n\n\tif ( ( bodyLength >= 1e-7 ) ) {\n\n\t\tnodeVar12 = normal;\n\n\t} else {\n\n\t\tnodeVar12 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tvarSide = nodeVar0;\n\tnodeVar13 = ( finalPosition.xy + ( nodeVar12 * vec2<f32>( varSide ) ) );\n\tfinalPosition.x = nodeVar13[ 0 ];\n\tfinalPosition.y = nodeVar13[ 1 ];\n\n\tif ( foldJointRow ) {\n\n\n\t\tif ( nodeVar3 ) {\n\n\t\t\tnodeVar15 = ( - projectedDir2 );\n\n\t\t} else {\n\n\t\t\tnodeVar15 = projectedDir1;\n\n\t\t}\n\n\t\tlet nodeConst23 = ( nodeVar15 * vec2<f32>( ( ( sqrt( splitWeight ) * sinHalfTurn ) * baseRadiusNdc ) ) );\n\t\tnodeVar14 = ( vec2<f32>( ( nodeConst23.x / aspect ), nodeConst23.y ) * vec2<f32>( finalPosition.w ) );\n\n\t} else {\n\n\t\tnodeVar14 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar16 = ( finalPosition.xy + nodeVar14 );\n\tfinalPosition.x = nodeVar16[ 0 ];\n\tfinalPosition.y = nodeVar16[ 1 ];\n\n\tif ( ( ( ( ( finalPosition.x == finalPosition.x ) && ( finalPosition.y == finalPosition.y ) ) && ( finalPosition.z == finalPosition.z ) ) && ( finalPosition.w == finalPosition.w ) ) ) {\n\n\t\tnodeVar17 = finalPosition;\n\n\t} else {\n\n\t\tnodeVar17 = vec4<f32>( 2.0, 2.0, 2.0, 1.0 );\n\n\t}\n\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeVar17;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 2 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct nodeUniform1Struct {\n\tvalue : array< vec4<f32> >\n};\n@binding( 1 ) @group( 1 )\nvar<storage, read> nodeUniform1 : nodeUniform1Struct;\n\nstruct objectStruct {\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : f32,\n\tnodeUniform4 : mat4x4<f32>,\n\tnodeUniform5 : vec2<f32>,\n\tnodeUniform6 : f32,\n\tnodeUniform7 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform8 : f32,\n\tnodeUniform9 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform10 : vec3<f32>,\n\tnodeUniform11 : vec3<f32>,\n\tnodeUniform12 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) vProgress : f32,\n\t@location( 1 ) v_positionWorld : vec3<f32>,\n\t@location( 2 ) vSide : f32,\n\t@location( 3 ) @interpolate(flat, either) nodeVarying4 : u32 ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar alpha : f32;\n\tvar windDraw : vec4<f32>;\n\tvar windFlight : f32;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar Output : vec4<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vec4<f32>( object.nodeUniform2, 1.0 );\n\talpha = 1.0;\n\talpha = ( alpha * object.nodeUniform3 );\n\twindDraw = nodeUniform1.value[ nodeVarying4 ];\n\twindFlight = min( ( fract( ( ( render.nodeUniform9 * ( ( windDraw.w * 0.012 ) + 0.036 ) ) + ( windDraw.z * 7.0 ) ) ) / 0.3 ), 1.0 );\n\tlet nodeConst0 = mix( 0.8, 0.52, vProgress );\n\tlet nodeConst1 = ( render.nodeUniform9 * 0.23 );\n\tlet nodeConst2 = ( ( ( vProgress * 0.7 ) + ( windDraw.z * 5.0 ) ) - nodeConst1 );\n\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, vec2<f32>( ( ( vSide * 0.024 ) + ( windDraw.x * 7.0 ) ), nodeConst2 ) );\n\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, vec2<f32>( ( ( vSide * 0.06 ) + ( windDraw.y * 7.0 ) ), ( ( vProgress * 1.6 ) - ( nodeConst1 * 2.6 ) ) ) );\n\tlet nodeConst3 = ( ( sin( ( ( nodeConst2 * 15.707963267948966 ) + ( windDraw.w * 20.0 ) ) ) * 0.5 ) + 0.5 );\n\talpha = ( ( ( ( ( ( ( alpha * ( smoothstep( 0.0, 0.14, windFlight ) * smoothstep( 1.0, 0.78, windFlight ) ) ) * smoothstep( 0.0, 0.3, vProgress ) ) * smoothstep( 7.0, 22.0, length( ( v_positionWorld - render.cameraPosition ) ) ) ) * ( smoothstep( nodeConst0, ( nodeConst0 + 0.16 ), ( ( nodeVar1.z * 0.65 ) + ( nodeVar2.z * 0.35 ) ) ) * ( ( smoothstep( 0.15, 0.5, nodeVar1.y ) * 0.45 ) + 0.55 ) ) ) * max( ( 1.0 - pow( ( vSide / ( ( nodeConst3 * 0.45 ) + 0.55 ) ), 2.0 ) ), 0.0 ) ) * ( ( nodeConst3 * 0.4 ) + 0.6 ) ) * 0.75 );\n\tDiffuseColor.w = ( DiffuseColor.w * alpha );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tnormalView = vec3<f32>( 0.0, 0.0, 1.0 );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform12, render.nodeUniform10, ( ( dot( normalWorld, normalize( render.nodeUniform11 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec4<f32>( 0.0, 0.0, 0.0, 0.0 ).xyz;\n\tindirectDiffuse = ( vec4<f32>( indirectDiffuse, 1.0 ) + vec4<f32>( 1.0, 1.0, 1.0, 0.0 ) ).xyz;\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectDiffuse = ( indirectDiffuse * DiffuseColor.xyz );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst4 = max( vec4<f32>( outgoingLight, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst4;\n\n\t// result\n\n\toutput.color = nodeConst4;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct nodeUniform0Struct {\n\tvalue : array< vec4<f32> >\n};\n@binding( 4 ) @group( 1 )\nvar<storage, read> nodeUniform0 : nodeUniform0Struct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform1 : f32,\n\tnodeUniform2 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform3 : vec3<f32>,\n\tnodeUniform4 : vec3<f32>,\n\tnodeUniform5 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\nstruct objectStruct {\n\tnodeUniform6 : vec3<f32>,\n\tnodeUniform7 : f32,\n\tnodeUniform8 : mat4x4<f32>,\n\tnodeUniform9 : vec2<f32>,\n\tnodeUniform10 : f32,\n\tnodeUniform11 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) vProgress : f32,\n\t@location( 1 ) v_positionWorld : vec3<f32>,\n\t@location( 2 ) vSide : f32,\n\t@location( 3 ) @interpolate(flat, either) nodeVarying4 : u32,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\nvar<private> aspect : f32;\nvar<private> w : f32;\n\n// codes\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( instance_index ) instanceIndex : u32,\n\t@builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) position : vec3<f32>,\n\t@location( 1 ) progress : f32,\n\t@location( 2 ) joinRole : f32,\n\t@location( 3 ) previous : vec3<f32>,\n\t@location( 4 ) next : vec3<f32>,\n\t@location( 5 ) endpoint : vec4<f32>,\n\t@location( 6 ) width : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar windDraw : vec4<f32>;\n\tvar windFlight : f32;\n\tvar windPlace : f32;\n\tvar linePosition : vec3<f32>;\n\tvar nodeVar0 : f32;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar viewPosition : vec4<f32>;\n\tvar viewPrevious : vec4<f32>;\n\tvar viewNext : vec4<f32>;\n\tvar finalPosition : vec4<f32>;\n\tvar prevPos : vec4<f32>;\n\tvar nextPos : vec4<f32>;\n\tvar currentP : vec2<f32>;\n\tvar prevP : vec2<f32>;\n\tvar nextP : vec2<f32>;\n\tvar delta1Raw : vec2<f32>;\n\tvar delta2Raw : vec2<f32>;\n\tvar delta1RawLen : f32;\n\tvar delta2RawLen : f32;\n\tvar projectedDir1 : vec2<f32>;\n\tvar projectedDir2 : vec2<f32>;\n\tvar rawTurnDot : f32;\n\tvar varEndpoint : vec4<f32>;\n\tvar nodeVar3 : bool;\n\tvar atStart : bool;\n\tvar atEnd : bool;\n\tvar nodeVar4 : f32;\n\tvar delta1Len : f32;\n\tvar nodeVar5 : f32;\n\tvar delta2Len : f32;\n\tvar nodeVar6 : vec2<f32>;\n\tvar dir1Raw : vec2<f32>;\n\tvar nodeVar7 : vec2<f32>;\n\tvar dir2Raw : vec2<f32>;\n\tvar dir1 : vec2<f32>;\n\tvar dir2 : vec2<f32>;\n\tvar dirSum : vec2<f32>;\n\tvar dirSumLen : f32;\n\tvar nodeVar8 : vec2<f32>;\n\tvar bodyDirection : vec2<f32>;\n\tvar perpFallback : vec2<f32>;\n\tvar limitBlend : f32;\n\tvar baseRadiusNdc : f32;\n\tvar foldJointRow : bool;\n\tvar sinHalfTurn : f32;\n\tvar nodeVar9 : f32;\n\tvar nodeVar10 : f32;\n\tvar miterBlend : f32;\n\tvar splitWeight : f32;\n\tvar blendedPerp : vec2<f32>;\n\tvar blendedPerpLength : f32;\n\tvar unitPerp : vec2<f32>;\n\tvar miterHalfWidth : f32;\n\tvar normal : vec2<f32>;\n\tvar nodeVar11 : f32;\n\tvar bodyLength : f32;\n\tvar nodeVar12 : vec2<f32>;\n\tvar varSide : f32;\n\tvar nodeVar13 : vec2<f32>;\n\tvar nodeVar14 : vec2<f32>;\n\tvar nodeVar15 : vec2<f32>;\n\tvar nodeVar16 : vec2<f32>;\n\tvar nodeVar17 : vec4<f32>;\n\tvar positionLocal : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tpositionLocal = position;\n\twindDraw = nodeUniform0.value[ instanceIndex ];\n\tlet nodeConst0 = ( ( render.nodeUniform1 * ( ( windDraw.w * 0.012 ) + 0.036 ) ) + ( windDraw.z * 7.0 ) );\n\twindFlight = min( ( fract( nodeConst0 ) / 0.3 ), 1.0 );\n\tlet nodeConst1 = ( ( windDraw.x * 14.0 ) + 24.0 );\n\tlet nodeConst2 = ( ( windFlight * 104.0 ) - ( ( 1.0 - position.x ) * nodeConst1 ) );\n\twindPlace = fract( ( sin( ( ( floor( nodeConst0 ) + ( windDraw.x * 31.0 ) ) * 12.9898 ) ) * 43758.5453 ) );\n\tlet nodeConst3 = ( 1.0 - position.x );\n\tlet nodeConst4 = ( ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( ( nodeConst2 - 52.0 ) ) ) + ( vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) * vec2<f32>( ( ( ( ( ( windPlace * 2.0 ) - 1.0 ) * 62.0 ) + ( sin( ( ( nodeConst2 * 0.15 ) + ( windDraw.z * 40.0 ) ) ) * 4.5 ) ) + ( ( sin( ( ( ( position.x * 9.0 ) + ( render.nodeUniform1 * 2.3 ) ) + ( windDraw.y * 40.0 ) ) ) * nodeConst3 ) * 1.1 ) ) ) ) );\n\tlet nodeConst5 = ( ( windDraw.y * 5.0 ) + 5.5 );\n\tlinePosition = vec3<f32>( nodeConst4.x, ( ( nodeConst5 + ( sin( ( ( nodeConst2 * 0.11 ) + ( windDraw.w * 40.0 ) ) ) * 1.7 ) ) + ( ( sin( ( ( ( position.x * 6.5 ) + ( render.nodeUniform1 * 1.7 ) ) + ( windDraw.x * 40.0 ) ) ) * nodeConst3 ) * 0.6 ) ), nodeConst4.y );\n\tpositionLocal = linePosition;\n\tvaryings.nodeVarying4 = instanceIndex;\n\tvaryings.vProgress = progress;\n\tvaryings.v_positionWorld = ( object.nodeUniform8 * vec4<f32>( positionLocal, 1.0 ) ).xyz;\n\tlet nodeConst6 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst6 ) {\n\n\t\tnodeVar0 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar0 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\tvaryings.vSide = nodeVar0;\n\taspect = ( object.nodeUniform9.x / object.nodeUniform9.y );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform8 );\n\tviewPosition = ( modelViewMatrix * vec4<f32>( linePosition, 1.0 ) );\n\tlet nodeConst7 = ( ( windFlight * 104.0 ) - ( ( 1.0 - previous.x ) * nodeConst1 ) );\n\tlet nodeConst8 = ( 1.0 - previous.x );\n\tlet nodeConst9 = ( ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( ( nodeConst7 - 52.0 ) ) ) + ( vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) * vec2<f32>( ( ( ( ( ( windPlace * 2.0 ) - 1.0 ) * 62.0 ) + ( sin( ( ( nodeConst7 * 0.15 ) + ( windDraw.z * 40.0 ) ) ) * 4.5 ) ) + ( ( sin( ( ( ( previous.x * 9.0 ) + ( render.nodeUniform1 * 2.3 ) ) + ( windDraw.y * 40.0 ) ) ) * nodeConst8 ) * 1.1 ) ) ) ) );\n\tviewPrevious = ( modelViewMatrix * vec4<f32>( vec3<f32>( nodeConst9.x, ( ( nodeConst5 + ( sin( ( ( nodeConst7 * 0.11 ) + ( windDraw.w * 40.0 ) ) ) * 1.7 ) ) + ( ( sin( ( ( ( previous.x * 6.5 ) + ( render.nodeUniform1 * 1.7 ) ) + ( windDraw.x * 40.0 ) ) ) * nodeConst8 ) * 0.6 ) ), nodeConst9.y ), 1.0 ) );\n\tlet nodeConst10 = ( ( windFlight * 104.0 ) - ( ( 1.0 - next.x ) * nodeConst1 ) );\n\tlet nodeConst11 = ( 1.0 - next.x );\n\tlet nodeConst12 = ( ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( ( nodeConst10 - 52.0 ) ) ) + ( vec2<f32>( -0.7828232547561078, 0.6222441255753677 ) * vec2<f32>( ( ( ( ( ( windPlace * 2.0 ) - 1.0 ) * 62.0 ) + ( sin( ( ( nodeConst10 * 0.15 ) + ( windDraw.z * 40.0 ) ) ) * 4.5 ) ) + ( ( sin( ( ( ( next.x * 9.0 ) + ( render.nodeUniform1 * 2.3 ) ) + ( windDraw.y * 40.0 ) ) ) * nodeConst11 ) * 1.1 ) ) ) ) );\n\tviewNext = ( modelViewMatrix * vec4<f32>( vec3<f32>( nodeConst12.x, ( ( nodeConst5 + ( sin( ( ( nodeConst10 * 0.11 ) + ( windDraw.w * 40.0 ) ) ) * 1.7 ) ) + ( ( sin( ( ( ( next.x * 6.5 ) + ( render.nodeUniform1 * 1.7 ) ) + ( windDraw.x * 40.0 ) ) ) * nodeConst11 ) * 0.6 ) ), nodeConst12.y ), 1.0 ) );\n\tfinalPosition = ( render.cameraProjectionMatrix * viewPosition );\n\tprevPos = ( render.cameraProjectionMatrix * viewPrevious );\n\tnextPos = ( render.cameraProjectionMatrix * viewNext );\n\tcurrentP = fix( finalPosition, aspect );\n\tprevP = fix( prevPos, aspect );\n\tnextP = fix( nextPos, aspect );\n\tdelta1Raw = ( currentP - prevP );\n\tdelta2Raw = ( nextP - currentP );\n\tdelta1RawLen = length( delta1Raw );\n\tdelta2RawLen = length( delta2Raw );\n\tprojectedDir1 = ( delta1Raw / vec2<f32>( max( delta1RawLen, 1e-7 ) ) );\n\tprojectedDir2 = ( delta2Raw / vec2<f32>( max( delta2RawLen, 1e-7 ) ) );\n\trawTurnDot = dot( projectedDir1, projectedDir2 );\n\tvarEndpoint = endpoint;\n\n\tif ( nodeConst6 ) {\n\n\t\tnodeVar3 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar3 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst13 = ( ( delta1RawLen >= 1e-7 ) && ( delta2RawLen >= 1e-7 ) );\n\tlet nodeConst14 = ( nodeConst13 && ( rawTurnDot <= -0.9998477101325989 ) );\n\tatStart = ( ( varEndpoint.x < -0.5 ) || ( nodeVar3 && nodeConst14 ) );\n\tatEnd = ( ( varEndpoint.x > 0.5 ) || ( ( ! nodeVar3 ) && nodeConst14 ) );\n\tw = ( object.nodeUniform10 * width );\n\n\tif ( atStart ) {\n\n\t\tnodeVar4 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar4 = delta1RawLen;\n\n\t}\n\n\tdelta1Len = nodeVar4;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar5 = delta1RawLen;\n\n\t} else {\n\n\t\tnodeVar5 = delta2RawLen;\n\n\t}\n\n\tdelta2Len = nodeVar5;\n\n\tif ( atStart ) {\n\n\t\tnodeVar6 = projectedDir2;\n\n\t} else {\n\n\t\tnodeVar6 = projectedDir1;\n\n\t}\n\n\tdir1Raw = nodeVar6;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar7 = projectedDir1;\n\n\t} else {\n\n\t\tnodeVar7 = projectedDir2;\n\n\t}\n\n\tdir2Raw = nodeVar7;\n\tdir1 = mix( mix( vec2<f32>( 1.0, 0.0 ), dir2Raw, step( 1e-7, delta2Len ) ), dir1Raw, step( 1e-7, delta1Len ) );\n\tdir2 = mix( dir1, dir2Raw, step( 1e-7, delta2Len ) );\n\tdirSum = ( dir1 + dir2 );\n\tdirSumLen = length( dirSum );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar8 = dir2;\n\n\t} else {\n\n\t\tnodeVar8 = dir1;\n\n\t}\n\n\tbodyDirection = nodeVar8;\n\tperpFallback = vec2<f32>( ( - bodyDirection.y ), bodyDirection.x );\n\tlimitBlend = smoothstep( ( object.nodeUniform11 * 0.75 ), object.nodeUniform11, dirSumLen );\n\tbaseRadiusNdc = ( ( render.cameraProjectionMatrix[ 1u ].y * ( w * 0.5 ) ) / max( abs( finalPosition.w ), 0.000001 ) );\n\tfoldJointRow = ( ( nodeConst13 && ( abs( varEndpoint.x ) <= 0.5 ) ) && ( ( render.cameraProjectionMatrix[ 3u ].w > 0.5 ) || ( min( finalPosition.w, min( prevPos.w, nextPos.w ) ) > ( render.cameraNear * 0.5 ) ) ) );\n\tsinHalfTurn = sqrt( max( ( ( 1.0 - rawTurnDot ) * 0.5 ), 0.0 ) );\n\n\tif ( foldJointRow ) {\n\n\t\tlet nodeConst15 = ( viewPosition.xyz - viewPrevious.xyz );\n\t\tlet nodeConst16 = dot( nodeConst15, nodeConst15 );\n\t\tlet nodeConst17 = ( viewNext.xyz - viewPosition.xyz );\n\t\tlet nodeConst18 = dot( nodeConst17, nodeConst17 );\n\n\t\tif ( ( ( nodeConst16 > 1e-30 ) && ( nodeConst18 > 1e-30 ) ) ) {\n\n\t\t\tnodeVar10 = clamp( ( ( dot( nodeConst15, nodeConst17 ) * inverseSqrt( nodeConst16 ) ) * inverseSqrt( nodeConst18 ) ), -1.0, 1.0 );\n\n\t\t} else {\n\n\t\t\tnodeVar10 = 1.0;\n\n\t\t}\n\n\t\tlet nodeConst19 = ( object.nodeUniform11 / mix( ( object.nodeUniform11 * 0.625 ), 1.0, ( 1.0 - smoothstep( 0.8660254037844387, 0.9659258262890683, nodeVar10 ) ) ) );\n\t\tnodeVar9 = ( smoothstep( ( nodeConst19 * 0.75 ), nodeConst19, dirSumLen ) * smoothstep( 0.75, 1.0, ( ( min( delta1Len, delta2Len ) * clamp( ( dirSumLen * 0.5 ), 0.0001, 1.0 ) ) / max( ( baseRadiusNdc * sinHalfTurn ), 1e-9 ) ) ) );\n\n\t} else {\n\n\t\tnodeVar9 = limitBlend;\n\n\t}\n\n\tmiterBlend = nodeVar9;\n\tsplitWeight = max( ( 1.0 - miterBlend ), f32( nodeConst14 ) );\n\tblendedPerp = ( ( perpFallback * vec2<f32>( ( 1.0 - miterBlend ) ) ) + ( vec2<f32>( ( - dirSum.y ), dirSum.x ) * vec2<f32>( ( miterBlend / max( dirSumLen, 0.0001 ) ) ) ) );\n\tblendedPerpLength = length( blendedPerp );\n\tunitPerp = mix( perpFallback, ( blendedPerp / vec2<f32>( max( blendedPerpLength, 0.0001 ) ) ), step( 0.0001, blendedPerpLength ) );\n\tmiterHalfWidth = mix( ( w * 0.5 ), ( w / max( dirSumLen, object.nodeUniform11 ) ), miterBlend );\n\tnormal = ( unitPerp * vec2<f32>( miterHalfWidth ) );\n\tnormal = ( ( render.cameraProjectionMatrix[ 0u ].xy * vec2<f32>( normal.x ) ) + ( render.cameraProjectionMatrix[ 1u ].xy * vec2<f32>( normal.y ) ) );\n\n\tif ( nodeVar3 ) {\n\n\t\tnodeVar11 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar11 = delta1RawLen;\n\n\t}\n\n\tbodyLength = nodeVar11;\n\n\tif ( ( bodyLength >= 1e-7 ) ) {\n\n\t\tnodeVar12 = normal;\n\n\t} else {\n\n\t\tnodeVar12 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tvarSide = nodeVar0;\n\tnodeVar13 = ( finalPosition.xy + ( nodeVar12 * vec2<f32>( varSide ) ) );\n\tfinalPosition.x = nodeVar13[ 0 ];\n\tfinalPosition.y = nodeVar13[ 1 ];\n\n\tif ( foldJointRow ) {\n\n\n\t\tif ( nodeVar3 ) {\n\n\t\t\tnodeVar15 = ( - projectedDir2 );\n\n\t\t} else {\n\n\t\t\tnodeVar15 = projectedDir1;\n\n\t\t}\n\n\t\tlet nodeConst20 = ( nodeVar15 * vec2<f32>( ( ( sqrt( splitWeight ) * sinHalfTurn ) * baseRadiusNdc ) ) );\n\t\tnodeVar14 = ( vec2<f32>( ( nodeConst20.x / aspect ), nodeConst20.y ) * vec2<f32>( finalPosition.w ) );\n\n\t} else {\n\n\t\tnodeVar14 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar16 = ( finalPosition.xy + nodeVar14 );\n\tfinalPosition.x = nodeVar16[ 0 ];\n\tfinalPosition.y = nodeVar16[ 1 ];\n\n\tif ( ( ( ( ( finalPosition.x == finalPosition.x ) && ( finalPosition.y == finalPosition.y ) ) && ( finalPosition.z == finalPosition.z ) ) && ( finalPosition.w == finalPosition.w ) ) ) {\n\n\t\tnodeVar17 = finalPosition;\n\n\t} else {\n\n\t\tnodeVar17 = vec4<f32>( 2.0, 2.0, 2.0, 1.0 );\n\n\t}\n\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeVar17;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n\nstruct objectStruct {\n\tnodeUniform0 : f32,\n\tnodeUniform1 : vec3<f32>,\n\tnodeUniform2 : vec2<f32>,\n\tnodeUniform3 : mat4x4<f32>,\n\tnodeUniform4 : f32,\n\tnodeUniform5 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform6 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform7 : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) vColor : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar DiffuseColor : vec4<f32>;\n\tvar alpha : f32;\n\tvar Output : vec4<f32>;\n\tvar irradiance : vec3<f32>;\n\tvar normalView : vec3<f32>;\n\tvar normalWorld : vec3<f32>;\n\tvar indirectDiffuse : vec3<f32>;\n\tvar ambientOcclusion : f32;\n\tvar totalDiffuse : vec3<f32>;\n\tvar directDiffuse : vec3<f32>;\n\tvar totalSpecular : vec3<f32>;\n\tvar directSpecular : vec3<f32>;\n\tvar indirectSpecular : vec3<f32>;\n\tvar outgoingLight : vec3<f32>;\n\n\n\t// flow\n\t// code\n\n\tDiffuseColor = vColor;\n\talpha = 1.0;\n\talpha = ( alpha * object.nodeUniform0 );\n\tDiffuseColor.w = ( DiffuseColor.w * alpha );\n\tirradiance = vec3<f32>( 0.0, 0.0, 0.0 );\n\tnormalView = vec3<f32>( 0.0, 0.0, 1.0 );\n\tnormalWorld = normalize( ( vec4<f32>( normalView, 0.0 ) * render.cameraViewMatrix ).xyz );\n\tirradiance = ( irradiance + mix( render.nodeUniform9, render.nodeUniform7, ( ( dot( normalWorld, normalize( render.nodeUniform8 ) ) * 0.5 ) + 0.5 ) ) );\n\tindirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectDiffuse = vec4<f32>( 0.0, 0.0, 0.0, 0.0 ).xyz;\n\tindirectDiffuse = ( vec4<f32>( indirectDiffuse, 1.0 ) + vec4<f32>( 1.0, 1.0, 1.0, 0.0 ) ).xyz;\n\tambientOcclusion = 1.0;\n\tindirectDiffuse = ( indirectDiffuse * vec3<f32>( ambientOcclusion ) );\n\tindirectDiffuse = ( indirectDiffuse * DiffuseColor.xyz );\n\tdirectDiffuse = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalDiffuse = ( directDiffuse + indirectDiffuse );\n\tdirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\tindirectSpecular = vec3<f32>( 0.0, 0.0, 0.0 );\n\ttotalSpecular = ( directSpecular + indirectSpecular );\n\toutgoingLight = ( totalDiffuse + totalSpecular );\n\tlet nodeConst0 = max( vec4<f32>( outgoingLight, DiffuseColor.w ), vec4<f32>( 0.0 ) );\n\tOutput = nodeConst0;\n\n\t// result\n\n\toutput.color = nodeConst0;\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\nstruct nodeUniform0Struct {\n\tvalue : array< vec4<f32> >\n};\n@binding( 1 ) @group( 1 )\nvar<storage, read> nodeUniform0 : nodeUniform0Struct;\n\nstruct objectStruct {\n\tnodeUniform1 : f32,\n\tnodeUniform2 : vec3<f32>,\n\tnodeUniform3 : vec2<f32>,\n\tnodeUniform4 : mat4x4<f32>,\n\tnodeUniform5 : f32,\n\tnodeUniform6 : f32\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tcameraNear : f32,\n\tnodeUniform7 : f32,\n\tcameraProjectionMatrix : mat4x4<f32>,\n\tcameraViewMatrix : mat4x4<f32>,\n\tcameraPosition : vec3<f32>,\n\tnodeUniform8 : vec3<f32>,\n\tnodeUniform9 : vec3<f32>,\n\tnodeUniform10 : vec3<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) vColor : vec4<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\nvar<private> aspect : f32;\nvar<private> w : f32;\n\n// codes\nfn tsl_mod_vec2( x : vec2f, y : vec2f ) -> vec2f { return x - y * floor( x / y ); }\nfn fix ( i : vec4<f32>, aspect : f32 ) -> vec2<f32> {\n\n\tvar safeW : f32;\n\n\tlet nodeConst0 = i;\n\tsafeW = mix( mix( -0.000001, 0.000001, step( 0.0, nodeConst0.w ) ), nodeConst0.w, step( 0.000001, abs( nodeConst0.w ) ) );\n\n\treturn ( vec2<f32>( ( nodeConst0.x * aspect ), nodeConst0.y ) / vec2<f32>( safeW ) );\n\n}\n\n\n\n\n@vertex\nfn main( @builtin( instance_index ) instanceIndex : u32,\n\t@builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) position : vec3<f32>,\n\t@location( 1 ) previous : vec3<f32>,\n\t@location( 2 ) next : vec3<f32>,\n\t@location( 3 ) endpoint : vec4<f32>,\n\t@location( 4 ) joinRole : f32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\tvar color : vec4<f32>;\n\tvar seedStart : vec4<f32>;\n\tvar seedAdrift : vec2<f32>;\n\tvar seedAloft : f32;\n\tvar modelViewMatrix : mat4x4<f32>;\n\tvar linePosition : vec3<f32>;\n\tvar viewPosition : vec4<f32>;\n\tvar viewPrevious : vec4<f32>;\n\tvar viewNext : vec4<f32>;\n\tvar finalPosition : vec4<f32>;\n\tvar prevPos : vec4<f32>;\n\tvar nextPos : vec4<f32>;\n\tvar currentP : vec2<f32>;\n\tvar prevP : vec2<f32>;\n\tvar nextP : vec2<f32>;\n\tvar delta1Raw : vec2<f32>;\n\tvar delta2Raw : vec2<f32>;\n\tvar delta1RawLen : f32;\n\tvar delta2RawLen : f32;\n\tvar projectedDir1 : vec2<f32>;\n\tvar projectedDir2 : vec2<f32>;\n\tvar rawTurnDot : f32;\n\tvar varEndpoint : vec4<f32>;\n\tvar nodeVar0 : bool;\n\tvar atStart : bool;\n\tvar atEnd : bool;\n\tvar nodeVar1 : f32;\n\tvar delta1Len : f32;\n\tvar nodeVar2 : f32;\n\tvar delta2Len : f32;\n\tvar nodeVar3 : vec2<f32>;\n\tvar dir1Raw : vec2<f32>;\n\tvar nodeVar4 : vec2<f32>;\n\tvar dir2Raw : vec2<f32>;\n\tvar dir1 : vec2<f32>;\n\tvar dir2 : vec2<f32>;\n\tvar dirSum : vec2<f32>;\n\tvar dirSumLen : f32;\n\tvar nodeVar5 : vec2<f32>;\n\tvar bodyDirection : vec2<f32>;\n\tvar perpFallback : vec2<f32>;\n\tvar limitBlend : f32;\n\tvar baseRadiusNdc : f32;\n\tvar foldJointRow : bool;\n\tvar sinHalfTurn : f32;\n\tvar nodeVar6 : f32;\n\tvar nodeVar7 : f32;\n\tvar miterBlend : f32;\n\tvar splitWeight : f32;\n\tvar blendedPerp : vec2<f32>;\n\tvar blendedPerpLength : f32;\n\tvar unitPerp : vec2<f32>;\n\tvar miterHalfWidth : f32;\n\tvar normal : vec2<f32>;\n\tvar nodeVar8 : f32;\n\tvar bodyLength : f32;\n\tvar nodeVar9 : vec2<f32>;\n\tvar nodeVar10 : f32;\n\tvar varSide : f32;\n\tvar nodeVar11 : vec2<f32>;\n\tvar nodeVar12 : vec2<f32>;\n\tvar nodeVar13 : vec2<f32>;\n\tvar nodeVar14 : vec2<f32>;\n\tvar nodeVar15 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tcolor = vec4<f32>( object.nodeUniform2, 1.0 );\n\tseedStart = nodeUniform0.value[ instanceIndex ];\n\tseedAdrift = ( tsl_mod_vec2( ( ( seedStart.xz * vec2<f32>( 156.0 ) ) + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ) * vec2<f32>( ( render.nodeUniform7 * ( ( seedStart.w * 1.7 ) + 1.3 ) ) ) ) ), vec2<f32>( 156.0 ) ) - vec2<f32>( 78.0 ) );\n\tseedAloft = ( ( ( ( seedStart.y * seedStart.y ) * 16.0 ) + 1.4 ) + ( sin( ( ( render.nodeUniform7 * ( seedStart.w + 0.5 ) ) + ( seedStart.x * 40.0 ) ) ) * 0.7 ) );\n\tlet nodeConst0 = ( vec3<f32>( seedAdrift.x, seedAloft, seedAdrift.y ) - render.cameraPosition );\n\tcolor = vec4<f32>( vec3<f32>( 1.0, 0.8713671191959567, 0.55201140150344 ), ( ( ( ( pow( max( dot( normalize( nodeConst0 ), vec3<f32>( -0.8634172606517265, 0.05019867794486782, -0.5019867794486782 ) ), 0.0 ), 2.0 ) * 0.8 ) + 0.2 ) * ( smoothstep( 78.0, 62.400000000000006, max( abs( seedAdrift.x ), abs( seedAdrift.y ) ) ) * smoothstep( 9.0, 24.0, length( nodeConst0 ) ) ) ) * ( ( sin( ( ( render.nodeUniform7 * 2.2 ) + ( seedStart.z * 60.0 ) ) ) * 0.3 ) + 0.7 ) ) );\n\tvaryings.vColor = color;\n\taspect = ( object.nodeUniform3.x / object.nodeUniform3.y );\n\tmodelViewMatrix = ( render.cameraViewMatrix * object.nodeUniform4 );\n\tlinePosition = vec3<f32>( ( seedAdrift.x + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ).x * position.x ) ), ( seedAloft + ( position.x * 0.25 ) ), ( seedAdrift.y + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ).y * position.x ) ) );\n\tviewPosition = ( modelViewMatrix * vec4<f32>( linePosition, 1.0 ) );\n\tviewPrevious = ( modelViewMatrix * vec4<f32>( vec3<f32>( ( seedAdrift.x + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ).x * previous.x ) ), ( seedAloft + ( previous.x * 0.25 ) ), ( seedAdrift.y + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ).y * previous.x ) ) ), 1.0 ) );\n\tviewNext = ( modelViewMatrix * vec4<f32>( vec3<f32>( ( seedAdrift.x + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ).x * next.x ) ), ( seedAloft + ( next.x * 0.25 ) ), ( seedAdrift.y + ( vec2<f32>( 0.6222441255753677, 0.7828232547561078 ).y * next.x ) ) ), 1.0 ) );\n\tfinalPosition = ( render.cameraProjectionMatrix * viewPosition );\n\tprevPos = ( render.cameraProjectionMatrix * viewPrevious );\n\tnextPos = ( render.cameraProjectionMatrix * viewNext );\n\tcurrentP = fix( finalPosition, aspect );\n\tprevP = fix( prevPos, aspect );\n\tnextP = fix( nextPos, aspect );\n\tdelta1Raw = ( currentP - prevP );\n\tdelta2Raw = ( nextP - currentP );\n\tdelta1RawLen = length( delta1Raw );\n\tdelta2RawLen = length( delta2Raw );\n\tprojectedDir1 = ( delta1Raw / vec2<f32>( max( delta1RawLen, 1e-7 ) ) );\n\tprojectedDir2 = ( delta2Raw / vec2<f32>( max( delta2RawLen, 1e-7 ) ) );\n\trawTurnDot = dot( projectedDir1, projectedDir2 );\n\tvarEndpoint = endpoint;\n\tlet nodeConst1 = ( abs( joinRole ) > 0.5 );\n\n\tif ( nodeConst1 ) {\n\n\t\tnodeVar0 = ( joinRole > 0.0 );\n\n\t} else {\n\n\t\tnodeVar0 = ( ( vertexIndex & 2u ) != 0u );\n\n\t}\n\n\tlet nodeConst2 = ( ( delta1RawLen >= 1e-7 ) && ( delta2RawLen >= 1e-7 ) );\n\tlet nodeConst3 = ( nodeConst2 && ( rawTurnDot <= -0.9998477101325989 ) );\n\tatStart = ( ( varEndpoint.x < -0.5 ) || ( nodeVar0 && nodeConst3 ) );\n\tatEnd = ( ( varEndpoint.x > 0.5 ) || ( ( ! nodeVar0 ) && nodeConst3 ) );\n\tw = object.nodeUniform5;\n\n\tif ( atStart ) {\n\n\t\tnodeVar1 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar1 = delta1RawLen;\n\n\t}\n\n\tdelta1Len = nodeVar1;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar2 = delta1RawLen;\n\n\t} else {\n\n\t\tnodeVar2 = delta2RawLen;\n\n\t}\n\n\tdelta2Len = nodeVar2;\n\n\tif ( atStart ) {\n\n\t\tnodeVar3 = projectedDir2;\n\n\t} else {\n\n\t\tnodeVar3 = projectedDir1;\n\n\t}\n\n\tdir1Raw = nodeVar3;\n\n\tif ( atEnd ) {\n\n\t\tnodeVar4 = projectedDir1;\n\n\t} else {\n\n\t\tnodeVar4 = projectedDir2;\n\n\t}\n\n\tdir2Raw = nodeVar4;\n\tdir1 = mix( mix( vec2<f32>( 1.0, 0.0 ), dir2Raw, step( 1e-7, delta2Len ) ), dir1Raw, step( 1e-7, delta1Len ) );\n\tdir2 = mix( dir1, dir2Raw, step( 1e-7, delta2Len ) );\n\tdirSum = ( dir1 + dir2 );\n\tdirSumLen = length( dirSum );\n\n\tif ( nodeVar0 ) {\n\n\t\tnodeVar5 = dir2;\n\n\t} else {\n\n\t\tnodeVar5 = dir1;\n\n\t}\n\n\tbodyDirection = nodeVar5;\n\tperpFallback = vec2<f32>( ( - bodyDirection.y ), bodyDirection.x );\n\tlimitBlend = smoothstep( ( object.nodeUniform6 * 0.75 ), object.nodeUniform6, dirSumLen );\n\tbaseRadiusNdc = ( ( render.cameraProjectionMatrix[ 1u ].y * ( w * 0.5 ) ) / max( abs( finalPosition.w ), 0.000001 ) );\n\tfoldJointRow = ( ( nodeConst2 && ( abs( varEndpoint.x ) <= 0.5 ) ) && ( ( render.cameraProjectionMatrix[ 3u ].w > 0.5 ) || ( min( finalPosition.w, min( prevPos.w, nextPos.w ) ) > ( render.cameraNear * 0.5 ) ) ) );\n\tsinHalfTurn = sqrt( max( ( ( 1.0 - rawTurnDot ) * 0.5 ), 0.0 ) );\n\n\tif ( foldJointRow ) {\n\n\t\tlet nodeConst4 = ( viewPosition.xyz - viewPrevious.xyz );\n\t\tlet nodeConst5 = dot( nodeConst4, nodeConst4 );\n\t\tlet nodeConst6 = ( viewNext.xyz - viewPosition.xyz );\n\t\tlet nodeConst7 = dot( nodeConst6, nodeConst6 );\n\n\t\tif ( ( ( nodeConst5 > 1e-30 ) && ( nodeConst7 > 1e-30 ) ) ) {\n\n\t\t\tnodeVar7 = clamp( ( ( dot( nodeConst4, nodeConst6 ) * inverseSqrt( nodeConst5 ) ) * inverseSqrt( nodeConst7 ) ), -1.0, 1.0 );\n\n\t\t} else {\n\n\t\t\tnodeVar7 = 1.0;\n\n\t\t}\n\n\t\tlet nodeConst8 = ( object.nodeUniform6 / mix( ( object.nodeUniform6 * 0.625 ), 1.0, ( 1.0 - smoothstep( 0.8660254037844387, 0.9659258262890683, nodeVar7 ) ) ) );\n\t\tnodeVar6 = ( smoothstep( ( nodeConst8 * 0.75 ), nodeConst8, dirSumLen ) * smoothstep( 0.75, 1.0, ( ( min( delta1Len, delta2Len ) * clamp( ( dirSumLen * 0.5 ), 0.0001, 1.0 ) ) / max( ( baseRadiusNdc * sinHalfTurn ), 1e-9 ) ) ) );\n\n\t} else {\n\n\t\tnodeVar6 = limitBlend;\n\n\t}\n\n\tmiterBlend = nodeVar6;\n\tsplitWeight = max( ( 1.0 - miterBlend ), f32( nodeConst3 ) );\n\tblendedPerp = ( ( perpFallback * vec2<f32>( ( 1.0 - miterBlend ) ) ) + ( vec2<f32>( ( - dirSum.y ), dirSum.x ) * vec2<f32>( ( miterBlend / max( dirSumLen, 0.0001 ) ) ) ) );\n\tblendedPerpLength = length( blendedPerp );\n\tunitPerp = mix( perpFallback, ( blendedPerp / vec2<f32>( max( blendedPerpLength, 0.0001 ) ) ), step( 0.0001, blendedPerpLength ) );\n\tmiterHalfWidth = mix( ( w * 0.5 ), ( w / max( dirSumLen, object.nodeUniform6 ) ), miterBlend );\n\tnormal = ( unitPerp * vec2<f32>( miterHalfWidth ) );\n\tnormal = ( ( render.cameraProjectionMatrix[ 0u ].xy * vec2<f32>( normal.x ) ) + ( render.cameraProjectionMatrix[ 1u ].xy * vec2<f32>( normal.y ) ) );\n\n\tif ( nodeVar0 ) {\n\n\t\tnodeVar8 = delta2RawLen;\n\n\t} else {\n\n\t\tnodeVar8 = delta1RawLen;\n\n\t}\n\n\tbodyLength = nodeVar8;\n\n\tif ( ( bodyLength >= 1e-7 ) ) {\n\n\t\tnodeVar9 = normal;\n\n\t} else {\n\n\t\tnodeVar9 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\n\tif ( nodeConst1 ) {\n\n\t\tnodeVar10 = ( 3.0 - ( abs( joinRole ) * 2.0 ) );\n\n\t} else {\n\n\t\tnodeVar10 = ( 1.0 - ( f32( ( vertexIndex & 1u ) ) * 2.0 ) );\n\n\t}\n\n\tvarSide = nodeVar10;\n\tnodeVar11 = ( finalPosition.xy + ( nodeVar9 * vec2<f32>( varSide ) ) );\n\tfinalPosition.x = nodeVar11[ 0 ];\n\tfinalPosition.y = nodeVar11[ 1 ];\n\n\tif ( foldJointRow ) {\n\n\n\t\tif ( nodeVar0 ) {\n\n\t\t\tnodeVar13 = ( - projectedDir2 );\n\n\t\t} else {\n\n\t\t\tnodeVar13 = projectedDir1;\n\n\t\t}\n\n\t\tlet nodeConst9 = ( nodeVar13 * vec2<f32>( ( ( sqrt( splitWeight ) * sinHalfTurn ) * baseRadiusNdc ) ) );\n\t\tnodeVar12 = ( vec2<f32>( ( nodeConst9.x / aspect ), nodeConst9.y ) * vec2<f32>( finalPosition.w ) );\n\n\t} else {\n\n\t\tnodeVar12 = vec2<f32>( 0.0, 0.0 );\n\n\t}\n\n\tnodeVar14 = ( finalPosition.xy + nodeVar12 );\n\tfinalPosition.x = nodeVar14[ 0 ];\n\tfinalPosition.y = nodeVar14[ 1 ];\n\n\tif ( ( ( ( ( finalPosition.x == finalPosition.x ) && ( finalPosition.y == finalPosition.y ) ) && ( finalPosition.z == finalPosition.z ) ) && ( finalPosition.w == finalPosition.w ) ) ) {\n\n\t\tnodeVar15 = finalPosition;\n\n\t} else {\n\n\t\tnodeVar15 = vec4<f32>( 2.0, 2.0, 2.0, 1.0 );\n\n\t}\n\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeVar15;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 0 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 0 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : f32,\n\tnodeUniform2 : f32\n};\n@binding( 2 ) @group( 0 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) nodeVarying0 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar nodeVar0 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, nodeVarying0 );\n\tlet nodeConst0 = nodeVar0;\n\n\t// result\n\n\toutput.color = mix( vec4<f32>( 0.0, 0.0, 0.0, 0.0 ), nodeConst0, smoothstep( object.nodeUniform1, ( object.nodeUniform1 + object.nodeUniform2 ), dot( nodeConst0.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\n\n// varyings\n\nstruct VaryingsStruct {\n\t@location( 0 ) nodeVarying0 : vec2<f32>,\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n\n// codes\n\n\n@vertex\nfn main( @builtin( vertex_index ) vertexIndex : u32,\n\t@location( 0 ) uv : vec2<f32> ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\n\n\t// flow\n\t// code\n\n\tvaryings.nodeVarying0 = uv;\n\tlet nodeConst0 = vec4<f32>( array< f32, 3 >( -1.0, -1.0, 3.0 )[ vertexIndex ], array< f32, 3 >( 3.0, -1.0, -1.0 )[ vertexIndex ], 0.0, 1.0 );\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeConst0;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 0 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 0 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat3x3<f32>,\n\tnodeUniform2 : vec2<f32>,\n\tnodeUniform3 : vec2<f32>\n};\n@binding( 2 ) @group( 0 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) nodeVarying0 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec3<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\tnodeVar1 = ( nodeVar0.xyz * vec3<f32>( 0.19947 ) );\n\n\tfor ( var i : i32 = 0; i < 3; i ++ ) {\n\n\t\tlet nodeConst0 = ( ( object.nodeUniform2 * object.nodeUniform3 ) * vec2<f32>( array< f32, 3 >( 1.40733340004593, 3.294214972162989, 5.0 )[ i ] ) );\n\t\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 + nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 - nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar1 = ( nodeVar1 + ( ( nodeVar2.xyz + nodeVar3.xyz ) * vec3<f32>( array< f32, 3 >( 0.2970163278514283, 0.09175375661117716, 0.008764100149861079 )[ i ] ) ) );\n\n\t}\n\n\n\t// result\n\n\toutput.color = vec4<f32>( nodeVar1, 1.0 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 0 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 0 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat3x3<f32>,\n\tnodeUniform2 : vec2<f32>,\n\tnodeUniform3 : vec2<f32>\n};\n@binding( 2 ) @group( 0 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) nodeVarying0 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec3<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\tnodeVar1 = ( nodeVar0.xyz * vec3<f32>( 0.119682 ) );\n\n\tfor ( var i : i32 = 0; i < 5; i ++ ) {\n\n\t\tlet nodeConst0 = ( ( object.nodeUniform2 * object.nodeUniform3 ) * vec2<f32>( array< f32, 5 >( 1.4663011645670991, 3.421894767115691, 5.378716404808932, 7.337378162829917, 9.0 )[ i ] ) );\n\t\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 + nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 - nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar1 = ( nodeVar1 + ( ( nodeVar2.xyz + nodeVar3.xyz ) * vec3<f32>( array< f32, 5 >( 0.21438250006287293, 0.13808060217496526, 0.06253996870210721, 0.019913324055006204, 0.0031262625741366435 )[ i ] ) ) );\n\n\t}\n\n\n\t// result\n\n\toutput.color = vec4<f32>( nodeVar1, 1.0 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 0 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 0 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat3x3<f32>,\n\tnodeUniform2 : vec2<f32>,\n\tnodeUniform3 : vec2<f32>\n};\n@binding( 2 ) @group( 0 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) nodeVarying0 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec3<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\tnodeVar1 = ( nodeVar0.xyz * vec3<f32>( 0.08548714285714286 ) );\n\n\tfor ( var i : i32 = 0; i < 7; i ++ ) {\n\n\t\tlet nodeConst0 = ( ( object.nodeUniform2 * object.nodeUniform3 ) * vec2<f32>( array< f32, 7 >( 1.4827874165827566, 3.45990768708058, 5.437195705962934, 7.4147440341828155, 9.392640964546707, 11.370969190043434, 13.0 )[ i ] ) );\n\t\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 + nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 - nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar1 = ( nodeVar1 + ( ( nodeVar2.xyz + nodeVar3.xyz ) * vec3<f32>( array< f32, 7 >( 0.16153278215047456, 0.1287340360249976, 0.08555930154584468, 0.04742132242468507, 0.02191797951110977, 0.008447578271836165, 0.001765199910796836 )[ i ] ) ) );\n\n\t}\n\n\n\t// result\n\n\toutput.color = vec4<f32>( nodeVar1, 1.0 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 0 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 0 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat3x3<f32>,\n\tnodeUniform2 : vec2<f32>,\n\tnodeUniform3 : vec2<f32>\n};\n@binding( 2 ) @group( 0 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) nodeVarying0 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec3<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\tnodeVar1 = ( nodeVar0.xyz * vec3<f32>( 0.06649000000000001 ) );\n\n\tfor ( var i : i32 = 0; i < 9; i ++ ) {\n\n\t\tlet nodeConst0 = ( ( object.nodeUniform2 * object.nodeUniform3 ) * vec2<f32>( array< f32, 9 >( 1.4895848401126355, 3.4757135713665743, 5.4618796740944076, 7.448104232731768, 9.434407974610943, 11.4208111469608, 13.407333400045928, 15.39399367783732, 17.0 )[ i ] ) );\n\t\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 + nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 - nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar1 = ( nodeVar1 + ( ( nodeVar2.xyz + nodeVar3.xyz ) * vec3<f32>( array< f32, 9 >( 0.1284697562799138, 0.11191824897278832, 0.08731326755905255, 0.06100111134675511, 0.0381655709162591, 0.02138356611366251, 0.010729024104628605, 0.004820686863785114, 0.001201009762281257 )[ i ] ) ) );\n\n\t}\n\n\n\t// result\n\n\toutput.color = vec4<f32>( nodeVar1, 1.0 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 0 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 0 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : mat3x3<f32>,\n\tnodeUniform2 : vec2<f32>,\n\tnodeUniform3 : vec2<f32>\n};\n@binding( 2 ) @group( 0 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @location( 0 ) nodeVarying0 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec3<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\tnodeVar1 = ( nodeVar0.xyz * vec3<f32>( 0.0544009090909091 ) );\n\n\tfor ( var i : i32 = 0; i < 11; i ++ ) {\n\n\t\tlet nodeConst0 = ( ( object.nodeUniform2 * object.nodeUniform3 ) * vec2<f32>( array< f32, 11 >( 1.4930273115580075, 3.483735079616612, 5.474454081211128, 7.465190698953718, 9.455951266953607, 11.446742053599085, 13.437569244721434, 15.42843892723576, 17.419357073349026, 19.410329525419996, 21.0 )[ i ] ) );\n\t\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 + nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform1 * vec3<f32>( ( nodeVarying0 - nodeConst0 ), 1.0 ) ).xy );\n\t\tnodeVar1 = ( nodeVar1 + ( ( nodeVar2.xyz + nodeVar3.xyz ) * vec3<f32>( array< f32, 11 >( 0.10631235328115614, 0.09691539802869314, 0.08204439964112456, 0.06449885004133733, 0.04708705604762678, 0.03192252271800665, 0.020097333155365302, 0.011749640609175892, 0.006379034087935798, 0.0032160931712181943, 0.0009013823526604976 )[ i ] ) ) );\n\n\t}\n\n\n\t// result\n\n\toutput.color = vec4<f32>( nodeVar1, 1.0 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 2 ) @group( 0 ) var nodeUniform0_sampler : sampler;\n@binding( 3 ) @group( 0 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 4 ) @group( 0 ) var nodeUniform1_sampler : sampler;\n@binding( 5 ) @group( 0 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 6 ) @group( 0 ) var nodeUniform2_sampler : sampler;\n@binding( 7 ) @group( 0 ) var nodeUniform2 : texture_2d<f32>;\n@binding( 8 ) @group( 0 ) var nodeUniform3_sampler : sampler;\n@binding( 9 ) @group( 0 ) var nodeUniform3 : texture_2d<f32>;\n@binding( 10 ) @group( 0 ) var nodeUniform4_sampler : sampler;\n@binding( 11 ) @group( 0 ) var nodeUniform4 : texture_2d<f32>;\n\nstruct nodeUniform5Struct {\n\tvalue : array< vec4<f32>, 5 >\n};\n@binding( 1 ) @group( 0 )\nvar<uniform> nodeUniform5 : nodeUniform5Struct;\n\nstruct objectStruct {\n\tnodeUniform6 : f32,\n\tnodeUniform7 : mat3x3<f32>,\n\tnodeUniform8 : mat3x3<f32>,\n\tnodeUniform9 : mat3x3<f32>,\n\tnodeUniform10 : mat3x3<f32>,\n\tnodeUniform11 : mat3x3<f32>,\n\tnodeUniform12 : f32\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> object : objectStruct;\n\n// vars\n\n// codes\nfn stable_fn0 ( factor : f32, radius : f32 ) -> f32 {\n\n\t\n\n\n\treturn mix( factor, ( 1.2 - factor ), radius );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) nodeVarying0 : vec2<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = array< f32, 5 >( 1.0, 0.8, 0.6, 0.4, 0.2 );\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( object.nodeUniform7 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\tnodeVar1 = textureSample( nodeUniform1, nodeUniform1_sampler, ( object.nodeUniform8 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\tnodeVar2 = textureSample( nodeUniform2, nodeUniform2_sampler, ( object.nodeUniform9 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\tnodeVar3 = textureSample( nodeUniform3, nodeUniform3_sampler, ( object.nodeUniform10 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\tnodeVar4 = textureSample( nodeUniform4, nodeUniform4_sampler, ( object.nodeUniform11 * vec3<f32>( nodeVarying0, 1.0 ) ).xy );\n\n\t// result\n\n\toutput.color = ( ( ( ( ( ( ( vec4<f32>( stable_fn0( nodeConst0[ 0u ], object.nodeUniform6 ) ) * vec4<f32>( nodeUniform5.value[ 0u ].xyz, 1.0 ) ) * nodeVar0 ) + ( ( vec4<f32>( stable_fn0( nodeConst0[ 1u ], object.nodeUniform6 ) ) * vec4<f32>( nodeUniform5.value[ 1u ].xyz, 1.0 ) ) * nodeVar1 ) ) + ( ( vec4<f32>( stable_fn0( nodeConst0[ 2u ], object.nodeUniform6 ) ) * vec4<f32>( nodeUniform5.value[ 2u ].xyz, 1.0 ) ) * nodeVar2 ) ) + ( ( vec4<f32>( stable_fn0( nodeConst0[ 3u ], object.nodeUniform6 ) ) * vec4<f32>( nodeUniform5.value[ 3u ].xyz, 1.0 ) ) * nodeVar3 ) ) + ( ( vec4<f32>( stable_fn0( nodeConst0[ 4u ], object.nodeUniform6 ) ) * vec4<f32>( nodeUniform5.value[ 4u ].xyz, 1.0 ) ) * nodeVar4 ) ) * vec4<f32>( object.nodeUniform12 ) );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 1 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 2 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n\nstruct objectStruct {\n\tnodeUniform1 : f32,\n\tnodeUniform2 : vec2<f32>\n};\n@binding( 0 ) @group( 1 )\nvar<uniform> object : objectStruct;\n\nstruct renderStruct {\n\tnodeUniform3 : vec2<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\n\n// codes\n\n\n@fragment\nfn main( @builtin( position ) fragCoord : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar shaftRays : f32;\n\tvar nodeVar0 : vec4<f32>;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\tvar nodeVar4 : vec4<f32>;\n\tvar nodeVar5 : vec4<f32>;\n\tvar nodeVar6 : vec4<f32>;\n\tvar nodeVar7 : vec4<f32>;\n\tvar nodeVar8 : vec4<f32>;\n\tvar nodeVar9 : vec4<f32>;\n\tvar nodeVar10 : vec4<f32>;\n\tvar nodeVar11 : vec4<f32>;\n\tvar nodeVar12 : vec4<f32>;\n\tvar nodeVar13 : vec4<f32>;\n\tvar nodeVar14 : vec4<f32>;\n\tvar nodeVar15 : vec4<f32>;\n\tvar nodeVar16 : vec4<f32>;\n\tvar nodeVar17 : vec4<f32>;\n\tvar nodeVar18 : vec4<f32>;\n\tvar nodeVar19 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tshaftRays = 0.0;\n\n\tif ( ( object.nodeUniform1 > 0.0 ) ) {\n\n\t\tlet nodeConst0 = ( object.nodeUniform2 - ( fragCoord.xy / render.nodeUniform3 ) );\n\t\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.0 ) ) ) );\n\t\tnodeVar1 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.047 ) ) ) );\n\t\tnodeVar2 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.094 ) ) ) );\n\t\tnodeVar3 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.141 ) ) ) );\n\t\tnodeVar4 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.188 ) ) ) );\n\t\tnodeVar5 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.235 ) ) ) );\n\t\tnodeVar6 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.282 ) ) ) );\n\t\tnodeVar7 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.32899999999999996 ) ) ) );\n\t\tnodeVar8 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.376 ) ) ) );\n\t\tnodeVar9 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.423 ) ) ) );\n\t\tnodeVar10 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.47 ) ) ) );\n\t\tnodeVar11 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.517 ) ) ) );\n\t\tnodeVar12 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.564 ) ) ) );\n\t\tnodeVar13 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.611 ) ) ) );\n\t\tnodeVar14 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.6579999999999999 ) ) ) );\n\t\tnodeVar15 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.705 ) ) ) );\n\t\tnodeVar16 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.752 ) ) ) );\n\t\tnodeVar17 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.7989999999999999 ) ) ) );\n\t\tnodeVar18 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.846 ) ) ) );\n\t\tnodeVar19 = textureSample( nodeUniform0, nodeUniform0_sampler, ( ( fragCoord.xy / render.nodeUniform3 ) + ( nodeConst0 * vec2<f32>( 0.8929999999999999 ) ) ) );\n\t\tshaftRays = ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( 0.0 + ( smoothstep( 0.6, 1.05, dot( nodeVar0.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 1.0 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar1.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.9725 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar2.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.945 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar3.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.9175 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar4.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.89 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar5.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.8625 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar6.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.835 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar7.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.8075 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar8.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.78 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar9.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.7525 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar10.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.725 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar11.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.6975 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar12.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.6699999999999999 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar13.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.6425 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar14.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.615 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar15.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.5874999999999999 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar16.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.5599999999999999 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar17.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.5325 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar18.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.5049999999999999 ) ) + ( smoothstep( 0.6, 1.05, dot( nodeVar19.xyz, vec3<f32>( 0.2126, 0.7152, 0.0722 ) ) ) * 0.47750000000000004 ) ) / 20.0 ) * object.nodeUniform1 );\n\t\t\n\n\t}\n\n\n\t// result\n\n\toutput.color = vec4<f32>( vec3<f32>( shaftRays ), 1.0 );\n\n\treturn output;\n\n}\n","// Three.js r187 - Node System\n\n// directives\n\n\n// structs\n\n\n// uniforms\n\n\n// varyings\n\nstruct VaryingsStruct {\n\t@builtin( position ) builtinClipSpace : vec4<f32>\n};\n\n// vars\n\n\n// codes\n\n\n@vertex\nfn main( @builtin( vertex_index ) vertexIndex : u32 ) -> VaryingsStruct {\n\tvar varyings : VaryingsStruct;\n\n\n\t// flow\n\t// code\n\n\tlet nodeConst0 = vec4<f32>( array< f32, 3 >( -1.0, -1.0, 3.0 )[ vertexIndex ], array< f32, 3 >( 3.0, -1.0, -1.0 )[ vertexIndex ], 0.0, 1.0 );\n\n\t// result\n\n\tvaryings.builtinClipSpace = nodeConst0;\n\n\treturn varyings;\n\n}\n","// Three.js r187 - Node System\n\n// global\ndiagnostic( off, derivative_uniformity );\n\n\n// directives\n\n\n// structs\n\nstruct OutputStruct {\n\t@location( 0 ) color: vec4<f32>\n};\n\n// uniforms\n@binding( 0 ) @group( 1 ) var nodeUniform0_sampler : sampler;\n@binding( 1 ) @group( 1 ) var nodeUniform0 : texture_2d<f32>;\n@binding( 2 ) @group( 1 ) var nodeUniform1_sampler : sampler;\n@binding( 3 ) @group( 1 ) var nodeUniform1 : texture_2d<f32>;\n@binding( 4 ) @group( 1 ) var nodeUniform2_sampler : sampler;\n@binding( 5 ) @group( 1 ) var nodeUniform2 : texture_2d<f32>;\n@binding( 6 ) @group( 1 ) var nodeUniform3_sampler : sampler;\n@binding( 7 ) @group( 1 ) var nodeUniform3 : texture_2d<f32>;\n\nstruct renderStruct {\n\tnodeUniform4 : vec2<f32>\n};\n@binding( 0 ) @group( 0 )\nvar<uniform> render : renderStruct;\n\n// vars\nvar<private> nodeVar0 : vec4<f32>;\n\n// codes\nfn stable_fn0 ( color : vec4<f32> ) -> vec4<f32> {\n\n\tvar nodeVar0 : vec4<f32>;\n\n\n\tif ( ( color.w == 0.0 ) ) {\n\n\t\tnodeVar0 = vec4<f32>( 0.0, 0.0, 0.0, 0.0 );\n\n\t} else {\n\n\t\tnodeVar0 = vec4<f32>( ( color.xyz / vec3<f32>( color.w ) ), color.w );\n\n\t}\n\n\n\treturn nodeVar0;\n\n}\n\n\nfn stable_fn1 ( color : vec3<f32> ) -> vec3<f32> {\n\n\t\n\n\n\treturn mix( ( ( pow( color, vec3<f32>( 0.41666 ) ) * vec3<f32>( 1.055 ) ) - vec3<f32>( 0.055 ) ), ( color * vec3<f32>( 12.92 ) ), vec3<f32>( ( color <= vec3<f32>( 0.0031308 ) ) ) );\n\n}\n\n\nfn stable_fn2 ( color : vec4<f32> ) -> vec4<f32> {\n\n\t\n\n\n\treturn vec4<f32>( ( color.xyz * vec3<f32>( color.w ) ), color.w );\n\n}\n\n\n\n\n@fragment\nfn main( @location( 0 ) nodeVarying0 : vec2<f32>,\n\t@builtin( position ) fragCoord : vec4<f32> ) -> OutputStruct {\n\tvar output : OutputStruct;\n\tvar nodeVar1 : vec4<f32>;\n\tvar nodeVar2 : vec4<f32>;\n\tvar nodeVar3 : vec4<f32>;\n\n\n\t// flow\n\t// code\n\n\tnodeVar0 = textureSample( nodeUniform0, nodeUniform0_sampler, nodeVarying0 );\n\tlet nodeConst0 = nodeVar0;\n\tnodeVar1 = textureSample( nodeUniform1, nodeUniform1_sampler, nodeVarying0 );\n\tlet nodeConst1 = nodeVar1;\n\tnodeVar2 = textureSample( nodeUniform2, nodeUniform2_sampler, ( fragCoord.xy / render.nodeUniform4 ) );\n\tlet nodeConst2 = ( ( nodeConst0 + nodeConst1 ).xyz + ( ( ( vec3<f32>( 1.0, 0.6795424696265424, 0.3515325994898463 ) * vec3<f32>( nodeVar2.x ) ) * vec3<f32>( 0.42 ) ) * clamp( ( vec3<f32>( 1.0 ) - ( nodeConst0 + nodeConst1 ).xyz ), vec3<f32>( 0.0 ), vec3<f32>( 1.0 ) ) ) );\n\tlet nodeConst3 = mix( nodeConst2, ( nodeConst2 * vec3<f32>( 0.66, 0.58, 0.62 ) ), ( smoothstep( 0.4, 0.98, length( ( ( ( fragCoord.xy / render.nodeUniform4 ) - vec2<f32>( 0.5 ) ) * vec2<f32>( 1.12, 1.0 ) ) ) ) * 0.55 ) );\n\tnodeVar3 = textureSample( nodeUniform3, nodeUniform3_sampler, ( fragCoord.xy / vec2<f32>( 716.8 ) ) );\n\tlet nodeConst4 = vec4<f32>( ( ( nodeConst3 + ( vec3<f32>( 0.024, 0.015, 0.027 ) * clamp( ( vec3<f32>( 1.0 ) - nodeConst3 ), vec3<f32>( 0.0 ), vec3<f32>( 1.0 ) ) ) ) * vec3<f32>( ( ( ( nodeVar3.x - 0.5 ) * 0.11 ) + 1.0 ) ) ), 1.0 );\n\tlet nodeConst5 = stable_fn0( vec4<f32>( nodeConst4.xyz, clamp( nodeConst4.w, 0.0, 1.0 ) ) );\n\n\t// result\n\n\toutput.color = stable_fn2( vec4<f32>( stable_fn1( nodeConst5.xyz ), nodeConst5.w ) );\n\n\treturn output;\n\n}\n"],"pipelines":[{"label":"renderPipeline_outputColorTransform","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":0},"targets":[{"format":"bgra8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":1}}}},{"label":"computePipeline_compute","sync":true,"descriptor":{"compute":{"entryPoint":"main","module":{"shader":2}},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{"type":"storage"},"visibility":4},{"binding":1,"buffer":{},"visibility":7},{"binding":2,"buffer":{"type":"storage"},"visibility":4}]}]}}},{"label":"mipmap-rgba8unorm-2d-array","sync":true,"descriptor":{"fragment":{"entryPoint":"main_2d_array","module":{"shader":3},"targets":[{"format":"rgba8unorm"}]},"layout":"auto","multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{},"vertex":{"module":{"shader":3}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":4},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":5}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":6},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":5}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":7},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":5}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":8},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":5}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":9},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":5}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":10},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":11}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":12},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":5}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":13},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":14}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":15},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":16}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":17},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":5}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":18},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":5}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":19},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":5}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":20},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":4}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":21}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":20},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":16,"attributes":[{"format":"float32x4","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":5}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":22}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":23},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":11}}}},{"label":"renderPipeline_ShadowMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":24},"targets":[{"format":"rgba8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":11}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":25},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":26}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":27},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":28}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":29},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":30}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":31},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":32}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":33},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":34}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":35},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{},"visibility":2},{"binding":4,"texture":{},"visibility":2},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":36}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":37},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{},"visibility":1},{"binding":4,"texture":{},"visibility":1}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":38}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":39},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":5}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":40}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":41},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":16,"attributes":[{"format":"float32x4","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":5}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":6}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":42}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":43},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"buffer":{"type":"read-only-storage"},"visibility":1},{"binding":2,"sampler":{},"visibility":1},{"binding":3,"texture":{},"visibility":1},{"binding":4,"buffer":{"type":"read-only-storage"},"visibility":1}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":16,"attributes":[{"format":"float32x4","offset":0,"shaderLocation":5}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":6}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":44}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":43},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"buffer":{"type":"read-only-storage"},"visibility":1},{"binding":2,"sampler":{},"visibility":1},{"binding":3,"texture":{},"visibility":1},{"binding":4,"buffer":{"type":"read-only-storage"},"visibility":1}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":16,"attributes":[{"format":"float32x4","offset":0,"shaderLocation":5}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":6}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":45}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":46},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{},"visibility":2},{"binding":4,"texture":{},"visibility":2},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":36}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":47},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":49},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":50}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":51},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":52},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":53},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":54},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":55},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":34}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":56},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{},"visibility":2},{"binding":4,"texture":{},"visibility":2},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":36}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":57},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":58},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":59},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":60},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":true,"count":4,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":29},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":30}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":41},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":16,"attributes":[{"format":"float32x4","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":5}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":6}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":42}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":61},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"buffer":{"type":"read-only-storage"},"visibility":1},{"binding":2,"buffer":{"type":"read-only-storage"},"visibility":1}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":16,"attributes":[{"format":"float32x4","offset":0,"shaderLocation":5}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":6}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":62}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":25},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":26}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":58},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":52},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":31},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":32}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":53},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":56},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{},"visibility":2},{"binding":4,"texture":{},"visibility":2},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":36}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":46},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{},"visibility":2},{"binding":4,"texture":{},"visibility":2},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":36}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":60},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":59},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":47},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":57},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":55},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":34}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":33},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":34}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":54},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":35},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{},"visibility":2},{"binding":4,"texture":{},"visibility":2},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":36}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":39},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":5}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":40}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":51},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7},{"binding":3,"sampler":{"type":"comparison"},"visibility":2},{"binding":4,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":48}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":49},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7},{"binding":5,"sampler":{"type":"comparison"},"visibility":2},{"binding":6,"texture":{"sampleType":"depth"},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"none","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":50}}}},{"label":"renderPipeline_NodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":false,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":63},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"cw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":64}}}},{"label":"renderPipeline_MeshBasicNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":65},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"sampler":{},"visibility":2},{"binding":5,"texture":{},"visibility":2},{"binding":6,"sampler":{},"visibility":2},{"binding":7,"texture":{},"visibility":2},{"binding":8,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":66}}}},{"label":"renderPipeline_NodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":false,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":63},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"cw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":64}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":false,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":67},"targets":[{"blend":{"alpha":{"dstFactor":"one","operation":"add","srcFactor":"one"},"color":{"dstFactor":"one","operation":"add","srcFactor":"one"}},"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"sampler":{},"visibility":2},{"binding":2,"texture":{},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"cw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":68}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":false,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":69},"targets":[{"blend":{"alpha":{"dstFactor":"one","operation":"add","srcFactor":"one"},"color":{"dstFactor":"one","operation":"add","srcFactor":"one"}},"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"sampler":{},"visibility":2},{"binding":2,"texture":{},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":68}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":false,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":70},"targets":[{"blend":{"alpha":{"dstFactor":"one","operation":"add","srcFactor":"zero"},"color":{"dstFactor":"one-minus-src-alpha","operation":"add","srcFactor":"dst"}},"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"sampler":{},"visibility":2},{"binding":2,"texture":{},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"cw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":71}}}},{"label":"renderPipeline_MeshLineSurfaceNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":false,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":72},"targets":[{"blend":{"alpha":{"dstFactor":"one","operation":"add","srcFactor":"zero"},"color":{"dstFactor":"one-minus-src-alpha","operation":"add","srcFactor":"dst"}},"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"sampler":{},"visibility":2},{"binding":2,"texture":{},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":2}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":71}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":false,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":73},"targets":[{"blend":{"alpha":{"dstFactor":"one-minus-src-alpha","operation":"add","srcFactor":"one"},"color":{"dstFactor":"one-minus-src-alpha","operation":"add","srcFactor":"src-alpha"}},"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"sampler":{},"visibility":2},{"binding":2,"texture":{},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":16,"attributes":[{"format":"float32x4","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":5}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":6}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":74}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":false,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":75},"targets":[{"blend":{"alpha":{"dstFactor":"one-minus-src-alpha","operation":"add","srcFactor":"one"},"color":{"dstFactor":"one-minus-src-alpha","operation":"add","srcFactor":"src-alpha"}},"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"buffer":{"type":"read-only-storage"},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"buffer":{"type":"read-only-storage"},"visibility":1}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":4}],"stepMode":"vertex"},{"arrayStride":16,"attributes":[{"format":"float32x4","offset":0,"shaderLocation":5}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":6}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":76}}}},{"label":"renderPipeline_MeshLineNodeMaterial","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":false,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":77},"targets":[{"blend":{"alpha":{"dstFactor":"one","operation":"add","srcFactor":"one"},"color":{"dstFactor":"one","operation":"add","srcFactor":"src-alpha"}},"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"buffer":{"type":"read-only-storage"},"visibility":1}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":4,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":0}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":1}],"stepMode":"vertex"},{"arrayStride":12,"attributes":[{"format":"float32x3","offset":0,"shaderLocation":2}],"stepMode":"vertex"},{"arrayStride":16,"attributes":[{"format":"float32x4","offset":0,"shaderLocation":3}],"stepMode":"vertex"},{"arrayStride":4,"attributes":[{"format":"float32","offset":0,"shaderLocation":4}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":78}}}},{"label":"renderPipeline_Bloom_highPass","descriptor":{"fragment":{"entryPoint":"main","module":{"shader":79},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":80}}}},{"label":"renderPipeline_Bloom_separable","descriptor":{"fragment":{"entryPoint":"main","module":{"shader":81},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":80}}}},{"label":"renderPipeline_Bloom_separable","descriptor":{"fragment":{"entryPoint":"main","module":{"shader":82},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":80}}}},{"label":"renderPipeline_Bloom_separable","descriptor":{"fragment":{"entryPoint":"main","module":{"shader":83},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":80}}}},{"label":"renderPipeline_Bloom_separable","descriptor":{"fragment":{"entryPoint":"main","module":{"shader":84},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":80}}}},{"label":"renderPipeline_Bloom_separable","descriptor":{"fragment":{"entryPoint":"main","module":{"shader":85},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"buffer":{},"visibility":7}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":80}}}},{"label":"renderPipeline_Bloom_comp","descriptor":{"fragment":{"entryPoint":"main","module":{"shader":86},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"buffer":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"sampler":{},"visibility":2},{"binding":5,"texture":{},"visibility":2},{"binding":6,"sampler":{},"visibility":2},{"binding":7,"texture":{},"visibility":2},{"binding":8,"sampler":{},"visibility":2},{"binding":9,"texture":{},"visibility":2},{"binding":10,"sampler":{},"visibility":2},{"binding":11,"texture":{},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":80}}}},{"label":"renderPipeline_RTT","descriptor":{"fragment":{"entryPoint":"main","module":{"shader":87},"targets":[{"format":"rgba16float","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"buffer":{},"visibility":7},{"binding":1,"sampler":{},"visibility":2},{"binding":2,"texture":{},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[],"entryPoint":"main","module":{"shader":88}}}},{"label":"renderPipeline_RenderPipeline","descriptor":{"depthStencil":{"depthCompare":"less-equal","depthWriteEnabled":true,"format":"depth24plus"},"fragment":{"entryPoint":"main","module":{"shader":89},"targets":[{"format":"bgra8unorm","writeMask":15}]},"layout":{"bindGroupLayouts":[{"entries":[{"binding":0,"buffer":{},"visibility":7}]},{"entries":[{"binding":0,"sampler":{},"visibility":2},{"binding":1,"texture":{},"visibility":2},{"binding":2,"sampler":{},"visibility":2},{"binding":3,"texture":{},"visibility":2},{"binding":4,"sampler":{},"visibility":2},{"binding":5,"texture":{},"visibility":2},{"binding":6,"sampler":{},"visibility":2},{"binding":7,"texture":{},"visibility":2}]}]},"multisample":{"alphaToCoverageEnabled":false,"count":1,"mask":4294967295},"primitive":{"cullMode":"back","frontFace":"ccw","topology":"triangle-list"},"vertex":{"buffers":[{"arrayStride":8,"attributes":[{"format":"float32x2","offset":0,"shaderLocation":0}],"stepMode":"vertex"}],"entryPoint":"main","module":{"shader":80}}}}]}
