Sha256: 37f76a5508a472d364d8dcc0b255ea893b78e27d54d0dd44b4bea28bf5d38baf
Contents?: true
Size: 1.95 KB
Versions: 2
Compression:
Stored size: 1.95 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1389617752.26736:@value"`{I" class:ETI"ProcessedAsset; FI"logical_path; TI"3Shaders/Builtin/Functions/getLambertDiffuse.js; FI" pathname; TI"l/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Builtin/Functions/getLambertDiffuse.js; FI"content_type; TI"application/javascript; TI" mtime; TI"2014-01-13T10:29:06+01:00; TI"length; TiÐI"digest; TI"%1fa4c172f54c1bc7ef01de8e06fff94f; FI"source; TI"Ð //This file is automatically rebuilt by the Cesium build process. /*global define*/ define(function() { "use strict"; return "/**\n\ * Calculates the intensity of diffusely reflected light.\n\ *\n\ * @name czm_getLambertDiffuse\n\ * @glslFunction\n\ *\n\ * @param {vec3} lightDirectionEC Unit vector pointing to the light source in eye coordinates.\n\ * @param {vec3} normalEC The surface normal in eye coordinates.\n\ *\n\ * @returns {float} The intensity of the diffuse reflection.\n\ *\n\ * @see czm_phong\n\ *\n\ * @example\n\ * float diffuseIntensity = czm_getLambertDiffuse(lightDirectionEC, normalEC);\n\ * float specularIntensity = czm_getSpecular(lightDirectionEC, toEyeEC, normalEC, 200);\n\ * vec3 color = (diffuseColor * diffuseIntensity) + (specularColor * specularIntensity);\n\ */\n\ float czm_getLambertDiffuse(vec3 lightDirectionEC, vec3 normalEC)\n\ {\n\ return max(dot(lightDirectionEC, normalEC), 0.0);\n\ }"; }); ; TI"dependency_digest; TI"%6936a486e79ce0e2567c5d9f93176994; FI"required_paths; T[I"l/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Builtin/Functions/getLambertDiffuse.js; FI"dependency_paths; T[{I" path; TI"l/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Builtin/Functions/getLambertDiffuse.js; FI" mtime; TI"2014-01-13T10:29:06+01:00; TI"digest; TI"%03f440877a174a1e3d4d336106123ba8; FI" _version; TI"%6776f581a4329e299531e1d52aa59832; F
Version data entries
2 entries across 2 versions & 1 rubygems