// vp_foliage (no workaround) // ------------------------------------------------------------------------------ GLSL source for vertex shader 396: varying vec4 webgl_78aca2302df3d888; varying vec4 webgl_cd5d739a89442851[3]; attribute vec4 webgl_745b1a8d96d5b871; attribute vec4 webgl_bb4939001653a9bd; attribute vec4 webgl_c210d954aadc9fe1; attribute vec4 webgl_3dca3ec0da672a6f; vec4 webgl_745c2e2e8d0c6a13; vec4 webgl_3045ea8ea7c7c064; vec4 webgl_95535f73dfb5f06a; vec4 webgl_16f4f8330ff7f589; float webgl_74478b9a0cf8216b; vec4 webgl_49807ae688a017de; float webgl_526f6e472c396384; float webgl_4e13c4c93c00e517; float webgl_22d81cb00869b9a2; float webgl_2d43583dbf546f1f; float webgl_4cc6584a02565097; vec4 webgl_67f553dd0826dd25; float webgl_460f2c6181af89a8; float webgl_37875316a0927d41; float webgl_c5dbf84c6d47e2b9; float webgl_2b53844e6c1bcd9b; float webgl_4036782e7b2277ea; float webgl_ebd907ded7737be7; float webgl_1d756a5651e45800; float webgl_18a5cc8af45b08e1; float webgl_737d8ab4e249a6e; float webgl_3fe39558d14f1ebf; float webgl_23f9b362ce2fb0d3; float webgl_6ceba4f76b24a1fd; float webgl_c9ba1b6ef9006bea; vec2 webgl_9de92215c25a272d; float webgl_547144534b41d6bc; float webgl_626efebbe738026c; float webgl_8c10868a397601d8; float webgl_b733f66be4485cfa; float webgl_d711f7a5c5c20aa1; float webgl_6493a3c573b1bc76; float webgl_a31528400cca282b; float webgl_58bb0cda05bfd2ca; float webgl_b97dba4bb026e9fe; uniform float webgl_ef39924cf32fce32; uniform float webgl_cedb38096e1a4e45; uniform sampler2D webgl_cd5d398b775910c4; uniform vec4 webgl_32327e0b537619bc[4]; uniform vec4 webgl_2d0b63a3e379bbda; uniform vec3 webgl_d5d3009459bd2bf3; uniform vec3 webgl_b215a9d338884fee; uniform vec3 webgl_83b366b8bfed4c90; uniform vec4 webgl_c40d86917598e4ab[2]; uniform float webgl_91242d0d295e4a40; uniform float webgl_a9bc5b43a137802e; uniform vec4 webgl_45cce8cf9597d10b; uniform float webgl_5efa8fc582d794d; uniform sampler2D webgl_1761ed58140faf78; uniform float webgl_5bdde3acb0e02495; uniform float webgl_18d216830adc1b7c; uniform float webgl_f6c5e7db7da17ecf; uniform float webgl_64a3e1f17b380b4b; uniform float webgl_85cf36c9a052cd8e; uniform float webgl_337c5ce2feaa7b7f; uniform float webgl_92ac58be826e6706; void main(){ vec3 webgl_9f5732f509c34d7f; float webgl_993a725872ab3226; float webgl_d4f4a630f456139e; float webgl_80738eef987aa24d; float webgl_db7c360f92cf348f; vec3 webgl_edb90c5a67740fb5; float webgl_b5ff3c84ab2ea931; vec3 webgl_ede88356f5fca216; vec2 webgl_75b84a54c4f084e; vec3 webgl_9d09f8b4c8c0f838; (webgl_9f5732f509c34d7f = (webgl_2d0b63a3e379bbda.xyz + ((webgl_745b1a8d96d5b871.xyz * 0.0099999998) * webgl_2d0b63a3e379bbda.w))); (webgl_993a725872ab3226 = (1.0 / webgl_2d0b63a3e379bbda.w)); (webgl_16f4f8330ff7f589.x = (webgl_c210d954aadc9fe1.y * 0.0039215689)); (webgl_16f4f8330ff7f589.y = (webgl_c210d954aadc9fe1.z * 0.0039215689)); (webgl_16f4f8330ff7f589.z = webgl_c210d954aadc9fe1.x); (webgl_d4f4a630f456139e = ((webgl_9f5732f509c34d7f.x * webgl_f6c5e7db7da17ecf) * webgl_993a725872ab3226)); (webgl_2b53844e6c1bcd9b = (webgl_d4f4a630f456139e + (webgl_5bdde3acb0e02495 * webgl_91242d0d295e4a40))); (webgl_c5dbf84c6d47e2b9 = sin(webgl_2b53844e6c1bcd9b)); (webgl_80738eef987aa24d = (webgl_c5dbf84c6d47e2b9 * webgl_993a725872ab3226)); (webgl_db7c360f92cf348f = ((((webgl_9f5732f509c34d7f.y - (webgl_c210d954aadc9fe1.w * webgl_2d0b63a3e379bbda.w)) * webgl_18d216830adc1b7c) * webgl_80738eef987aa24d) * webgl_3dca3ec0da672a6f.w)); (webgl_9f5732f509c34d7f.x = (webgl_9f5732f509c34d7f.x + webgl_db7c360f92cf348f)); (webgl_9f5732f509c34d7f.z = (webgl_9f5732f509c34d7f.z + webgl_db7c360f92cf348f)); (webgl_3045ea8ea7c7c064 = ((((webgl_9f5732f509c34d7f.xxxx * webgl_32327e0b537619bc[0]) + (webgl_9f5732f509c34d7f.yyyy * webgl_32327e0b537619bc[1])) + (webgl_9f5732f509c34d7f.zzzz * webgl_32327e0b537619bc[2])) + webgl_32327e0b537619bc[3])); (webgl_37875316a0927d41 = dot(vec3(0.0, 1.0, 0.0), webgl_c40d86917598e4ab[0].xyz)); (webgl_ebd907ded7737be7 = (-webgl_37875316a0927d41)); (webgl_4e13c4c93c00e517 = min(1.0, webgl_ebd907ded7737be7)); (webgl_1d756a5651e45800 = max(0.0, webgl_4e13c4c93c00e517)); (webgl_4036782e7b2277ea = (1.0 + (webgl_a9bc5b43a137802e * (webgl_1d756a5651e45800 - 1.0)))); (webgl_edb90c5a67740fb5 = (webgl_c40d86917598e4ab[1].xyz * webgl_4036782e7b2277ea)); (webgl_737d8ab4e249a6e = (webgl_ef39924cf32fce32 * webgl_bb4939001653a9bd.w)); (webgl_18a5cc8af45b08e1 = pow(2.718282, webgl_737d8ab4e249a6e)); (webgl_460f2c6181af89a8 = ((webgl_18a5cc8af45b08e1 - 1.0) * webgl_cedb38096e1a4e45)); (webgl_b5ff3c84ab2ea931 = (webgl_460f2c6181af89a8 * ((1.0 - webgl_92ac58be826e6706) + (webgl_92ac58be826e6706 * webgl_80738eef987aa24d)))); (webgl_9de92215c25a272d = ((webgl_9f5732f509c34d7f.xz - webgl_45cce8cf9597d10b.xy) * webgl_45cce8cf9597d10b.zw)); (webgl_67f553dd0826dd25 = texture2D(webgl_1761ed58140faf78, webgl_9de92215c25a272d)); (webgl_3fe39558d14f1ebf = (webgl_67f553dd0826dd25.x * webgl_5efa8fc582d794d)); (webgl_23f9b362ce2fb0d3 = (webgl_9f5732f509c34d7f.y * 0.00390625)); (webgl_6ceba4f76b24a1fd = (webgl_67f553dd0826dd25.y / webgl_67f553dd0826dd25.x)); (webgl_4cc6584a02565097 = float((webgl_23f9b362ce2fb0d3 >= webgl_6ceba4f76b24a1fd))); (webgl_c9ba1b6ef9006bea = ((webgl_4cc6584a02565097 * 5.0500002) - 0.050000001)); (webgl_547144534b41d6bc = (1.0 - (webgl_c9ba1b6ef9006bea * (webgl_23f9b362ce2fb0d3 - webgl_6ceba4f76b24a1fd)))); (webgl_4e13c4c93c00e517 = min(1.0, webgl_547144534b41d6bc)); (webgl_626efebbe738026c = max(0.0, webgl_4e13c4c93c00e517)); (webgl_8c10868a397601d8 = (webgl_3fe39558d14f1ebf * webgl_626efebbe738026c)); (webgl_4e13c4c93c00e517 = min(1.0, webgl_8c10868a397601d8)); (webgl_b733f66be4485cfa = max(0.0, webgl_4e13c4c93c00e517)); (webgl_2d43583dbf546f1f = (1.0 - webgl_b733f66be4485cfa)); (webgl_b5ff3c84ab2ea931 = (webgl_b5ff3c84ab2ea931 * webgl_2d43583dbf546f1f)); (webgl_ede88356f5fca216 = ((webgl_bb4939001653a9bd.xyz + (webgl_bb4939001653a9bd.w * webgl_b215a9d338884fee)) + ((webgl_b5ff3c84ab2ea931 * webgl_337c5ce2feaa7b7f) * webgl_edb90c5a67740fb5))); (webgl_745c2e2e8d0c6a13.xyz = ((webgl_3dca3ec0da672a6f.xyz * webgl_ede88356f5fca216) * 2.0)); (webgl_75b84a54c4f084e = (webgl_3045ea8ea7c7c064.xy / webgl_3045ea8ea7c7c064.w)); (webgl_9d09f8b4c8c0f838 = (webgl_9f5732f509c34d7f - webgl_d5d3009459bd2bf3)); (webgl_22d81cb00869b9a2 = length(webgl_9d09f8b4c8c0f838)); (webgl_16f4f8330ff7f589.w = webgl_22d81cb00869b9a2); (webgl_d711f7a5c5c20aa1 = ((webgl_22d81cb00869b9a2 - webgl_83b366b8bfed4c90.x) * webgl_83b366b8bfed4c90.y)); (webgl_4e13c4c93c00e517 = min(1.0, webgl_d711f7a5c5c20aa1)); (webgl_6493a3c573b1bc76 = max(0.0, webgl_4e13c4c93c00e517)); (webgl_95535f73dfb5f06a.x = (1.0 - (webgl_6493a3c573b1bc76 * webgl_83b366b8bfed4c90.z))); (webgl_a31528400cca282b = ((webgl_22d81cb00869b9a2 - webgl_64a3e1f17b380b4b) / (webgl_85cf36c9a052cd8e - webgl_64a3e1f17b380b4b))); (webgl_4e13c4c93c00e517 = min(1.0, webgl_a31528400cca282b)); (webgl_58bb0cda05bfd2ca = max(0.0, webgl_4e13c4c93c00e517)); (webgl_b97dba4bb026e9fe = (1.0 - webgl_58bb0cda05bfd2ca)); (webgl_745c2e2e8d0c6a13.w = max(webgl_745b1a8d96d5b871.w, webgl_b97dba4bb026e9fe)); if ((webgl_22d81cb00869b9a2 < -10.0)) { (webgl_75b84a54c4f084e = vec2(0.0, 0.0)); } (webgl_526f6e472c396384 = min(webgl_95535f73dfb5f06a.x, webgl_745c2e2e8d0c6a13.w)); if ((webgl_526f6e472c396384 < 0.0040000002)) { (webgl_3045ea8ea7c7c064.xy = webgl_75b84a54c4f084e); (webgl_3045ea8ea7c7c064.z = 2.0); (webgl_3045ea8ea7c7c064.w = 1.0); } (webgl_95535f73dfb5f06a.yzw = webgl_9f5732f509c34d7f); (webgl_49807ae688a017de = texture2D(webgl_cd5d398b775910c4, vec2(0.5, 0.5))); (webgl_74478b9a0cf8216b = webgl_49807ae688a017de.x); (webgl_cd5d739a89442851[2].x = webgl_49807ae688a017de.x); (webgl_cd5d739a89442851[0] = webgl_16f4f8330ff7f589); (webgl_cd5d739a89442851[1] = webgl_95535f73dfb5f06a); (gl_Position = webgl_3045ea8ea7c7c064); (webgl_78aca2302df3d888 = webgl_745c2e2e8d0c6a13); } GLSL IR for shader 396: ( (declare (shader_in ) float gl_FogCoord) (declare (shader_in ) vec4 gl_MultiTexCoord7) (declare (shader_in ) vec4 gl_MultiTexCoord6) (declare (shader_in ) vec4 gl_MultiTexCoord5) (declare (shader_in ) vec4 gl_MultiTexCoord4) (declare (shader_in ) vec4 gl_MultiTexCoord3) (declare (shader_in ) vec4 gl_MultiTexCoord2) (declare (shader_in ) vec4 gl_MultiTexCoord1) (declare (shader_in ) vec4 gl_MultiTexCoord0) (declare (shader_in ) vec4 gl_SecondaryColor) (declare (shader_in ) vec4 gl_Color) (declare (shader_in ) vec3 gl_Normal) (declare (shader_in ) vec4 gl_Vertex) (declare (shader_out ) vec4 gl_BackSecondaryColor) (declare (shader_out ) vec4 gl_FrontSecondaryColor) (declare (shader_out ) vec4 gl_BackColor) (declare (shader_out ) vec4 gl_FrontColor) (declare (shader_out ) vec4 gl_ClipVertex) (declare (shader_out ) float gl_FogFragCoord) (declare (shader_out ) (array vec4 0) gl_TexCoord) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) gl_FogParameters gl_Fog) (declare (uniform ) (array vec4 8) gl_ObjectPlaneQ) (declare (uniform ) (array vec4 8) gl_ObjectPlaneR) (declare (uniform ) (array vec4 8) gl_ObjectPlaneT) (declare (uniform ) (array vec4 8) gl_ObjectPlaneS) (declare (uniform ) (array vec4 8) gl_EyePlaneQ) (declare (uniform ) (array vec4 8) gl_EyePlaneR) (declare (uniform ) (array vec4 8) gl_EyePlaneT) (declare (uniform ) (array vec4 8) gl_EyePlaneS) (declare (uniform ) (array vec4 8) gl_TextureEnvColor) (declare (uniform ) (array gl_LightProducts 8) gl_BackLightProduct) (declare (uniform ) (array gl_LightProducts 8) gl_FrontLightProduct) (declare (uniform ) gl_LightModelProducts gl_BackLightModelProduct) (declare (uniform ) gl_LightModelProducts gl_FrontLightModelProduct) (declare (uniform ) (array gl_LightSourceParameters 8) gl_LightSource) (declare (uniform ) gl_MaterialParameters gl_BackMaterial) (declare (uniform ) gl_MaterialParameters gl_FrontMaterial) (declare (uniform ) gl_PointParameters gl_Point) (declare (uniform ) (array vec4 8) gl_ClipPlane) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverseTranspose) (declare (uniform ) (array mat4 8) gl_TextureMatrixTranspose) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverse) (declare (uniform ) (array mat4 8) gl_TextureMatrix) (declare (uniform ) vec4 gl_FogParamsOptimizedMESA) (declare (uniform ) gl_LightModelParameters gl_LightModel) (declare (uniform ) float gl_NormalScale) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverseTranspose) (declare (uniform ) mat4 gl_ProjectionMatrixInverseTranspose) (declare (uniform ) mat4 gl_ModelViewMatrixInverseTranspose) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixTranspose) (declare (uniform ) mat4 gl_ProjectionMatrixTranspose) (declare (uniform ) mat4 gl_ModelViewMatrixTranspose) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverse) (declare (uniform ) mat4 gl_ProjectionMatrixInverse) (declare (uniform ) mat4 gl_ModelViewMatrixInverse) (declare (uniform ) mat3 gl_NormalMatrix) (declare (uniform ) mat4 gl_ModelViewProjectionMatrix) (declare (uniform ) mat4 gl_ProjectionMatrix) (declare (uniform ) mat4 gl_ModelViewMatrix) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxTextureCoords) (declare () int gl_MaxTextureUnits) (declare () int gl_MaxClipPlanes) (declare () int gl_MaxLights) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_out ) vec4 webgl_78aca2302df3d888) (declare (shader_out ) (array vec4 3) webgl_cd5d739a89442851) (declare (shader_in ) vec4 webgl_745b1a8d96d5b871) (declare (shader_in ) vec4 webgl_bb4939001653a9bd) (declare (shader_in ) vec4 webgl_c210d954aadc9fe1) (declare (shader_in ) vec4 webgl_3dca3ec0da672a6f) (declare () vec4 webgl_745c2e2e8d0c6a13) (declare () vec4 webgl_3045ea8ea7c7c064) (declare () vec4 webgl_95535f73dfb5f06a) (declare () vec4 webgl_16f4f8330ff7f589) (declare () float webgl_74478b9a0cf8216b) (declare () vec4 webgl_49807ae688a017de) (declare () float webgl_526f6e472c396384) (declare () float webgl_4e13c4c93c00e517) (declare () float webgl_22d81cb00869b9a2) (declare () float webgl_2d43583dbf546f1f) (declare () float webgl_4cc6584a02565097) (declare () vec4 webgl_67f553dd0826dd25) (declare () float webgl_460f2c6181af89a8) (declare () float webgl_37875316a0927d41) (declare () float webgl_c5dbf84c6d47e2b9) (declare () float webgl_2b53844e6c1bcd9b) (declare () float webgl_4036782e7b2277ea) (declare () float webgl_ebd907ded7737be7) (declare () float webgl_1d756a5651e45800) (declare () float webgl_18a5cc8af45b08e1) (declare () float webgl_737d8ab4e249a6e) (declare () float webgl_3fe39558d14f1ebf) (declare () float webgl_23f9b362ce2fb0d3) (declare () float webgl_6ceba4f76b24a1fd) (declare () float webgl_c9ba1b6ef9006bea) (declare () vec2 webgl_9de92215c25a272d) (declare () float webgl_547144534b41d6bc) (declare () float webgl_626efebbe738026c) (declare () float webgl_8c10868a397601d8) (declare () float webgl_b733f66be4485cfa) (declare () float webgl_d711f7a5c5c20aa1) (declare () float webgl_6493a3c573b1bc76) (declare () float webgl_a31528400cca282b) (declare () float webgl_58bb0cda05bfd2ca) (declare () float webgl_b97dba4bb026e9fe) (declare (uniform ) float webgl_ef39924cf32fce32) (declare (uniform ) float webgl_cedb38096e1a4e45) (declare (uniform ) sampler2D webgl_cd5d398b775910c4) (declare (uniform ) (array vec4 4) webgl_32327e0b537619bc) (declare (uniform ) vec4 webgl_2d0b63a3e379bbda) (declare (uniform ) vec3 webgl_d5d3009459bd2bf3) (declare (uniform ) vec3 webgl_b215a9d338884fee) (declare (uniform ) vec3 webgl_83b366b8bfed4c90) (declare (uniform ) (array vec4 2) webgl_c40d86917598e4ab) (declare (uniform ) float webgl_91242d0d295e4a40) (declare (uniform ) float webgl_a9bc5b43a137802e) (declare (uniform ) vec4 webgl_45cce8cf9597d10b) (declare (uniform ) float webgl_5efa8fc582d794d) (declare (uniform ) sampler2D webgl_1761ed58140faf78) (declare (uniform ) float webgl_5bdde3acb0e02495) (declare (uniform ) float webgl_18d216830adc1b7c) (declare (uniform ) float webgl_f6c5e7db7da17ecf) (declare (uniform ) float webgl_64a3e1f17b380b4b) (declare (uniform ) float webgl_85cf36c9a052cd8e) (declare (uniform ) float webgl_337c5ce2feaa7b7f) (declare (uniform ) float webgl_92ac58be826e6706) (function main (signature void (parameters ) ( (declare () vec2 webgl_75b84a54c4f084e) (declare () float webgl_b5ff3c84ab2ea931) (declare () vec3 webgl_edb90c5a67740fb5) (declare () float webgl_db7c360f92cf348f) (declare () float webgl_80738eef987aa24d) (declare () float webgl_993a725872ab3226) (declare () vec3 webgl_9f5732f509c34d7f) (assign (xyz) (var_ref webgl_9f5732f509c34d7f) (expression vec3 + (swiz xyz (var_ref webgl_2d0b63a3e379bbda) )(expression vec3 * (expression vec3 * (swiz xyz (var_ref webgl_745b1a8d96d5b871) )(constant float (0.010000)) ) (swiz w (var_ref webgl_2d0b63a3e379bbda) )) ) ) (assign (x) (var_ref webgl_993a725872ab3226) (expression float rcp (swiz w (var_ref webgl_2d0b63a3e379bbda) )) ) (assign (x) (var_ref webgl_16f4f8330ff7f589) (expression float * (swiz y (var_ref webgl_c210d954aadc9fe1) )(constant float (0.003922)) ) ) (assign (y) (var_ref webgl_16f4f8330ff7f589) (expression float * (swiz z (var_ref webgl_c210d954aadc9fe1) )(constant float (0.003922)) ) ) (assign (z) (var_ref webgl_16f4f8330ff7f589) (swiz x (var_ref webgl_c210d954aadc9fe1) )) (declare (temporary ) float sin_retval) (call sin (var_ref sin_retval) ((expression float + (expression float * (expression float * (swiz x (var_ref webgl_9f5732f509c34d7f) )(var_ref webgl_f6c5e7db7da17ecf) ) (var_ref webgl_993a725872ab3226) ) (expression float * (var_ref webgl_5bdde3acb0e02495) (var_ref webgl_91242d0d295e4a40) ) ) )) (assign (x) (var_ref webgl_c5dbf84c6d47e2b9) (var_ref sin_retval) ) (assign (x) (var_ref webgl_80738eef987aa24d) (expression float * (var_ref sin_retval) (var_ref webgl_993a725872ab3226) ) ) (assign (x) (var_ref webgl_db7c360f92cf348f) (expression float * (expression float * (expression float * (expression float + (swiz y (var_ref webgl_9f5732f509c34d7f) )(expression float neg (expression float * (swiz w (var_ref webgl_c210d954aadc9fe1) )(swiz w (var_ref webgl_2d0b63a3e379bbda) )) ) ) (var_ref webgl_18d216830adc1b7c) ) (var_ref webgl_80738eef987aa24d) ) (swiz w (var_ref webgl_3dca3ec0da672a6f) )) ) (assign (x) (var_ref webgl_9f5732f509c34d7f) (expression float + (swiz x (var_ref webgl_9f5732f509c34d7f) )(var_ref webgl_db7c360f92cf348f) ) ) (assign (z) (var_ref webgl_9f5732f509c34d7f) (expression float + (swiz z (var_ref webgl_9f5732f509c34d7f) )(var_ref webgl_db7c360f92cf348f) ) ) (assign (xyzw) (var_ref webgl_3045ea8ea7c7c064) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (swiz xxxx (var_ref webgl_9f5732f509c34d7f) )(array_ref (var_ref webgl_32327e0b537619bc) (constant int (0)) ) ) (expression vec4 * (swiz yyyy (var_ref webgl_9f5732f509c34d7f) )(array_ref (var_ref webgl_32327e0b537619bc) (constant int (1)) ) ) ) (expression vec4 * (swiz zzzz (var_ref webgl_9f5732f509c34d7f) )(array_ref (var_ref webgl_32327e0b537619bc) (constant int (2)) ) ) ) (array_ref (var_ref webgl_32327e0b537619bc) (constant int (3)) ) ) ) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((constant vec3 (0.000000 1.000000 0.000000)) (swiz xyz (array_ref (var_ref webgl_c40d86917598e4ab) (constant int (0)) ) ))) (assign (x) (var_ref webgl_37875316a0927d41) (var_ref dot_retval) ) (declare (temporary ) float min_retval) (call min (var_ref min_retval) ((constant float (1.000000)) (expression float neg (var_ref dot_retval) ) )) (assign (x) (var_ref webgl_4e13c4c93c00e517) (var_ref min_retval) ) (declare (temporary ) float max_retval) (call max (var_ref max_retval) ((constant float (0.000000)) (var_ref min_retval) )) (assign (x) (var_ref webgl_1d756a5651e45800) (var_ref max_retval) ) (assign (xyz) (var_ref webgl_edb90c5a67740fb5) (expression vec3 * (swiz xyz (array_ref (var_ref webgl_c40d86917598e4ab) (constant int (1)) ) )(expression float + (constant float (1.000000)) (expression float * (var_ref webgl_a9bc5b43a137802e) (expression float + (var_ref max_retval) (constant float (-1.000000)) ) ) ) ) ) (declare (temporary ) float pow_retval) (call pow (var_ref pow_retval) ((constant float (2.718282)) (expression float * (var_ref webgl_ef39924cf32fce32) (swiz w (var_ref webgl_bb4939001653a9bd) )) )) (assign (x) (var_ref webgl_18a5cc8af45b08e1) (var_ref pow_retval) ) (assign (x) (var_ref webgl_b5ff3c84ab2ea931) (expression float * (expression float * (expression float + (var_ref pow_retval) (constant float (-1.000000)) ) (var_ref webgl_cedb38096e1a4e45) ) (expression float + (expression float + (constant float (1.000000)) (expression float neg (var_ref webgl_92ac58be826e6706) ) ) (expression float * (var_ref webgl_92ac58be826e6706) (var_ref webgl_80738eef987aa24d) ) ) ) ) (declare (temporary ) vec4 texture2D_retval) (call texture2D (var_ref texture2D_retval) ((var_ref webgl_1761ed58140faf78) (expression vec2 * (expression vec2 + (swiz xz (var_ref webgl_9f5732f509c34d7f) )(expression vec2 neg (swiz xy (var_ref webgl_45cce8cf9597d10b) )) ) (swiz zw (var_ref webgl_45cce8cf9597d10b) )) )) (assign (xyzw) (var_ref webgl_67f553dd0826dd25) (var_ref texture2D_retval) ) (assign (x) (var_ref webgl_3fe39558d14f1ebf) (expression float * (swiz x (var_ref texture2D_retval) )(var_ref webgl_5efa8fc582d794d) ) ) (assign (x) (var_ref webgl_23f9b362ce2fb0d3) (expression float * (swiz y (var_ref webgl_9f5732f509c34d7f) )(constant float (0.003906)) ) ) (assign (x) (var_ref webgl_6ceba4f76b24a1fd) (expression float / (swiz y (var_ref texture2D_retval) )(swiz x (var_ref texture2D_retval) )) ) (declare (temporary ) float min_retval@5800) (call min (var_ref min_retval@5800) ((constant float (1.000000)) (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float + (expression float * (expression float b2f (expression bool >= (var_ref webgl_23f9b362ce2fb0d3) (var_ref webgl_6ceba4f76b24a1fd) ) ) (constant float (5.050000)) ) (expression float neg (constant float (0.050000)) ) ) (expression float + (var_ref webgl_23f9b362ce2fb0d3) (expression float neg (var_ref webgl_6ceba4f76b24a1fd) ) ) ) ) ) )) (assign (x) (var_ref webgl_4e13c4c93c00e517) (var_ref min_retval@5800) ) (declare (temporary ) float max_retval@5801) (call max (var_ref max_retval@5801) ((constant float (0.000000)) (var_ref min_retval@5800) )) (assign (x) (var_ref webgl_626efebbe738026c) (var_ref max_retval@5801) ) (declare (temporary ) float min_retval@5802) (call min (var_ref min_retval@5802) ((constant float (1.000000)) (expression float * (var_ref webgl_3fe39558d14f1ebf) (var_ref max_retval@5801) ) )) (assign (x) (var_ref webgl_4e13c4c93c00e517) (var_ref min_retval@5802) ) (declare (temporary ) float max_retval@5803) (call max (var_ref max_retval@5803) ((constant float (0.000000)) (var_ref min_retval@5802) )) (assign (x) (var_ref webgl_b733f66be4485cfa) (var_ref max_retval@5803) ) (assign (x) (var_ref webgl_b5ff3c84ab2ea931) (expression float * (var_ref webgl_b5ff3c84ab2ea931) (expression float + (constant float (1.000000)) (expression float neg (var_ref max_retval@5803) ) ) ) ) (assign (xyz) (var_ref webgl_745c2e2e8d0c6a13) (expression vec3 * (expression vec3 * (swiz xyz (var_ref webgl_3dca3ec0da672a6f) )(expression vec3 + (expression vec3 + (swiz xyz (var_ref webgl_bb4939001653a9bd) )(expression vec3 * (swiz w (var_ref webgl_bb4939001653a9bd) )(var_ref webgl_b215a9d338884fee) ) ) (expression vec3 * (expression float * (var_ref webgl_b5ff3c84ab2ea931) (var_ref webgl_337c5ce2feaa7b7f) ) (var_ref webgl_edb90c5a67740fb5) ) ) ) (constant float (2.000000)) ) ) (assign (xy) (var_ref webgl_75b84a54c4f084e) (expression vec2 / (swiz xy (var_ref webgl_3045ea8ea7c7c064) )(swiz w (var_ref webgl_3045ea8ea7c7c064) )) ) (declare (temporary ) float length_retval) (call length (var_ref length_retval) ((expression vec3 + (var_ref webgl_9f5732f509c34d7f) (expression vec3 neg (var_ref webgl_d5d3009459bd2bf3) ) ) )) (assign (x) (var_ref webgl_22d81cb00869b9a2) (var_ref length_retval) ) (assign (w) (var_ref webgl_16f4f8330ff7f589) (var_ref length_retval) ) (declare (temporary ) float min_retval@5804) (call min (var_ref min_retval@5804) ((constant float (1.000000)) (expression float * (expression float + (var_ref length_retval) (expression float neg (swiz x (var_ref webgl_83b366b8bfed4c90) )) ) (swiz y (var_ref webgl_83b366b8bfed4c90) )) )) (assign (x) (var_ref webgl_4e13c4c93c00e517) (var_ref min_retval@5804) ) (declare (temporary ) float max_retval@5805) (call max (var_ref max_retval@5805) ((constant float (0.000000)) (var_ref min_retval@5804) )) (assign (x) (var_ref webgl_6493a3c573b1bc76) (var_ref max_retval@5805) ) (assign (x) (var_ref webgl_95535f73dfb5f06a) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref max_retval@5805) (swiz z (var_ref webgl_83b366b8bfed4c90) )) ) ) ) (declare (temporary ) float min_retval@5806) (call min (var_ref min_retval@5806) ((constant float (1.000000)) (expression float / (expression float + (var_ref webgl_22d81cb00869b9a2) (expression float neg (var_ref webgl_64a3e1f17b380b4b) ) ) (expression float + (var_ref webgl_85cf36c9a052cd8e) (expression float neg (var_ref webgl_64a3e1f17b380b4b) ) ) ) )) (assign (x) (var_ref webgl_4e13c4c93c00e517) (var_ref min_retval@5806) ) (declare (temporary ) float max_retval@5807) (call max (var_ref max_retval@5807) ((constant float (0.000000)) (var_ref min_retval@5806) )) (assign (x) (var_ref webgl_58bb0cda05bfd2ca) (var_ref max_retval@5807) ) (declare (temporary ) float max_retval@5808) (call max (var_ref max_retval@5808) ((swiz w (var_ref webgl_745b1a8d96d5b871) )(expression float + (constant float (1.000000)) (expression float neg (var_ref max_retval@5807) ) ) )) (assign (w) (var_ref webgl_745c2e2e8d0c6a13) (var_ref max_retval@5808) ) (if (expression bool < (var_ref webgl_22d81cb00869b9a2) (constant float (-10.000000)) ) ( (assign (xy) (var_ref webgl_75b84a54c4f084e) (constant vec2 (0.000000 0.000000)) ) ) ()) (declare (temporary ) float min_retval@5809) (call min (var_ref min_retval@5809) ((swiz x (var_ref webgl_95535f73dfb5f06a) )(swiz w (var_ref webgl_745c2e2e8d0c6a13) ))) (assign (x) (var_ref webgl_526f6e472c396384) (var_ref min_retval@5809) ) (if (expression bool < (var_ref min_retval@5809) (constant float (0.004000)) ) ( (assign (xy) (var_ref webgl_3045ea8ea7c7c064) (var_ref webgl_75b84a54c4f084e) ) (assign (z) (var_ref webgl_3045ea8ea7c7c064) (constant float (2.000000)) ) (assign (w) (var_ref webgl_3045ea8ea7c7c064) (constant float (1.000000)) ) ) ()) (assign (yzw) (var_ref webgl_95535f73dfb5f06a) (var_ref webgl_9f5732f509c34d7f) ) (declare (temporary ) vec4 texture2D_retval@5810) (call texture2D (var_ref texture2D_retval@5810) ((var_ref webgl_cd5d398b775910c4) (constant vec2 (0.500000 0.500000)) )) (assign (xyzw) (var_ref webgl_49807ae688a017de) (var_ref texture2D_retval@5810) ) (assign (x) (var_ref webgl_74478b9a0cf8216b) (swiz x (var_ref texture2D_retval@5810) )) (assign (x) (array_ref (var_ref webgl_cd5d739a89442851) (constant int (2)) ) (swiz x (var_ref texture2D_retval@5810) )) (assign (xyzw) (array_ref (var_ref webgl_cd5d739a89442851) (constant int (0)) ) (var_ref webgl_16f4f8330ff7f589) ) (assign (xyzw) (array_ref (var_ref webgl_cd5d739a89442851) (constant int (1)) ) (var_ref webgl_95535f73dfb5f06a) ) (assign (xyzw) (var_ref gl_Position) (var_ref webgl_3045ea8ea7c7c064) ) (assign (xyzw) (var_ref webgl_78aca2302df3d888) (var_ref webgl_745c2e2e8d0c6a13) ) )) ) // vp_voxel_water (with workaround) // ------------------------------------------------------------------------------ GLSL source for vertex shader 403: varying vec4 webgl_78aca2302df3d888; varying vec4 webgl_cd5d739a89442851[4]; attribute vec4 webgl_745b1a8d96d5b871; attribute vec4 webgl_bb4939001653a9bd; attribute vec4 webgl_c210d954aadc9fe1; vec4 webgl_745c2e2e8d0c6a13; vec4 webgl_3045ea8ea7c7c064; vec4 webgl_3bcb0d8577f6dfe3; vec4 webgl_74e096030bd6110f; vec4 webgl_507bf799cde785e6; vec4 webgl_5dfb6919235c0045; vec4 webgl_4cc6584a02565097; float webgl_304f3b563a210bf7; vec4 webgl_f951a063699d7034; float webgl_22d81cb00869b9a2; float webgl_2d43583dbf546f1f; float webgl_460f2c6181af89a8; float webgl_c5dbf84c6d47e2b9; float webgl_7d76b3ec59278c21; vec4 webgl_37875316a0927d41; float webgl_526f6e472c396384; vec4 webgl_bb6cd7e63250237e; float webgl_40c20d1097e9a534; float webgl_7dda49e96dc03460; float webgl_ae352a88fdfc693d; float webgl_88ab3947efa185f6; float webgl_af307642e25aa885; float webgl_e6a6e5464cc0f388; float webgl_3ac9ea2c8d6969c0; vec2 webgl_d3ad0dcc1351f8e0; float webgl_78adf76be86b277a; float webgl_5623ecbbbe3551da; float webgl_62cc11a6a3b91e3d; float webgl_fe20c5e2bbae7ea2; float webgl_a692bf6563300d52; float webgl_214d4e074ace2c0c; vec3 webgl_5700948f734a6304; vec3 webgl_ee8e9c8fbc06b712; vec2 webgl_ddaebfd675c7ae0f; float webgl_251f95c101759020; float webgl_ecec865aa4ac4c4e; uniform float webgl_ef39924cf32fce32; uniform float webgl_cedb38096e1a4e45; uniform sampler2D webgl_cd5d398b775910c4; uniform vec4 webgl_32327e0b537619bc[4]; uniform vec4 webgl_2d0b63a3e379bbda; uniform vec3 webgl_d5d3009459bd2bf3; uniform vec3 webgl_b215a9d338884fee; uniform vec4 webgl_a14e53badc3a9b45; uniform vec3 webgl_83b366b8bfed4c90; uniform vec4 webgl_c40d86917598e4ab[2]; uniform float webgl_91242d0d295e4a40; uniform float webgl_a9bc5b43a137802e; uniform vec4 webgl_45cce8cf9597d10b; uniform float webgl_5efa8fc582d794d; uniform sampler2D webgl_115fd2e747cdfe7c; uniform sampler2D webgl_1761ed58140faf78; uniform float webgl_145566e4ae829a0a[42]; uniform float webgl_79ba60f3d0c09823[84]; uniform float webgl_68b0848de442ccde; void main(){ vec3 webgl_9f5732f509c34d7f; int webgl_ecefd7080615a6bf; vec3 webgl_764592c061e0a5d9; vec3 webgl_edb90c5a67740fb5; vec3 webgl_ede88356f5fca216; vec2 webgl_e9f9329b50cec14d; float webgl_96d18a08e5b73cea; int webgl_33da3028d28d0851; vec2 webgl_b184ad11dd11f1ef; vec2 webgl_accec86d894c8bd3; vec4 webgl_8ded28eb610f7238; vec2 webgl_75b84a54c4f084e; vec3 webgl_9d09f8b4c8c0f838; float webgl_9f8551b2c1d4ab6d; vec2 webgl_a0ec86428cd76145; vec2 webgl_55ef597a31c06835; vec3 webgl_33a08580b929bc50; (webgl_bb6cd7e63250237e = webgl_745b1a8d96d5b871); (webgl_bb6cd7e63250237e.y = (webgl_745b1a8d96d5b871.y + (webgl_745b1a8d96d5b871.w * 0.03125))); (webgl_9f5732f509c34d7f = (webgl_2d0b63a3e379bbda.xyz + (webgl_bb6cd7e63250237e.xyz * webgl_2d0b63a3e379bbda.w))); (webgl_3045ea8ea7c7c064 = ((((webgl_9f5732f509c34d7f.xxxx * webgl_32327e0b537619bc[0]) + (webgl_9f5732f509c34d7f.yyyy * webgl_32327e0b537619bc[1])) + (webgl_9f5732f509c34d7f.zzzz * webgl_32327e0b537619bc[2])) + webgl_32327e0b537619bc[3])); (webgl_ecefd7080615a6bf = (int(webgl_c210d954aadc9fe1.z) * 3)); (webgl_764592c061e0a5d9 = vec3(webgl_145566e4ae829a0a[int(clamp(float(webgl_ecefd7080615a6bf), 0.0, float(41)))], webgl_145566e4ae829a0a[int(clamp(float((webgl_ecefd7080615a6bf + 1)), 0.0, float(41)))], webgl_145566e4ae829a0a[int(clamp(float((webgl_ecefd7080615a6bf + 2)), 0.0, float(41)))])); (webgl_526f6e472c396384 = dot(webgl_764592c061e0a5d9, webgl_c40d86917598e4ab[0].xyz)); (webgl_7dda49e96dc03460 = (-webgl_526f6e472c396384)); (webgl_304f3b563a210bf7 = min(1.0, webgl_7dda49e96dc03460)); (webgl_ae352a88fdfc693d = max(0.0, webgl_304f3b563a210bf7)); (webgl_40c20d1097e9a534 = (1.0 + (webgl_a9bc5b43a137802e * (webgl_ae352a88fdfc693d - 1.0)))); (webgl_edb90c5a67740fb5 = (webgl_c40d86917598e4ab[1].xyz * webgl_40c20d1097e9a534)); (webgl_d3ad0dcc1351f8e0 = ((webgl_9f5732f509c34d7f.xz - webgl_45cce8cf9597d10b.xy) * webgl_45cce8cf9597d10b.zw)); (webgl_37875316a0927d41 = texture2D(webgl_1761ed58140faf78, webgl_d3ad0dcc1351f8e0)); (webgl_88ab3947efa185f6 = (webgl_37875316a0927d41.x * webgl_5efa8fc582d794d)); (webgl_af307642e25aa885 = (webgl_9f5732f509c34d7f.y * 0.00390625)); (webgl_e6a6e5464cc0f388 = (webgl_37875316a0927d41.y / webgl_37875316a0927d41.x)); (webgl_7d76b3ec59278c21 = float((webgl_af307642e25aa885 >= webgl_e6a6e5464cc0f388))); (webgl_3ac9ea2c8d6969c0 = ((webgl_7d76b3ec59278c21 * 5.0500002) - 0.050000001)); (webgl_78adf76be86b277a = (1.0 - (webgl_3ac9ea2c8d6969c0 * (webgl_af307642e25aa885 - webgl_e6a6e5464cc0f388)))); (webgl_304f3b563a210bf7 = min(1.0, webgl_78adf76be86b277a)); (webgl_5623ecbbbe3551da = max(0.0, webgl_304f3b563a210bf7)); (webgl_62cc11a6a3b91e3d = (webgl_88ab3947efa185f6 * webgl_5623ecbbbe3551da)); (webgl_304f3b563a210bf7 = min(1.0, webgl_62cc11a6a3b91e3d)); (webgl_fe20c5e2bbae7ea2 = max(0.0, webgl_304f3b563a210bf7)); (webgl_c5dbf84c6d47e2b9 = (1.0 - webgl_fe20c5e2bbae7ea2)); (webgl_edb90c5a67740fb5 = (webgl_edb90c5a67740fb5 * webgl_c5dbf84c6d47e2b9)); (webgl_214d4e074ace2c0c = (webgl_ef39924cf32fce32 * webgl_bb4939001653a9bd.w)); (webgl_a692bf6563300d52 = pow(2.718282, webgl_214d4e074ace2c0c)); (webgl_460f2c6181af89a8 = ((webgl_a692bf6563300d52 - 1.0) * webgl_cedb38096e1a4e45)); (webgl_ede88356f5fca216 = ((webgl_bb4939001653a9bd.xyz + (webgl_bb4939001653a9bd.w * webgl_b215a9d338884fee)) + (webgl_460f2c6181af89a8 * webgl_edb90c5a67740fb5))); (webgl_33a08580b929bc50 = (webgl_ede88356f5fca216 * webgl_a14e53badc3a9b45.xyz)); (webgl_745c2e2e8d0c6a13 = vec4(webgl_33a08580b929bc50.x, webgl_33a08580b929bc50.y, webgl_33a08580b929bc50.z, webgl_a14e53badc3a9b45.w)); (webgl_5dfb6919235c0045.w = webgl_c210d954aadc9fe1.x); if ((int(webgl_c210d954aadc9fe1.x) == 255)) { (webgl_e9f9329b50cec14d = vec2(0.0, 0.0)); } else { (webgl_96d18a08e5b73cea = ((float(int(webgl_c210d954aadc9fe1.x)) * 0.03125) * 6.2831802)); (webgl_2d43583dbf546f1f = sin(webgl_96d18a08e5b73cea)); (webgl_22d81cb00869b9a2 = cos(webgl_96d18a08e5b73cea)); (webgl_e9f9329b50cec14d = (vec2(webgl_2d43583dbf546f1f, webgl_22d81cb00869b9a2) * webgl_91242d0d295e4a40)); } (webgl_33da3028d28d0851 = ((int(webgl_c210d954aadc9fe1.z) * 2) * 3)); (webgl_5700948f734a6304 = vec3(webgl_79ba60f3d0c09823[int(clamp(float(webgl_33da3028d28d0851), 0.0, float(83)))], webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 1)), 0.0, float(83)))], webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 2)), 0.0, float(83)))])); (webgl_b184ad11dd11f1ef.x = dot(webgl_9f5732f509c34d7f.xyz, webgl_5700948f734a6304)); (webgl_ee8e9c8fbc06b712 = vec3(webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 3)), 0.0, float(83)))], webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 4)), 0.0, float(83)))], webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 5)), 0.0, float(83)))])); (webgl_b184ad11dd11f1ef.y = dot(webgl_9f5732f509c34d7f.xyz, webgl_ee8e9c8fbc06b712)); (webgl_accec86d894c8bd3 = (webgl_b184ad11dd11f1ef + webgl_e9f9329b50cec14d)); (webgl_507bf799cde785e6.xy = webgl_accec86d894c8bd3); (webgl_ddaebfd675c7ae0f = ((webgl_9f5732f509c34d7f.xz / 512.0) + (((webgl_91242d0d295e4a40 * vec2(0.052299999, 0.124)) * webgl_68b0848de442ccde) * 0.050000001))); (webgl_f951a063699d7034 = texture2D(webgl_115fd2e747cdfe7c, webgl_ddaebfd675c7ae0f)); (webgl_8ded28eb610f7238 = ((webgl_f951a063699d7034 - 0.5) * 100.0)); (webgl_a0ec86428cd76145 = ((webgl_9f5732f509c34d7f.xz / 8.342) + webgl_8ded28eb610f7238.xy)); (webgl_55ef597a31c06835 = ((webgl_9f5732f509c34d7f.xz / 3.345) + (webgl_8ded28eb610f7238.zw * 0.54233998))); (webgl_3bcb0d8577f6dfe3 = vec4(webgl_a0ec86428cd76145.x, webgl_a0ec86428cd76145.y, webgl_55ef597a31c06835.x, webgl_55ef597a31c06835.y)); (webgl_5dfb6919235c0045.xyz = webgl_9f5732f509c34d7f); (webgl_74e096030bd6110f.xyz = webgl_764592c061e0a5d9); (webgl_74e096030bd6110f.w = webgl_bb4939001653a9bd.w); (webgl_75b84a54c4f084e = (webgl_3045ea8ea7c7c064.xy / webgl_3045ea8ea7c7c064.w)); (webgl_9d09f8b4c8c0f838 = (webgl_9f5732f509c34d7f - webgl_d5d3009459bd2bf3)); (webgl_9f8551b2c1d4ab6d = length(webgl_9d09f8b4c8c0f838)); (webgl_251f95c101759020 = ((webgl_9f8551b2c1d4ab6d - webgl_83b366b8bfed4c90.x) * webgl_83b366b8bfed4c90.y)); (webgl_304f3b563a210bf7 = min(1.0, webgl_251f95c101759020)); (webgl_ecec865aa4ac4c4e = max(0.0, webgl_304f3b563a210bf7)); (webgl_507bf799cde785e6.z = (1.0 - (webgl_ecec865aa4ac4c4e * webgl_83b366b8bfed4c90.z))); (webgl_4cc6584a02565097 = texture2D(webgl_cd5d398b775910c4, vec2(0.5, 0.5))); (webgl_507bf799cde785e6.w = webgl_4cc6584a02565097.x); if ((webgl_9f8551b2c1d4ab6d < -10.0)) { (webgl_75b84a54c4f084e = vec2(0.0, 0.0)); } if ((webgl_507bf799cde785e6.z < 0.0040000002)) { (webgl_3045ea8ea7c7c064.xy = webgl_75b84a54c4f084e); (webgl_3045ea8ea7c7c064.z = 2.0); (webgl_3045ea8ea7c7c064.w = 1.0); } (webgl_cd5d739a89442851[2] = webgl_5dfb6919235c0045); (webgl_cd5d739a89442851[0] = webgl_507bf799cde785e6); (webgl_cd5d739a89442851[3] = webgl_74e096030bd6110f); (webgl_cd5d739a89442851[1] = webgl_3bcb0d8577f6dfe3); (gl_Position = webgl_3045ea8ea7c7c064); (webgl_78aca2302df3d888 = webgl_745c2e2e8d0c6a13); } GLSL IR for shader 403: ( (declare (shader_in ) float gl_FogCoord) (declare (shader_in ) vec4 gl_MultiTexCoord7) (declare (shader_in ) vec4 gl_MultiTexCoord6) (declare (shader_in ) vec4 gl_MultiTexCoord5) (declare (shader_in ) vec4 gl_MultiTexCoord4) (declare (shader_in ) vec4 gl_MultiTexCoord3) (declare (shader_in ) vec4 gl_MultiTexCoord2) (declare (shader_in ) vec4 gl_MultiTexCoord1) (declare (shader_in ) vec4 gl_MultiTexCoord0) (declare (shader_in ) vec4 gl_SecondaryColor) (declare (shader_in ) vec4 gl_Color) (declare (shader_in ) vec3 gl_Normal) (declare (shader_in ) vec4 gl_Vertex) (declare (shader_out ) vec4 gl_BackSecondaryColor) (declare (shader_out ) vec4 gl_FrontSecondaryColor) (declare (shader_out ) vec4 gl_BackColor) (declare (shader_out ) vec4 gl_FrontColor) (declare (shader_out ) vec4 gl_ClipVertex) (declare (shader_out ) float gl_FogFragCoord) (declare (shader_out ) (array vec4 0) gl_TexCoord) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) gl_FogParameters gl_Fog) (declare (uniform ) (array vec4 8) gl_ObjectPlaneQ) (declare (uniform ) (array vec4 8) gl_ObjectPlaneR) (declare (uniform ) (array vec4 8) gl_ObjectPlaneT) (declare (uniform ) (array vec4 8) gl_ObjectPlaneS) (declare (uniform ) (array vec4 8) gl_EyePlaneQ) (declare (uniform ) (array vec4 8) gl_EyePlaneR) (declare (uniform ) (array vec4 8) gl_EyePlaneT) (declare (uniform ) (array vec4 8) gl_EyePlaneS) (declare (uniform ) (array vec4 8) gl_TextureEnvColor) (declare (uniform ) (array gl_LightProducts 8) gl_BackLightProduct) (declare (uniform ) (array gl_LightProducts 8) gl_FrontLightProduct) (declare (uniform ) gl_LightModelProducts gl_BackLightModelProduct) (declare (uniform ) gl_LightModelProducts gl_FrontLightModelProduct) (declare (uniform ) (array gl_LightSourceParameters 8) gl_LightSource) (declare (uniform ) gl_MaterialParameters gl_BackMaterial) (declare (uniform ) gl_MaterialParameters gl_FrontMaterial) (declare (uniform ) gl_PointParameters gl_Point) (declare (uniform ) (array vec4 8) gl_ClipPlane) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverseTranspose) (declare (uniform ) (array mat4 8) gl_TextureMatrixTranspose) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverse) (declare (uniform ) (array mat4 8) gl_TextureMatrix) (declare (uniform ) vec4 gl_FogParamsOptimizedMESA) (declare (uniform ) gl_LightModelParameters gl_LightModel) (declare (uniform ) float gl_NormalScale) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverseTranspose) (declare (uniform ) mat4 gl_ProjectionMatrixInverseTranspose) (declare (uniform ) mat4 gl_ModelViewMatrixInverseTranspose) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixTranspose) (declare (uniform ) mat4 gl_ProjectionMatrixTranspose) (declare (uniform ) mat4 gl_ModelViewMatrixTranspose) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverse) (declare (uniform ) mat4 gl_ProjectionMatrixInverse) (declare (uniform ) mat4 gl_ModelViewMatrixInverse) (declare (uniform ) mat3 gl_NormalMatrix) (declare (uniform ) mat4 gl_ModelViewProjectionMatrix) (declare (uniform ) mat4 gl_ProjectionMatrix) (declare (uniform ) mat4 gl_ModelViewMatrix) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxTextureCoords) (declare () int gl_MaxTextureUnits) (declare () int gl_MaxClipPlanes) (declare () int gl_MaxLights) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_out ) vec4 webgl_78aca2302df3d888) (declare (shader_out ) (array vec4 4) webgl_cd5d739a89442851) (declare (shader_in ) vec4 webgl_745b1a8d96d5b871) (declare (shader_in ) vec4 webgl_bb4939001653a9bd) (declare (shader_in ) vec4 webgl_c210d954aadc9fe1) (declare () vec4 webgl_745c2e2e8d0c6a13) (declare () vec4 webgl_3045ea8ea7c7c064) (declare () vec4 webgl_3bcb0d8577f6dfe3) (declare () vec4 webgl_74e096030bd6110f) (declare () vec4 webgl_507bf799cde785e6) (declare () vec4 webgl_5dfb6919235c0045) (declare () vec4 webgl_4cc6584a02565097) (declare () float webgl_304f3b563a210bf7) (declare () vec4 webgl_f951a063699d7034) (declare () float webgl_22d81cb00869b9a2) (declare () float webgl_2d43583dbf546f1f) (declare () float webgl_460f2c6181af89a8) (declare () float webgl_c5dbf84c6d47e2b9) (declare () float webgl_7d76b3ec59278c21) (declare () vec4 webgl_37875316a0927d41) (declare () float webgl_526f6e472c396384) (declare () vec4 webgl_bb6cd7e63250237e) (declare () float webgl_40c20d1097e9a534) (declare () float webgl_7dda49e96dc03460) (declare () float webgl_ae352a88fdfc693d) (declare () float webgl_88ab3947efa185f6) (declare () float webgl_af307642e25aa885) (declare () float webgl_e6a6e5464cc0f388) (declare () float webgl_3ac9ea2c8d6969c0) (declare () vec2 webgl_d3ad0dcc1351f8e0) (declare () float webgl_78adf76be86b277a) (declare () float webgl_5623ecbbbe3551da) (declare () float webgl_62cc11a6a3b91e3d) (declare () float webgl_fe20c5e2bbae7ea2) (declare () float webgl_a692bf6563300d52) (declare () float webgl_214d4e074ace2c0c) (declare () vec3 webgl_5700948f734a6304) (declare () vec3 webgl_ee8e9c8fbc06b712) (declare () vec2 webgl_ddaebfd675c7ae0f) (declare () float webgl_251f95c101759020) (declare () float webgl_ecec865aa4ac4c4e) (declare (uniform ) float webgl_ef39924cf32fce32) (declare (uniform ) float webgl_cedb38096e1a4e45) (declare (uniform ) sampler2D webgl_cd5d398b775910c4) (declare (uniform ) (array vec4 4) webgl_32327e0b537619bc) (declare (uniform ) vec4 webgl_2d0b63a3e379bbda) (declare (uniform ) vec3 webgl_d5d3009459bd2bf3) (declare (uniform ) vec3 webgl_b215a9d338884fee) (declare (uniform ) vec4 webgl_a14e53badc3a9b45) (declare (uniform ) vec3 webgl_83b366b8bfed4c90) (declare (uniform ) (array vec4 2) webgl_c40d86917598e4ab) (declare (uniform ) float webgl_91242d0d295e4a40) (declare (uniform ) float webgl_a9bc5b43a137802e) (declare (uniform ) vec4 webgl_45cce8cf9597d10b) (declare (uniform ) float webgl_5efa8fc582d794d) (declare (uniform ) sampler2D webgl_115fd2e747cdfe7c) (declare (uniform ) sampler2D webgl_1761ed58140faf78) (declare (uniform ) (array float 42) webgl_145566e4ae829a0a) (declare (uniform ) (array float 84) webgl_79ba60f3d0c09823) (declare (uniform ) float webgl_68b0848de442ccde) (function main (signature void (parameters ) ( (declare () vec3 webgl_33a08580b929bc50) (declare () vec2 webgl_55ef597a31c06835) (declare () vec2 webgl_a0ec86428cd76145) (declare () float webgl_9f8551b2c1d4ab6d) (declare () vec2 webgl_75b84a54c4f084e) (declare () vec4 webgl_8ded28eb610f7238) (declare () vec2 webgl_b184ad11dd11f1ef) (declare () int webgl_33da3028d28d0851) (declare () float webgl_96d18a08e5b73cea) (declare () vec2 webgl_e9f9329b50cec14d) (declare () vec3 webgl_edb90c5a67740fb5) (declare () vec3 webgl_764592c061e0a5d9) (declare () int webgl_ecefd7080615a6bf) (declare () vec3 webgl_9f5732f509c34d7f) (assign (xzw) (var_ref webgl_bb6cd7e63250237e) (swiz xzw (var_ref webgl_745b1a8d96d5b871) )) (assign (y) (var_ref webgl_bb6cd7e63250237e) (expression float + (swiz y (var_ref webgl_745b1a8d96d5b871) )(expression float * (swiz w (var_ref webgl_745b1a8d96d5b871) )(constant float (0.031250)) ) ) ) (assign (xyz) (var_ref webgl_9f5732f509c34d7f) (expression vec3 + (swiz xyz (var_ref webgl_2d0b63a3e379bbda) )(expression vec3 * (swiz xyz (var_ref webgl_bb6cd7e63250237e) )(swiz w (var_ref webgl_2d0b63a3e379bbda) )) ) ) (assign (xyzw) (var_ref webgl_3045ea8ea7c7c064) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (swiz xxxx (var_ref webgl_9f5732f509c34d7f) )(array_ref (var_ref webgl_32327e0b537619bc) (constant int (0)) ) ) (expression vec4 * (swiz yyyy (var_ref webgl_9f5732f509c34d7f) )(array_ref (var_ref webgl_32327e0b537619bc) (constant int (1)) ) ) ) (expression vec4 * (swiz zzzz (var_ref webgl_9f5732f509c34d7f) )(array_ref (var_ref webgl_32327e0b537619bc) (constant int (2)) ) ) ) (array_ref (var_ref webgl_32327e0b537619bc) (constant int (3)) ) ) ) (assign (x) (var_ref webgl_ecefd7080615a6bf) (expression int * (expression int f2i (swiz z (var_ref webgl_c210d954aadc9fe1) )) (constant int (3)) ) ) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float i2f (var_ref webgl_ecefd7080615a6bf) ) (constant float (0.000000)) (constant float (41.000000)) )) (declare (temporary ) float clamp_retval@5973) (call clamp (var_ref clamp_retval@5973) ((expression float i2f (expression int + (var_ref webgl_ecefd7080615a6bf) (constant int (1)) ) ) (constant float (0.000000)) (constant float (41.000000)) )) (declare (temporary ) float clamp_retval@5974) (call clamp (var_ref clamp_retval@5974) ((expression float i2f (expression int + (var_ref webgl_ecefd7080615a6bf) (constant int (2)) ) ) (constant float (0.000000)) (constant float (41.000000)) )) (declare (temporary ) vec3 vec_ctor) (assign (x) (var_ref vec_ctor) (array_ref (var_ref webgl_145566e4ae829a0a) (expression int f2i (var_ref clamp_retval) ) ) ) (assign (y) (var_ref vec_ctor) (array_ref (var_ref webgl_145566e4ae829a0a) (expression int f2i (var_ref clamp_retval@5973) ) ) ) (assign (z) (var_ref vec_ctor) (array_ref (var_ref webgl_145566e4ae829a0a) (expression int f2i (var_ref clamp_retval@5974) ) ) ) (assign (xyz) (var_ref webgl_764592c061e0a5d9) (var_ref vec_ctor) ) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref vec_ctor) (swiz xyz (array_ref (var_ref webgl_c40d86917598e4ab) (constant int (0)) ) ))) (assign (x) (var_ref webgl_526f6e472c396384) (var_ref dot_retval) ) (declare (temporary ) float min_retval) (call min (var_ref min_retval) ((constant float (1.000000)) (expression float neg (var_ref dot_retval) ) )) (assign (x) (var_ref webgl_304f3b563a210bf7) (var_ref min_retval) ) (declare (temporary ) float max_retval) (call max (var_ref max_retval) ((constant float (0.000000)) (var_ref min_retval) )) (assign (x) (var_ref webgl_ae352a88fdfc693d) (var_ref max_retval) ) (assign (xyz) (var_ref webgl_edb90c5a67740fb5) (expression vec3 * (swiz xyz (array_ref (var_ref webgl_c40d86917598e4ab) (constant int (1)) ) )(expression float + (constant float (1.000000)) (expression float * (var_ref webgl_a9bc5b43a137802e) (expression float + (var_ref max_retval) (constant float (-1.000000)) ) ) ) ) ) (declare (temporary ) vec4 texture2D_retval) (call texture2D (var_ref texture2D_retval) ((var_ref webgl_1761ed58140faf78) (expression vec2 * (expression vec2 + (swiz xz (var_ref webgl_9f5732f509c34d7f) )(expression vec2 neg (swiz xy (var_ref webgl_45cce8cf9597d10b) )) ) (swiz zw (var_ref webgl_45cce8cf9597d10b) )) )) (assign (xyzw) (var_ref webgl_37875316a0927d41) (var_ref texture2D_retval) ) (assign (x) (var_ref webgl_88ab3947efa185f6) (expression float * (swiz x (var_ref texture2D_retval) )(var_ref webgl_5efa8fc582d794d) ) ) (assign (x) (var_ref webgl_af307642e25aa885) (expression float * (swiz y (var_ref webgl_9f5732f509c34d7f) )(constant float (0.003906)) ) ) (assign (x) (var_ref webgl_e6a6e5464cc0f388) (expression float / (swiz y (var_ref texture2D_retval) )(swiz x (var_ref texture2D_retval) )) ) (declare (temporary ) float min_retval@5975) (call min (var_ref min_retval@5975) ((constant float (1.000000)) (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float + (expression float * (expression float b2f (expression bool >= (var_ref webgl_af307642e25aa885) (var_ref webgl_e6a6e5464cc0f388) ) ) (constant float (5.050000)) ) (expression float neg (constant float (0.050000)) ) ) (expression float + (var_ref webgl_af307642e25aa885) (expression float neg (var_ref webgl_e6a6e5464cc0f388) ) ) ) ) ) )) (assign (x) (var_ref webgl_304f3b563a210bf7) (var_ref min_retval@5975) ) (declare (temporary ) float max_retval@5976) (call max (var_ref max_retval@5976) ((constant float (0.000000)) (var_ref min_retval@5975) )) (assign (x) (var_ref webgl_5623ecbbbe3551da) (var_ref max_retval@5976) ) (declare (temporary ) float min_retval@5977) (call min (var_ref min_retval@5977) ((constant float (1.000000)) (expression float * (var_ref webgl_88ab3947efa185f6) (var_ref max_retval@5976) ) )) (assign (x) (var_ref webgl_304f3b563a210bf7) (var_ref min_retval@5977) ) (declare (temporary ) float max_retval@5978) (call max (var_ref max_retval@5978) ((constant float (0.000000)) (var_ref min_retval@5977) )) (assign (x) (var_ref webgl_fe20c5e2bbae7ea2) (var_ref max_retval@5978) ) (assign (xyz) (var_ref webgl_edb90c5a67740fb5) (expression vec3 * (var_ref webgl_edb90c5a67740fb5) (expression float + (constant float (1.000000)) (expression float neg (var_ref max_retval@5978) ) ) ) ) (declare (temporary ) float pow_retval) (call pow (var_ref pow_retval) ((constant float (2.718282)) (expression float * (var_ref webgl_ef39924cf32fce32) (swiz w (var_ref webgl_bb4939001653a9bd) )) )) (assign (x) (var_ref webgl_a692bf6563300d52) (var_ref pow_retval) ) (assign (xyz) (var_ref webgl_33a08580b929bc50) (expression vec3 * (expression vec3 + (expression vec3 + (swiz xyz (var_ref webgl_bb4939001653a9bd) )(expression vec3 * (swiz w (var_ref webgl_bb4939001653a9bd) )(var_ref webgl_b215a9d338884fee) ) ) (expression vec3 * (expression float * (expression float + (var_ref pow_retval) (constant float (-1.000000)) ) (var_ref webgl_cedb38096e1a4e45) ) (var_ref webgl_edb90c5a67740fb5) ) ) (swiz xyz (var_ref webgl_a14e53badc3a9b45) )) ) (declare (temporary ) vec4 vec_ctor@5979) (assign (x) (var_ref vec_ctor@5979) (swiz x (var_ref webgl_33a08580b929bc50) )) (assign (y) (var_ref vec_ctor@5979) (swiz y (var_ref webgl_33a08580b929bc50) )) (assign (z) (var_ref vec_ctor@5979) (swiz z (var_ref webgl_33a08580b929bc50) )) (assign (w) (var_ref vec_ctor@5979) (swiz w (var_ref webgl_a14e53badc3a9b45) )) (assign (xyzw) (var_ref webgl_745c2e2e8d0c6a13) (var_ref vec_ctor@5979) ) (assign (w) (var_ref webgl_5dfb6919235c0045) (swiz x (var_ref webgl_c210d954aadc9fe1) )) (if (expression bool all_equal (expression int f2i (swiz x (var_ref webgl_c210d954aadc9fe1) )) (constant int (255)) ) ( (assign (xy) (var_ref webgl_e9f9329b50cec14d) (constant vec2 (0.000000 0.000000)) ) ) ( (assign (x) (var_ref webgl_96d18a08e5b73cea) (expression float * (constant float (0.196349)) (expression float i2f (expression int f2i (swiz x (var_ref webgl_c210d954aadc9fe1) )) ) ) ) (declare (temporary ) float sin_retval) (call sin (var_ref sin_retval) ((var_ref webgl_96d18a08e5b73cea) )) (assign (x) (var_ref webgl_2d43583dbf546f1f) (var_ref sin_retval) ) (declare (temporary ) float cos_retval) (call cos (var_ref cos_retval) ((var_ref webgl_96d18a08e5b73cea) )) (assign (x) (var_ref webgl_22d81cb00869b9a2) (var_ref cos_retval) ) (declare (temporary ) vec2 vec_ctor@5980) (assign (x) (var_ref vec_ctor@5980) (var_ref webgl_2d43583dbf546f1f) ) (assign (y) (var_ref vec_ctor@5980) (var_ref cos_retval) ) (assign (xy) (var_ref webgl_e9f9329b50cec14d) (expression vec2 * (var_ref vec_ctor@5980) (var_ref webgl_91242d0d295e4a40) ) ) )) (assign (x) (var_ref webgl_33da3028d28d0851) (expression int * (constant int (6)) (expression int f2i (swiz z (var_ref webgl_c210d954aadc9fe1) )) ) ) (declare (temporary ) float clamp_retval@5981) (call clamp (var_ref clamp_retval@5981) ((expression float i2f (var_ref webgl_33da3028d28d0851) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) float clamp_retval@5982) (call clamp (var_ref clamp_retval@5982) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (1)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) float clamp_retval@5983) (call clamp (var_ref clamp_retval@5983) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (2)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) vec3 vec_ctor@5984) (assign (x) (var_ref vec_ctor@5984) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@5981) ) ) ) (assign (y) (var_ref vec_ctor@5984) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@5982) ) ) ) (assign (z) (var_ref vec_ctor@5984) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@5983) ) ) ) (assign (xyz) (var_ref webgl_5700948f734a6304) (var_ref vec_ctor@5984) ) (declare (temporary ) float dot_retval@5985) (call dot (var_ref dot_retval@5985) ((var_ref webgl_9f5732f509c34d7f) (var_ref vec_ctor@5984) )) (assign (x) (var_ref webgl_b184ad11dd11f1ef) (var_ref dot_retval@5985) ) (declare (temporary ) float clamp_retval@5986) (call clamp (var_ref clamp_retval@5986) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (3)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) float clamp_retval@5987) (call clamp (var_ref clamp_retval@5987) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (4)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) float clamp_retval@5988) (call clamp (var_ref clamp_retval@5988) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (5)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) vec3 vec_ctor@5989) (assign (x) (var_ref vec_ctor@5989) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@5986) ) ) ) (assign (y) (var_ref vec_ctor@5989) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@5987) ) ) ) (assign (z) (var_ref vec_ctor@5989) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@5988) ) ) ) (assign (xyz) (var_ref webgl_ee8e9c8fbc06b712) (var_ref vec_ctor@5989) ) (declare (temporary ) float dot_retval@5990) (call dot (var_ref dot_retval@5990) ((var_ref webgl_9f5732f509c34d7f) (var_ref vec_ctor@5989) )) (assign (y) (var_ref webgl_b184ad11dd11f1ef) (var_ref dot_retval@5990) ) (assign (xy) (var_ref webgl_507bf799cde785e6) (expression vec2 + (var_ref webgl_b184ad11dd11f1ef) (var_ref webgl_e9f9329b50cec14d) ) ) (declare (temporary ) vec4 texture2D_retval@5991) (call texture2D (var_ref texture2D_retval@5991) ((var_ref webgl_115fd2e747cdfe7c) (expression vec2 + (expression vec2 / (swiz xz (var_ref webgl_9f5732f509c34d7f) )(constant float (512.000000)) ) (expression vec2 * (expression vec2 * (expression vec2 * (constant float (0.050000)) (constant vec2 (0.052300 0.124000)) ) (var_ref webgl_68b0848de442ccde) ) (var_ref webgl_91242d0d295e4a40) ) ) )) (assign (xyzw) (var_ref webgl_f951a063699d7034) (var_ref texture2D_retval@5991) ) (assign (xyzw) (var_ref webgl_8ded28eb610f7238) (expression vec4 * (expression vec4 + (var_ref texture2D_retval@5991) (constant float (-0.500000)) ) (constant float (100.000000)) ) ) (assign (xy) (var_ref webgl_a0ec86428cd76145) (expression vec2 + (expression vec2 / (swiz xz (var_ref webgl_9f5732f509c34d7f) )(constant float (8.342000)) ) (swiz xy (var_ref webgl_8ded28eb610f7238) )) ) (assign (xy) (var_ref webgl_55ef597a31c06835) (expression vec2 + (expression vec2 / (swiz xz (var_ref webgl_9f5732f509c34d7f) )(constant float (3.345000)) ) (expression vec2 * (swiz zw (var_ref webgl_8ded28eb610f7238) )(constant float (0.542340)) ) ) ) (declare (temporary ) vec4 vec_ctor@5992) (assign (x) (var_ref vec_ctor@5992) (swiz x (var_ref webgl_a0ec86428cd76145) )) (assign (y) (var_ref vec_ctor@5992) (swiz y (var_ref webgl_a0ec86428cd76145) )) (assign (z) (var_ref vec_ctor@5992) (swiz x (var_ref webgl_55ef597a31c06835) )) (assign (w) (var_ref vec_ctor@5992) (swiz y (var_ref webgl_55ef597a31c06835) )) (assign (xyzw) (var_ref webgl_3bcb0d8577f6dfe3) (var_ref vec_ctor@5992) ) (assign (xyz) (var_ref webgl_5dfb6919235c0045) (var_ref webgl_9f5732f509c34d7f) ) (assign (xyz) (var_ref webgl_74e096030bd6110f) (var_ref webgl_764592c061e0a5d9) ) (assign (w) (var_ref webgl_74e096030bd6110f) (swiz w (var_ref webgl_bb4939001653a9bd) )) (assign (xy) (var_ref webgl_75b84a54c4f084e) (expression vec2 / (swiz xy (var_ref webgl_3045ea8ea7c7c064) )(swiz w (var_ref webgl_3045ea8ea7c7c064) )) ) (declare (temporary ) float length_retval) (call length (var_ref length_retval) ((expression vec3 + (var_ref webgl_9f5732f509c34d7f) (expression vec3 neg (var_ref webgl_d5d3009459bd2bf3) ) ) )) (assign (x) (var_ref webgl_9f8551b2c1d4ab6d) (var_ref length_retval) ) (declare (temporary ) float min_retval@5993) (call min (var_ref min_retval@5993) ((constant float (1.000000)) (expression float * (expression float + (var_ref length_retval) (expression float neg (swiz x (var_ref webgl_83b366b8bfed4c90) )) ) (swiz y (var_ref webgl_83b366b8bfed4c90) )) )) (assign (x) (var_ref webgl_304f3b563a210bf7) (var_ref min_retval@5993) ) (declare (temporary ) float max_retval@5994) (call max (var_ref max_retval@5994) ((constant float (0.000000)) (var_ref min_retval@5993) )) (assign (x) (var_ref webgl_ecec865aa4ac4c4e) (var_ref max_retval@5994) ) (assign (z) (var_ref webgl_507bf799cde785e6) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref max_retval@5994) (swiz z (var_ref webgl_83b366b8bfed4c90) )) ) ) ) (declare (temporary ) vec4 texture2D_retval@5995) (call texture2D (var_ref texture2D_retval@5995) ((var_ref webgl_cd5d398b775910c4) (constant vec2 (0.500000 0.500000)) )) (assign (xyzw) (var_ref webgl_4cc6584a02565097) (var_ref texture2D_retval@5995) ) (assign (w) (var_ref webgl_507bf799cde785e6) (swiz x (var_ref texture2D_retval@5995) )) (if (expression bool < (var_ref webgl_9f8551b2c1d4ab6d) (constant float (-10.000000)) ) ( (assign (xy) (var_ref webgl_75b84a54c4f084e) (constant vec2 (0.000000 0.000000)) ) ) ()) (if (expression bool < (swiz z (var_ref webgl_507bf799cde785e6) )(constant float (0.004000)) ) ( (assign (xy) (var_ref webgl_3045ea8ea7c7c064) (var_ref webgl_75b84a54c4f084e) ) (assign (z) (var_ref webgl_3045ea8ea7c7c064) (constant float (2.000000)) ) (assign (w) (var_ref webgl_3045ea8ea7c7c064) (constant float (1.000000)) ) ) ()) (assign (xyzw) (array_ref (var_ref webgl_cd5d739a89442851) (constant int (2)) ) (var_ref webgl_5dfb6919235c0045) ) (assign (xyzw) (array_ref (var_ref webgl_cd5d739a89442851) (constant int (0)) ) (var_ref webgl_507bf799cde785e6) ) (assign (xyzw) (array_ref (var_ref webgl_cd5d739a89442851) (constant int (3)) ) (var_ref webgl_74e096030bd6110f) ) (assign (xyzw) (array_ref (var_ref webgl_cd5d739a89442851) (constant int (1)) ) (var_ref webgl_3bcb0d8577f6dfe3) ) (assign (xyzw) (var_ref gl_Position) (var_ref webgl_3045ea8ea7c7c064) ) (assign (xyzw) (var_ref webgl_78aca2302df3d888) (var_ref webgl_745c2e2e8d0c6a13) ) )) ) // vp_voxel (no workaround) // ------------------------------------------------------------------------------ GLSL source for vertex shader 406: varying vec4 webgl_78aca2302df3d888; varying vec4 webgl_cd5d739a89442851[2]; attribute vec4 webgl_745b1a8d96d5b871; attribute vec4 webgl_bb4939001653a9bd; attribute vec4 webgl_c210d954aadc9fe1; attribute vec4 webgl_3dca3ec0da672a6f; vec4 webgl_ae4e26361165f71c; vec4 webgl_3045ea8ea7c7c064; vec4 webgl_d0d3c22edbddf07b; vec4 webgl_1d9caffa92573e8; vec4 webgl_304f3b563a210bf7; float webgl_49807ae688a017de; float webgl_22d81cb00869b9a2; float webgl_2d43583dbf546f1f; float webgl_a32bc509c38c1817; vec4 webgl_7d76b3ec59278c21; vec3 webgl_460f2c6181af89a8; vec3 webgl_37875316a0927d41; vec3 webgl_416900816e97208a; float webgl_c5dbf84c6d47e2b9; float webgl_6dc25aa92db43c2e; vec4 webgl_bb6cd7e63250237e; float webgl_cbc398bb61c09ecb; float webgl_4c7b987693cfdf0; float webgl_252a1682c5599149; vec3 webgl_737d8ab4e249a6e; float webgl_3fe39558d14f1ebf; float webgl_23f9b362ce2fb0d3; float webgl_6ceba4f76b24a1fd; float webgl_c9ba1b6ef9006bea; vec2 webgl_9de92215c25a272d; float webgl_547144534b41d6bc; float webgl_626efebbe738026c; float webgl_8c10868a397601d8; float webgl_b733f66be4485cfa; float webgl_fd5ad27d1923fe5f; float webgl_d711f7a5c5c20aa1; vec3 webgl_564ebbc625d666d5; vec3 webgl_32d4bf6d3adcad6c; float webgl_d68ca8c8b1ee747b; float webgl_5b9b4c4fc4e262c6; uniform float webgl_ef39924cf32fce32; uniform float webgl_cedb38096e1a4e45; uniform sampler2D webgl_cd5d398b775910c4; uniform vec4 webgl_32327e0b537619bc[4]; uniform vec4 webgl_2d0b63a3e379bbda; uniform vec3 webgl_d5d3009459bd2bf3; uniform vec3 webgl_b215a9d338884fee; uniform vec3 webgl_83b366b8bfed4c90; uniform vec4 webgl_c40d86917598e4ab[2]; uniform float webgl_a9bc5b43a137802e; uniform vec4 webgl_45cce8cf9597d10b; uniform float webgl_5efa8fc582d794d; uniform sampler2D webgl_1761ed58140faf78; uniform float webgl_145566e4ae829a0a[42]; uniform float webgl_79ba60f3d0c09823[84]; uniform float webgl_90d9b3d02688d6dd; void main(){ int webgl_fd22cd7277c74f85; int webgl_c78aa57a2d7560f0; int webgl_3ec0f6a8f1270c6b; vec3 webgl_9c65cae3b8413910; vec3 webgl_9f5732f509c34d7f; int webgl_ecefd7080615a6bf; vec3 webgl_764592c061e0a5d9; vec3 webgl_edb90c5a67740fb5; vec3 webgl_ede88356f5fca216; vec2 webgl_df4965c43db91dd6; int webgl_33da3028d28d0851; vec2 webgl_75b84a54c4f084e; vec3 webgl_9d09f8b4c8c0f838; float webgl_9f8551b2c1d4ab6d; vec3 webgl_55ef597a31c06835; (webgl_fd22cd7277c74f85 = int((webgl_c210d954aadc9fe1.w * 256.0))); (webgl_c78aa57a2d7560f0 = int((float(webgl_fd22cd7277c74f85) * 0.0625))); (webgl_3ec0f6a8f1270c6b = (webgl_fd22cd7277c74f85 - (webgl_c78aa57a2d7560f0 * 16))); (webgl_9c65cae3b8413910.x = (((float(webgl_3ec0f6a8f1270c6b) - 7.0) * 0.14285715) * webgl_90d9b3d02688d6dd)); (webgl_9c65cae3b8413910.y = (((webgl_745b1a8d96d5b871.w / 256.0) * 2.0) - 0.5)); (webgl_9c65cae3b8413910.z = (((float(webgl_c78aa57a2d7560f0) - 7.0) * 0.14285715) * webgl_90d9b3d02688d6dd)); (webgl_bb6cd7e63250237e.xyz = (webgl_745b1a8d96d5b871.xyz + webgl_9c65cae3b8413910)); (webgl_9f5732f509c34d7f = (webgl_2d0b63a3e379bbda.xyz + (webgl_bb6cd7e63250237e.xyz * webgl_2d0b63a3e379bbda.w))); (webgl_3045ea8ea7c7c064 = ((((webgl_9f5732f509c34d7f.xxxx * webgl_32327e0b537619bc[0]) + (webgl_9f5732f509c34d7f.yyyy * webgl_32327e0b537619bc[1])) + (webgl_9f5732f509c34d7f.zzzz * webgl_32327e0b537619bc[2])) + webgl_32327e0b537619bc[3])); (webgl_ecefd7080615a6bf = (int(webgl_3dca3ec0da672a6f.z) * 3)); (webgl_764592c061e0a5d9 = vec3(webgl_145566e4ae829a0a[int(clamp(float(webgl_ecefd7080615a6bf), 0.0, float(41)))], webgl_145566e4ae829a0a[int(clamp(float((webgl_ecefd7080615a6bf + 1)), 0.0, float(41)))], webgl_145566e4ae829a0a[int(clamp(float((webgl_ecefd7080615a6bf + 2)), 0.0, float(41)))])); (webgl_6dc25aa92db43c2e = dot(webgl_764592c061e0a5d9, webgl_c40d86917598e4ab[0].xyz)); (webgl_4c7b987693cfdf0 = (-webgl_6dc25aa92db43c2e)); (webgl_49807ae688a017de = min(1.0, webgl_4c7b987693cfdf0)); (webgl_252a1682c5599149 = max(0.0, webgl_49807ae688a017de)); (webgl_cbc398bb61c09ecb = (1.0 + (webgl_a9bc5b43a137802e * (webgl_252a1682c5599149 - 1.0)))); (webgl_edb90c5a67740fb5 = (webgl_c40d86917598e4ab[1].xyz * webgl_cbc398bb61c09ecb)); (webgl_d0d3c22edbddf07b.xyz = webgl_745b1a8d96d5b871.xyz); (webgl_c5dbf84c6d47e2b9 = float((webgl_9c65cae3b8413910.y >= 0.5))); (webgl_d0d3c22edbddf07b.y = (webgl_745b1a8d96d5b871.y + webgl_c5dbf84c6d47e2b9)); (webgl_737d8ab4e249a6e = (-webgl_764592c061e0a5d9)); (webgl_416900816e97208a = floor(webgl_737d8ab4e249a6e)); (webgl_37875316a0927d41 = floor(webgl_764592c061e0a5d9)); (webgl_460f2c6181af89a8 = vec3((((webgl_764592c061e0a5d9.x < 0.0)) ? ((-webgl_416900816e97208a).x) : (webgl_37875316a0927d41.x)), (((webgl_764592c061e0a5d9.y < 0.0)) ? ((-webgl_416900816e97208a).y) : (webgl_37875316a0927d41.y)), (((webgl_764592c061e0a5d9.z < 0.0)) ? ((-webgl_416900816e97208a).z) : (webgl_37875316a0927d41.z)))); (webgl_d0d3c22edbddf07b.xyz = ((webgl_2d0b63a3e379bbda.xyz + (webgl_d0d3c22edbddf07b.xyz * webgl_2d0b63a3e379bbda.w)) - (0.001 * webgl_460f2c6181af89a8))); (webgl_d0d3c22edbddf07b.w = (webgl_3dca3ec0da672a6f.w * 0.0039215689)); (webgl_9de92215c25a272d = ((webgl_9f5732f509c34d7f.xz - webgl_45cce8cf9597d10b.xy) * webgl_45cce8cf9597d10b.zw)); (webgl_7d76b3ec59278c21 = texture2D(webgl_1761ed58140faf78, webgl_9de92215c25a272d)); (webgl_3fe39558d14f1ebf = (webgl_7d76b3ec59278c21.x * webgl_5efa8fc582d794d)); (webgl_23f9b362ce2fb0d3 = (webgl_9f5732f509c34d7f.y * 0.00390625)); (webgl_6ceba4f76b24a1fd = (webgl_7d76b3ec59278c21.y / webgl_7d76b3ec59278c21.x)); (webgl_a32bc509c38c1817 = float((webgl_23f9b362ce2fb0d3 >= webgl_6ceba4f76b24a1fd))); (webgl_c9ba1b6ef9006bea = ((webgl_a32bc509c38c1817 * 5.0500002) - 0.050000001)); (webgl_547144534b41d6bc = (1.0 - (webgl_c9ba1b6ef9006bea * (webgl_23f9b362ce2fb0d3 - webgl_6ceba4f76b24a1fd)))); (webgl_49807ae688a017de = min(1.0, webgl_547144534b41d6bc)); (webgl_626efebbe738026c = max(0.0, webgl_49807ae688a017de)); (webgl_8c10868a397601d8 = (webgl_3fe39558d14f1ebf * webgl_626efebbe738026c)); (webgl_49807ae688a017de = min(1.0, webgl_8c10868a397601d8)); (webgl_b733f66be4485cfa = max(0.0, webgl_49807ae688a017de)); (webgl_2d43583dbf546f1f = (1.0 - webgl_b733f66be4485cfa)); (webgl_edb90c5a67740fb5 = (webgl_edb90c5a67740fb5 * webgl_2d43583dbf546f1f)); (webgl_d711f7a5c5c20aa1 = (webgl_ef39924cf32fce32 * webgl_bb4939001653a9bd.w)); (webgl_fd5ad27d1923fe5f = pow(2.718282, webgl_d711f7a5c5c20aa1)); (webgl_22d81cb00869b9a2 = ((webgl_fd5ad27d1923fe5f - 1.0) * webgl_cedb38096e1a4e45)); (webgl_ede88356f5fca216 = ((webgl_bb4939001653a9bd.xyz + (webgl_bb4939001653a9bd.w * webgl_b215a9d338884fee)) + (webgl_22d81cb00869b9a2 * webgl_edb90c5a67740fb5))); (webgl_55ef597a31c06835 = ((webgl_ede88356f5fca216.xyz * webgl_c210d954aadc9fe1.xyz) * 2.0)); (webgl_ae4e26361165f71c = vec4(webgl_55ef597a31c06835.x, webgl_55ef597a31c06835.y, webgl_55ef597a31c06835.z, webgl_3dca3ec0da672a6f.x)); (webgl_33da3028d28d0851 = ((int(webgl_3dca3ec0da672a6f.y) * 2) * 3)); (webgl_564ebbc625d666d5 = vec3(webgl_79ba60f3d0c09823[int(clamp(float(webgl_33da3028d28d0851), 0.0, float(83)))], webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 1)), 0.0, float(83)))], webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 2)), 0.0, float(83)))])); (webgl_df4965c43db91dd6.x = dot(webgl_d0d3c22edbddf07b.xyz, webgl_564ebbc625d666d5)); (webgl_32d4bf6d3adcad6c = vec3(webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 3)), 0.0, float(83)))], webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 4)), 0.0, float(83)))], webgl_79ba60f3d0c09823[int(clamp(float((webgl_33da3028d28d0851 + 5)), 0.0, float(83)))])); (webgl_df4965c43db91dd6.y = dot(webgl_d0d3c22edbddf07b.xyz, webgl_32d4bf6d3adcad6c)); (webgl_1d9caffa92573e8.xy = webgl_df4965c43db91dd6); (webgl_75b84a54c4f084e = (webgl_3045ea8ea7c7c064.xy / webgl_3045ea8ea7c7c064.w)); (webgl_9d09f8b4c8c0f838 = (webgl_9f5732f509c34d7f - webgl_d5d3009459bd2bf3)); (webgl_9f8551b2c1d4ab6d = length(webgl_9d09f8b4c8c0f838)); (webgl_d68ca8c8b1ee747b = ((webgl_9f8551b2c1d4ab6d - webgl_83b366b8bfed4c90.x) * webgl_83b366b8bfed4c90.y)); (webgl_49807ae688a017de = min(1.0, webgl_d68ca8c8b1ee747b)); (webgl_5b9b4c4fc4e262c6 = max(0.0, webgl_49807ae688a017de)); (webgl_1d9caffa92573e8.z = (1.0 - (webgl_5b9b4c4fc4e262c6 * webgl_83b366b8bfed4c90.z))); (webgl_304f3b563a210bf7 = texture2D(webgl_cd5d398b775910c4, vec2(0.5, 0.5))); (webgl_1d9caffa92573e8.w = webgl_304f3b563a210bf7.x); if ((webgl_9f8551b2c1d4ab6d < -10.0)) { (webgl_75b84a54c4f084e = vec2(0.0, 0.0)); } if ((webgl_1d9caffa92573e8.z < 0.0040000002)) { (webgl_3045ea8ea7c7c064.xy = webgl_75b84a54c4f084e); (webgl_3045ea8ea7c7c064.z = 2.0); (webgl_3045ea8ea7c7c064.w = 1.0); } (webgl_cd5d739a89442851[0] = webgl_1d9caffa92573e8); (webgl_cd5d739a89442851[1] = webgl_d0d3c22edbddf07b); (gl_Position = webgl_3045ea8ea7c7c064); (webgl_78aca2302df3d888 = webgl_ae4e26361165f71c); } GLSL IR for shader 406: ( (declare (shader_in ) float gl_FogCoord) (declare (shader_in ) vec4 gl_MultiTexCoord7) (declare (shader_in ) vec4 gl_MultiTexCoord6) (declare (shader_in ) vec4 gl_MultiTexCoord5) (declare (shader_in ) vec4 gl_MultiTexCoord4) (declare (shader_in ) vec4 gl_MultiTexCoord3) (declare (shader_in ) vec4 gl_MultiTexCoord2) (declare (shader_in ) vec4 gl_MultiTexCoord1) (declare (shader_in ) vec4 gl_MultiTexCoord0) (declare (shader_in ) vec4 gl_SecondaryColor) (declare (shader_in ) vec4 gl_Color) (declare (shader_in ) vec3 gl_Normal) (declare (shader_in ) vec4 gl_Vertex) (declare (shader_out ) vec4 gl_BackSecondaryColor) (declare (shader_out ) vec4 gl_FrontSecondaryColor) (declare (shader_out ) vec4 gl_BackColor) (declare (shader_out ) vec4 gl_FrontColor) (declare (shader_out ) vec4 gl_ClipVertex) (declare (shader_out ) float gl_FogFragCoord) (declare (shader_out ) (array vec4 0) gl_TexCoord) (declare (shader_out ) float gl_PointSize) (declare (shader_out ) vec4 gl_Position) (declare (uniform ) gl_FogParameters gl_Fog) (declare (uniform ) (array vec4 8) gl_ObjectPlaneQ) (declare (uniform ) (array vec4 8) gl_ObjectPlaneR) (declare (uniform ) (array vec4 8) gl_ObjectPlaneT) (declare (uniform ) (array vec4 8) gl_ObjectPlaneS) (declare (uniform ) (array vec4 8) gl_EyePlaneQ) (declare (uniform ) (array vec4 8) gl_EyePlaneR) (declare (uniform ) (array vec4 8) gl_EyePlaneT) (declare (uniform ) (array vec4 8) gl_EyePlaneS) (declare (uniform ) (array vec4 8) gl_TextureEnvColor) (declare (uniform ) (array gl_LightProducts 8) gl_BackLightProduct) (declare (uniform ) (array gl_LightProducts 8) gl_FrontLightProduct) (declare (uniform ) gl_LightModelProducts gl_BackLightModelProduct) (declare (uniform ) gl_LightModelProducts gl_FrontLightModelProduct) (declare (uniform ) (array gl_LightSourceParameters 8) gl_LightSource) (declare (uniform ) gl_MaterialParameters gl_BackMaterial) (declare (uniform ) gl_MaterialParameters gl_FrontMaterial) (declare (uniform ) gl_PointParameters gl_Point) (declare (uniform ) (array vec4 8) gl_ClipPlane) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverseTranspose) (declare (uniform ) (array mat4 8) gl_TextureMatrixTranspose) (declare (uniform ) (array mat4 8) gl_TextureMatrixInverse) (declare (uniform ) (array mat4 8) gl_TextureMatrix) (declare (uniform ) vec4 gl_FogParamsOptimizedMESA) (declare (uniform ) gl_LightModelParameters gl_LightModel) (declare (uniform ) float gl_NormalScale) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverseTranspose) (declare (uniform ) mat4 gl_ProjectionMatrixInverseTranspose) (declare (uniform ) mat4 gl_ModelViewMatrixInverseTranspose) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixTranspose) (declare (uniform ) mat4 gl_ProjectionMatrixTranspose) (declare (uniform ) mat4 gl_ModelViewMatrixTranspose) (declare (uniform ) mat4 gl_ModelViewProjectionMatrixInverse) (declare (uniform ) mat4 gl_ProjectionMatrixInverse) (declare (uniform ) mat4 gl_ModelViewMatrixInverse) (declare (uniform ) mat3 gl_NormalMatrix) (declare (uniform ) mat4 gl_ModelViewProjectionMatrix) (declare (uniform ) mat4 gl_ProjectionMatrix) (declare (uniform ) mat4 gl_ModelViewMatrix) (declare (uniform ) (array vec4 56) gl_CurrentAttribFragMESA) (declare (uniform ) (array vec4 33) gl_CurrentAttribVertMESA) (declare (uniform ) gl_DepthRangeParameters gl_DepthRange) (declare (uniform ) int gl_NumSamples) (declare () int gl_MaxTextureCoords) (declare () int gl_MaxTextureUnits) (declare () int gl_MaxClipPlanes) (declare () int gl_MaxLights) (declare () int gl_MaxFragmentUniformComponents) (declare () int gl_MaxVaryingFloats) (declare () int gl_MaxVertexUniformComponents) (declare () int gl_MaxDrawBuffers) (declare () int gl_MaxTextureImageUnits) (declare () int gl_MaxCombinedTextureImageUnits) (declare () int gl_MaxVertexTextureImageUnits) (declare () int gl_MaxVertexAttribs) (declare (shader_out ) vec4 webgl_78aca2302df3d888) (declare (shader_out ) (array vec4 2) webgl_cd5d739a89442851) (declare (shader_in ) vec4 webgl_745b1a8d96d5b871) (declare (shader_in ) vec4 webgl_bb4939001653a9bd) (declare (shader_in ) vec4 webgl_c210d954aadc9fe1) (declare (shader_in ) vec4 webgl_3dca3ec0da672a6f) (declare () vec4 webgl_ae4e26361165f71c) (declare () vec4 webgl_3045ea8ea7c7c064) (declare () vec4 webgl_d0d3c22edbddf07b) (declare () vec4 webgl_1d9caffa92573e8) (declare () vec4 webgl_304f3b563a210bf7) (declare () float webgl_49807ae688a017de) (declare () float webgl_22d81cb00869b9a2) (declare () float webgl_2d43583dbf546f1f) (declare () float webgl_a32bc509c38c1817) (declare () vec4 webgl_7d76b3ec59278c21) (declare () vec3 webgl_460f2c6181af89a8) (declare () vec3 webgl_37875316a0927d41) (declare () vec3 webgl_416900816e97208a) (declare () float webgl_c5dbf84c6d47e2b9) (declare () float webgl_6dc25aa92db43c2e) (declare () vec4 webgl_bb6cd7e63250237e) (declare () float webgl_cbc398bb61c09ecb) (declare () float webgl_4c7b987693cfdf0) (declare () float webgl_252a1682c5599149) (declare () vec3 webgl_737d8ab4e249a6e) (declare () float webgl_3fe39558d14f1ebf) (declare () float webgl_23f9b362ce2fb0d3) (declare () float webgl_6ceba4f76b24a1fd) (declare () float webgl_c9ba1b6ef9006bea) (declare () vec2 webgl_9de92215c25a272d) (declare () float webgl_547144534b41d6bc) (declare () float webgl_626efebbe738026c) (declare () float webgl_8c10868a397601d8) (declare () float webgl_b733f66be4485cfa) (declare () float webgl_fd5ad27d1923fe5f) (declare () float webgl_d711f7a5c5c20aa1) (declare () vec3 webgl_564ebbc625d666d5) (declare () vec3 webgl_32d4bf6d3adcad6c) (declare () float webgl_d68ca8c8b1ee747b) (declare () float webgl_5b9b4c4fc4e262c6) (declare (uniform ) float webgl_ef39924cf32fce32) (declare (uniform ) float webgl_cedb38096e1a4e45) (declare (uniform ) sampler2D webgl_cd5d398b775910c4) (declare (uniform ) (array vec4 4) webgl_32327e0b537619bc) (declare (uniform ) vec4 webgl_2d0b63a3e379bbda) (declare (uniform ) vec3 webgl_d5d3009459bd2bf3) (declare (uniform ) vec3 webgl_b215a9d338884fee) (declare (uniform ) vec3 webgl_83b366b8bfed4c90) (declare (uniform ) (array vec4 2) webgl_c40d86917598e4ab) (declare (uniform ) float webgl_a9bc5b43a137802e) (declare (uniform ) vec4 webgl_45cce8cf9597d10b) (declare (uniform ) float webgl_5efa8fc582d794d) (declare (uniform ) sampler2D webgl_1761ed58140faf78) (declare (uniform ) (array float 42) webgl_145566e4ae829a0a) (declare (uniform ) (array float 84) webgl_79ba60f3d0c09823) (declare (uniform ) float webgl_90d9b3d02688d6dd) (function main (signature void (parameters ) ( (declare () vec3 webgl_55ef597a31c06835) (declare () float webgl_9f8551b2c1d4ab6d) (declare () vec2 webgl_75b84a54c4f084e) (declare () int webgl_33da3028d28d0851) (declare () vec2 webgl_df4965c43db91dd6) (declare () vec3 webgl_edb90c5a67740fb5) (declare () vec3 webgl_764592c061e0a5d9) (declare () int webgl_ecefd7080615a6bf) (declare () vec3 webgl_9f5732f509c34d7f) (declare () vec3 webgl_9c65cae3b8413910) (declare () int webgl_c78aa57a2d7560f0) (declare () int webgl_fd22cd7277c74f85) (assign (x) (var_ref webgl_fd22cd7277c74f85) (expression int f2i (expression float * (swiz w (var_ref webgl_c210d954aadc9fe1) )(constant float (256.000000)) ) ) ) (assign (x) (var_ref webgl_c78aa57a2d7560f0) (expression int f2i (expression float * (expression float i2f (var_ref webgl_fd22cd7277c74f85) ) (constant float (0.062500)) ) ) ) (assign (x) (var_ref webgl_9c65cae3b8413910) (expression float * (expression float * (expression float + (expression float i2f (expression int + (var_ref webgl_fd22cd7277c74f85) (expression int neg (expression int * (var_ref webgl_c78aa57a2d7560f0) (constant int (16)) ) ) ) ) (constant float (-7.000000)) ) (constant float (0.142857)) ) (var_ref webgl_90d9b3d02688d6dd) ) ) (assign (y) (var_ref webgl_9c65cae3b8413910) (expression float + (expression float * (expression float / (swiz w (var_ref webgl_745b1a8d96d5b871) )(constant float (256.000000)) ) (constant float (2.000000)) ) (constant float (-0.500000)) ) ) (assign (z) (var_ref webgl_9c65cae3b8413910) (expression float * (expression float * (expression float + (expression float i2f (var_ref webgl_c78aa57a2d7560f0) ) (constant float (-7.000000)) ) (constant float (0.142857)) ) (var_ref webgl_90d9b3d02688d6dd) ) ) (assign (xyz) (var_ref webgl_bb6cd7e63250237e) (expression vec3 + (swiz xyz (var_ref webgl_745b1a8d96d5b871) )(var_ref webgl_9c65cae3b8413910) ) ) (assign (xyz) (var_ref webgl_9f5732f509c34d7f) (expression vec3 + (swiz xyz (var_ref webgl_2d0b63a3e379bbda) )(expression vec3 * (swiz xyz (var_ref webgl_bb6cd7e63250237e) )(swiz w (var_ref webgl_2d0b63a3e379bbda) )) ) ) (assign (xyzw) (var_ref webgl_3045ea8ea7c7c064) (expression vec4 + (expression vec4 + (expression vec4 + (expression vec4 * (swiz xxxx (var_ref webgl_9f5732f509c34d7f) )(array_ref (var_ref webgl_32327e0b537619bc) (constant int (0)) ) ) (expression vec4 * (swiz yyyy (var_ref webgl_9f5732f509c34d7f) )(array_ref (var_ref webgl_32327e0b537619bc) (constant int (1)) ) ) ) (expression vec4 * (swiz zzzz (var_ref webgl_9f5732f509c34d7f) )(array_ref (var_ref webgl_32327e0b537619bc) (constant int (2)) ) ) ) (array_ref (var_ref webgl_32327e0b537619bc) (constant int (3)) ) ) ) (assign (x) (var_ref webgl_ecefd7080615a6bf) (expression int * (expression int f2i (swiz z (var_ref webgl_3dca3ec0da672a6f) )) (constant int (3)) ) ) (declare (temporary ) float clamp_retval) (call clamp (var_ref clamp_retval) ((expression float i2f (var_ref webgl_ecefd7080615a6bf) ) (constant float (0.000000)) (constant float (41.000000)) )) (declare (temporary ) float clamp_retval@6070) (call clamp (var_ref clamp_retval@6070) ((expression float i2f (expression int + (var_ref webgl_ecefd7080615a6bf) (constant int (1)) ) ) (constant float (0.000000)) (constant float (41.000000)) )) (declare (temporary ) float clamp_retval@6071) (call clamp (var_ref clamp_retval@6071) ((expression float i2f (expression int + (var_ref webgl_ecefd7080615a6bf) (constant int (2)) ) ) (constant float (0.000000)) (constant float (41.000000)) )) (declare (temporary ) vec3 vec_ctor) (assign (x) (var_ref vec_ctor) (array_ref (var_ref webgl_145566e4ae829a0a) (expression int f2i (var_ref clamp_retval) ) ) ) (assign (y) (var_ref vec_ctor) (array_ref (var_ref webgl_145566e4ae829a0a) (expression int f2i (var_ref clamp_retval@6070) ) ) ) (assign (z) (var_ref vec_ctor) (array_ref (var_ref webgl_145566e4ae829a0a) (expression int f2i (var_ref clamp_retval@6071) ) ) ) (assign (xyz) (var_ref webgl_764592c061e0a5d9) (var_ref vec_ctor) ) (declare (temporary ) float dot_retval) (call dot (var_ref dot_retval) ((var_ref vec_ctor) (swiz xyz (array_ref (var_ref webgl_c40d86917598e4ab) (constant int (0)) ) ))) (assign (x) (var_ref webgl_6dc25aa92db43c2e) (var_ref dot_retval) ) (declare (temporary ) float min_retval) (call min (var_ref min_retval) ((constant float (1.000000)) (expression float neg (var_ref dot_retval) ) )) (assign (x) (var_ref webgl_49807ae688a017de) (var_ref min_retval) ) (declare (temporary ) float max_retval) (call max (var_ref max_retval) ((constant float (0.000000)) (var_ref min_retval) )) (assign (x) (var_ref webgl_252a1682c5599149) (var_ref max_retval) ) (assign (xyz) (var_ref webgl_edb90c5a67740fb5) (expression vec3 * (swiz xyz (array_ref (var_ref webgl_c40d86917598e4ab) (constant int (1)) ) )(expression float + (constant float (1.000000)) (expression float * (var_ref webgl_a9bc5b43a137802e) (expression float + (var_ref max_retval) (constant float (-1.000000)) ) ) ) ) ) (assign (xz) (var_ref webgl_d0d3c22edbddf07b) (swiz xz (var_ref webgl_745b1a8d96d5b871) )) (assign (y) (var_ref webgl_d0d3c22edbddf07b) (expression float + (swiz y (var_ref webgl_745b1a8d96d5b871) )(expression float b2f (expression bool >= (swiz y (var_ref webgl_9c65cae3b8413910) )(constant float (0.500000)) ) ) ) ) (declare (temporary ) vec3 floor_retval) (call floor (var_ref floor_retval) ((expression vec3 neg (var_ref webgl_764592c061e0a5d9) ) )) (assign (xyz) (var_ref webgl_416900816e97208a) (var_ref floor_retval) ) (declare (temporary ) vec3 floor_retval@6072) (call floor (var_ref floor_retval@6072) ((var_ref webgl_764592c061e0a5d9) )) (assign (xyz) (var_ref webgl_37875316a0927d41) (var_ref floor_retval@6072) ) (declare (temporary ) float conditional_tmp) (if (expression bool < (swiz x (var_ref webgl_764592c061e0a5d9) )(constant float (0.000000)) ) ( (assign (x) (var_ref conditional_tmp) (swiz x (expression vec3 neg (var_ref webgl_416900816e97208a) ) )) ) ( (assign (x) (var_ref conditional_tmp) (swiz x (var_ref floor_retval@6072) )) )) (declare (temporary ) float conditional_tmp@6073) (if (expression bool < (swiz y (var_ref webgl_764592c061e0a5d9) )(constant float (0.000000)) ) ( (assign (x) (var_ref conditional_tmp@6073) (swiz y (expression vec3 neg (var_ref webgl_416900816e97208a) ) )) ) ( (assign (x) (var_ref conditional_tmp@6073) (swiz y (var_ref floor_retval@6072) )) )) (declare (temporary ) float conditional_tmp@6074) (if (expression bool < (swiz z (var_ref webgl_764592c061e0a5d9) )(constant float (0.000000)) ) ( (assign (x) (var_ref conditional_tmp@6074) (swiz z (expression vec3 neg (var_ref webgl_416900816e97208a) ) )) ) ( (assign (x) (var_ref conditional_tmp@6074) (swiz z (var_ref floor_retval@6072) )) )) (declare (temporary ) vec3 vec_ctor@6075) (assign (x) (var_ref vec_ctor@6075) (var_ref conditional_tmp) ) (assign (y) (var_ref vec_ctor@6075) (var_ref conditional_tmp@6073) ) (assign (z) (var_ref vec_ctor@6075) (var_ref conditional_tmp@6074) ) (assign (xyz) (var_ref webgl_460f2c6181af89a8) (var_ref vec_ctor@6075) ) (assign (xyz) (var_ref webgl_d0d3c22edbddf07b) (expression vec3 + (expression vec3 + (swiz xyz (var_ref webgl_2d0b63a3e379bbda) )(expression vec3 * (swiz xyz (var_ref webgl_d0d3c22edbddf07b) )(swiz w (var_ref webgl_2d0b63a3e379bbda) )) ) (expression vec3 neg (expression vec3 * (constant float (0.001000)) (var_ref vec_ctor@6075) ) ) ) ) (assign (w) (var_ref webgl_d0d3c22edbddf07b) (expression float * (swiz w (var_ref webgl_3dca3ec0da672a6f) )(constant float (0.003922)) ) ) (declare (temporary ) vec4 texture2D_retval) (call texture2D (var_ref texture2D_retval) ((var_ref webgl_1761ed58140faf78) (expression vec2 * (expression vec2 + (swiz xz (var_ref webgl_9f5732f509c34d7f) )(expression vec2 neg (swiz xy (var_ref webgl_45cce8cf9597d10b) )) ) (swiz zw (var_ref webgl_45cce8cf9597d10b) )) )) (assign (xyzw) (var_ref webgl_7d76b3ec59278c21) (var_ref texture2D_retval) ) (assign (x) (var_ref webgl_3fe39558d14f1ebf) (expression float * (swiz x (var_ref texture2D_retval) )(var_ref webgl_5efa8fc582d794d) ) ) (assign (x) (var_ref webgl_23f9b362ce2fb0d3) (expression float * (swiz y (var_ref webgl_9f5732f509c34d7f) )(constant float (0.003906)) ) ) (assign (x) (var_ref webgl_6ceba4f76b24a1fd) (expression float / (swiz y (var_ref texture2D_retval) )(swiz x (var_ref texture2D_retval) )) ) (declare (temporary ) float min_retval@6076) (call min (var_ref min_retval@6076) ((constant float (1.000000)) (expression float + (constant float (1.000000)) (expression float neg (expression float * (expression float + (expression float * (expression float b2f (expression bool >= (var_ref webgl_23f9b362ce2fb0d3) (var_ref webgl_6ceba4f76b24a1fd) ) ) (constant float (5.050000)) ) (expression float neg (constant float (0.050000)) ) ) (expression float + (var_ref webgl_23f9b362ce2fb0d3) (expression float neg (var_ref webgl_6ceba4f76b24a1fd) ) ) ) ) ) )) (assign (x) (var_ref webgl_49807ae688a017de) (var_ref min_retval@6076) ) (declare (temporary ) float max_retval@6077) (call max (var_ref max_retval@6077) ((constant float (0.000000)) (var_ref min_retval@6076) )) (assign (x) (var_ref webgl_626efebbe738026c) (var_ref max_retval@6077) ) (declare (temporary ) float min_retval@6078) (call min (var_ref min_retval@6078) ((constant float (1.000000)) (expression float * (var_ref webgl_3fe39558d14f1ebf) (var_ref max_retval@6077) ) )) (assign (x) (var_ref webgl_49807ae688a017de) (var_ref min_retval@6078) ) (declare (temporary ) float max_retval@6079) (call max (var_ref max_retval@6079) ((constant float (0.000000)) (var_ref min_retval@6078) )) (assign (x) (var_ref webgl_b733f66be4485cfa) (var_ref max_retval@6079) ) (assign (xyz) (var_ref webgl_edb90c5a67740fb5) (expression vec3 * (var_ref webgl_edb90c5a67740fb5) (expression float + (constant float (1.000000)) (expression float neg (var_ref max_retval@6079) ) ) ) ) (declare (temporary ) float pow_retval) (call pow (var_ref pow_retval) ((constant float (2.718282)) (expression float * (var_ref webgl_ef39924cf32fce32) (swiz w (var_ref webgl_bb4939001653a9bd) )) )) (assign (x) (var_ref webgl_fd5ad27d1923fe5f) (var_ref pow_retval) ) (assign (xyz) (var_ref webgl_55ef597a31c06835) (expression vec3 * (expression vec3 * (expression vec3 + (expression vec3 + (swiz xyz (var_ref webgl_bb4939001653a9bd) )(expression vec3 * (swiz w (var_ref webgl_bb4939001653a9bd) )(var_ref webgl_b215a9d338884fee) ) ) (expression vec3 * (expression float * (expression float + (var_ref pow_retval) (constant float (-1.000000)) ) (var_ref webgl_cedb38096e1a4e45) ) (var_ref webgl_edb90c5a67740fb5) ) ) (swiz xyz (var_ref webgl_c210d954aadc9fe1) )) (constant float (2.000000)) ) ) (declare (temporary ) vec4 vec_ctor@6080) (assign (x) (var_ref vec_ctor@6080) (swiz x (var_ref webgl_55ef597a31c06835) )) (assign (y) (var_ref vec_ctor@6080) (swiz y (var_ref webgl_55ef597a31c06835) )) (assign (z) (var_ref vec_ctor@6080) (swiz z (var_ref webgl_55ef597a31c06835) )) (assign (w) (var_ref vec_ctor@6080) (swiz x (var_ref webgl_3dca3ec0da672a6f) )) (assign (xyzw) (var_ref webgl_ae4e26361165f71c) (var_ref vec_ctor@6080) ) (assign (x) (var_ref webgl_33da3028d28d0851) (expression int * (constant int (6)) (expression int f2i (swiz y (var_ref webgl_3dca3ec0da672a6f) )) ) ) (declare (temporary ) float clamp_retval@6081) (call clamp (var_ref clamp_retval@6081) ((expression float i2f (var_ref webgl_33da3028d28d0851) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) float clamp_retval@6082) (call clamp (var_ref clamp_retval@6082) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (1)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) float clamp_retval@6083) (call clamp (var_ref clamp_retval@6083) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (2)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) vec3 vec_ctor@6084) (assign (x) (var_ref vec_ctor@6084) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@6081) ) ) ) (assign (y) (var_ref vec_ctor@6084) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@6082) ) ) ) (assign (z) (var_ref vec_ctor@6084) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@6083) ) ) ) (assign (xyz) (var_ref webgl_564ebbc625d666d5) (var_ref vec_ctor@6084) ) (declare (temporary ) float dot_retval@6085) (call dot (var_ref dot_retval@6085) ((swiz xyz (var_ref webgl_d0d3c22edbddf07b) )(var_ref vec_ctor@6084) )) (assign (x) (var_ref webgl_df4965c43db91dd6) (var_ref dot_retval@6085) ) (declare (temporary ) float clamp_retval@6086) (call clamp (var_ref clamp_retval@6086) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (3)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) float clamp_retval@6087) (call clamp (var_ref clamp_retval@6087) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (4)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) float clamp_retval@6088) (call clamp (var_ref clamp_retval@6088) ((expression float i2f (expression int + (var_ref webgl_33da3028d28d0851) (constant int (5)) ) ) (constant float (0.000000)) (constant float (83.000000)) )) (declare (temporary ) vec3 vec_ctor@6089) (assign (x) (var_ref vec_ctor@6089) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@6086) ) ) ) (assign (y) (var_ref vec_ctor@6089) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@6087) ) ) ) (assign (z) (var_ref vec_ctor@6089) (array_ref (var_ref webgl_79ba60f3d0c09823) (expression int f2i (var_ref clamp_retval@6088) ) ) ) (assign (xyz) (var_ref webgl_32d4bf6d3adcad6c) (var_ref vec_ctor@6089) ) (declare (temporary ) float dot_retval@6090) (call dot (var_ref dot_retval@6090) ((swiz xyz (var_ref webgl_d0d3c22edbddf07b) )(var_ref vec_ctor@6089) )) (assign (y) (var_ref webgl_df4965c43db91dd6) (var_ref dot_retval@6090) ) (assign (xy) (var_ref webgl_1d9caffa92573e8) (var_ref webgl_df4965c43db91dd6) ) (assign (xy) (var_ref webgl_75b84a54c4f084e) (expression vec2 / (swiz xy (var_ref webgl_3045ea8ea7c7c064) )(swiz w (var_ref webgl_3045ea8ea7c7c064) )) ) (declare (temporary ) float length_retval) (call length (var_ref length_retval) ((expression vec3 + (var_ref webgl_9f5732f509c34d7f) (expression vec3 neg (var_ref webgl_d5d3009459bd2bf3) ) ) )) (assign (x) (var_ref webgl_9f8551b2c1d4ab6d) (var_ref length_retval) ) (declare (temporary ) float min_retval@6091) (call min (var_ref min_retval@6091) ((constant float (1.000000)) (expression float * (expression float + (var_ref length_retval) (expression float neg (swiz x (var_ref webgl_83b366b8bfed4c90) )) ) (swiz y (var_ref webgl_83b366b8bfed4c90) )) )) (assign (x) (var_ref webgl_49807ae688a017de) (var_ref min_retval@6091) ) (declare (temporary ) float max_retval@6092) (call max (var_ref max_retval@6092) ((constant float (0.000000)) (var_ref min_retval@6091) )) (assign (x) (var_ref webgl_5b9b4c4fc4e262c6) (var_ref max_retval@6092) ) (assign (z) (var_ref webgl_1d9caffa92573e8) (expression float + (constant float (1.000000)) (expression float neg (expression float * (var_ref max_retval@6092) (swiz z (var_ref webgl_83b366b8bfed4c90) )) ) ) ) (declare (temporary ) vec4 texture2D_retval@6093) (call texture2D (var_ref texture2D_retval@6093) ((var_ref webgl_cd5d398b775910c4) (constant vec2 (0.500000 0.500000)) )) (assign (xyzw) (var_ref webgl_304f3b563a210bf7) (var_ref texture2D_retval@6093) ) (assign (w) (var_ref webgl_1d9caffa92573e8) (swiz x (var_ref texture2D_retval@6093) )) (if (expression bool < (var_ref webgl_9f8551b2c1d4ab6d) (constant float (-10.000000)) ) ( (assign (xy) (var_ref webgl_75b84a54c4f084e) (constant vec2 (0.000000 0.000000)) ) ) ()) (if (expression bool < (swiz z (var_ref webgl_1d9caffa92573e8) )(constant float (0.004000)) ) ( (assign (xy) (var_ref webgl_3045ea8ea7c7c064) (var_ref webgl_75b84a54c4f084e) ) (assign (z) (var_ref webgl_3045ea8ea7c7c064) (constant float (2.000000)) ) (assign (w) (var_ref webgl_3045ea8ea7c7c064) (constant float (1.000000)) ) ) ()) (assign (xyzw) (array_ref (var_ref webgl_cd5d739a89442851) (constant int (0)) ) (var_ref webgl_1d9caffa92573e8) ) (assign (xyzw) (array_ref (var_ref webgl_cd5d739a89442851) (constant int (1)) ) (var_ref webgl_d0d3c22edbddf07b) ) (assign (xyzw) (var_ref gl_Position) (var_ref webgl_3045ea8ea7c7c064) ) (assign (xyzw) (var_ref webgl_78aca2302df3d888) (var_ref webgl_ae4e26361165f71c) ) )) )