Sha256: bad051cd8d3c9529b5b31a23afcdc8598f9c223d393b983c3f339d9a46943c74
Contents?: true
Size: 1.7 KB
Versions: 4
Compression:
Stored size: 1.7 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1362249883.0729191:@value"`{I" class:EFI"BundledAsset;FI"logical_path;FI"Shaders/PolygonFS.js;TI" pathname;FI"J/Users/bogumil/www/cesium/app/assets/javascripts/Shaders/PolygonFS.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-02-24T17:37:41+01:00;FI"length;Fi�I"digest;F"%2f0dfff179a9b553a90367351df9bb2bI"source;FI"�// This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "uniform float u_morphTime;\n\ \n\ varying vec3 v_positionMC;\n\ varying vec3 v_positionEC;\n\ varying vec2 v_textureCoordinates;\n\ \n\ void main()\n\ {\n\ czm_materialInput materialInput;\n\ \n\ // TODO: Real 1D distance, and better 3D coordinate\n\ materialInput.st = v_textureCoordinates;\n\ materialInput.str = vec3(v_textureCoordinates, 0.0);\n\ materialInput.positionMC = v_positionMC;\n\ \n\ //Convert tangent space material normal to eye space\n\ materialInput.normalEC = normalize(czm_normal3D * czm_geodeticSurfaceNormal(v_positionMC, vec3(0.0), vec3(1.0)));\n\ materialInput.tangentToEyeMatrix = czm_eastNorthUpToEyeCoordinates(v_positionMC, materialInput.normalEC);\n\ \n\ //Convert view vector to world space\n\ vec3 positionToEyeEC = -v_positionEC; \n\ materialInput.positionToEyeEC = positionToEyeEC;\n\ \n\ czm_material material = czm_getMaterial(materialInput);\n\ \n\ gl_FragColor = czm_phong(normalize(positionToEyeEC), material);\n\ }\n\ "; }); ;FI"required_assets_digest;F"%b450f478808174a4ac6a7c53f6eba4cbI" _version;F"%6776f581a4329e299531e1d52aa59832
Version data entries
4 entries across 4 versions & 1 rubygems