Sha256: 4108f6744e0d569cd816e78809cb8b3fa62f2c7644d73642f8bc0336e48011b8
Contents?: true
Size: 1.69 KB
Versions: 2
Compression:
Stored size: 1.69 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1380709796.0172842:@value"Y{I" class:ETI"BundledAsset;FI"logical_path;TI"3Shaders/Appearances/AllMaterialAppearanceFS.js;TI" pathname;TI"l/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Appearances/AllMaterialAppearanceFS.js;FI"content_type;TI"application/javascript;TI" mtime;TI"2013-10-02T12:16:28+02:00;TI"length;Ti?I"digest;TI"%13a7e7ff6b3850321ef74a526e900aea;FI"source;TI"? //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\ varying vec3 v_tangentEC;\n\ varying vec3 v_binormalEC;\n\ varying vec2 v_st;\n\ void main()\n\ {\n\ vec3 positionToEyeEC = -v_positionEC;\n\ mat3 tangentToEyeMatrix = czm_tangentToEyeSpaceMatrix(v_normalEC, v_tangentEC, v_binormalEC);\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\ czm_materialInput materialInput;\n\ materialInput.normalEC = normalEC;\n\ materialInput.tangentToEyeMatrix = tangentToEyeMatrix;\n\ materialInput.positionToEyeEC = positionToEyeEC;\n\ materialInput.st = v_st;\n\ czm_material material = czm_getMaterial(materialInput);\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"%aa2070226c345bceb065e2b0153484af;FI" _version;TI"%6776f581a4329e299531e1d52aa59832;F
Version data entries
2 entries across 2 versions & 1 rubygems