Sha256: fbefedf2bbc9e41239fff817a0d484a14a34980bebf204e9ad91bce8bcab3ee4

Contents?: true

Size: 1.52 KB

Versions: 2

Compression:

Stored size: 1.52 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1380709797.5169249:@value"�{I"
class:ETI"BundledAsset;FI"logical_path;TI"!Shaders/CentralBodyFSPole.js;TI"
pathname;TI"Z/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/CentralBodyFSPole.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2013-10-02T12:16:28+02:00;TI"length;Ti�I"digest;TI"%876471b31959265e478bad7aec8951af;FI"source;TI"�    //This file is automatically rebuilt by the Cesium build process.
    /*global define*/

    define(function() {
    "use strict";
    return "uniform vec3 u_color;\n\
varying vec2 v_textureCoordinates;\n\
void main()\n\
{\n\
czm_ellipsoid ellipsoid = czm_getWgs84EllipsoidEC();\n\
vec3 direction = normalize(czm_windowToEyeCoordinates(gl_FragCoord).xyz);\n\
czm_ray ray = czm_ray(vec3(0.0), direction);\n\
czm_raySegment intersection = czm_rayEllipsoidIntersectionInterval(ray, ellipsoid);\n\
if (!czm_isEmpty(intersection))\n\
{\n\
vec3 positionEC = czm_pointAlongRay(ray, intersection.start);\n\
vec3 positionMC = (czm_inverseModelView * vec4(positionEC, 1.0)).xyz;\n\
vec3 normalMC = normalize(czm_geodeticSurfaceNormal(positionMC, vec3(0.0), vec3(1.0)));\n\
vec3 normalEC = normalize(czm_normal * normalMC);\n\
vec3 startDayColor = u_color;\n\
gl_FragColor = vec4(startDayColor, 1.0);\n\
}\n\
else\n\
{\n\
discard;\n\
}\n\
}\n\
";
});
;TI"required_assets_digest;TI"%d69c2dc5cce720ef1ce9453412fc5e8c;FI"
_version;TI"%6776f581a4329e299531e1d52aa59832;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cesium-0.21.1 test/dummy/tmp/cache/assets/D25/8F0/sprockets%2Fe3a1889ce707ebc28d6943ecd4282697
cesium-0.21 test/dummy/tmp/cache/assets/D25/8F0/sprockets%2Fe3a1889ce707ebc28d6943ecd4282697