Sha256: 5dad983c7f58de610b821e5774a8d404cfce7d8e2e633244f734c7766ded6484
Contents?: true
Size: 1.5 KB
Versions: 2
Compression:
Stored size: 1.5 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1389617750.727385:@value"“{I" class:ETI"BundledAsset; FI"logical_path; TI"5Shaders/Appearances/BasicMaterialAppearanceFS.js; TI" pathname; TI"n/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Appearances/BasicMaterialAppearanceFS.js; FI"content_type; TI"application/javascript; TI" mtime; TI"2014-01-13T10:29:05+01:00; TI"length; TiuI"digest; TI"%f092e58a75612820610b246de60d4b91; FI"source; TI"u //This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "varying vec3 v_positionEC;\n\ varying vec3 v_normalEC;\n\ \n\ void main()\n\ {\n\ vec3 positionToEyeEC = -v_positionEC; \n\ \n\ vec3 normalEC;\n\ #ifdef FACE_FORWARD\n\ normalEC = normalize(faceforward(v_normalEC, vec3(0.0, 0.0, 1.0), -v_normalEC));\n\ #else\n\ normalEC = normalize(v_normalEC);\n\ #endif\n\ \n\ czm_materialInput materialInput;\n\ materialInput.normalEC = normalEC;\n\ materialInput.positionToEyeEC = positionToEyeEC;\n\ czm_material material = czm_getMaterial(materialInput);\n\ \n\ #ifdef FLAT \n\ gl_FragColor = vec4(material.diffuse + material.emission, material.alpha);\n\ #else\n\ gl_FragColor = czm_phong(normalize(positionToEyeEC), material);\n\ #endif\n\ }\n\ "; }); ; TI"required_assets_digest; TI"%158dfb2941f189894cea9254478540aa; FI" _version; TI"%6776f581a4329e299531e1d52aa59832; F
Version data entries
2 entries across 2 versions & 1 rubygems