Sha256: ff1f7cf8d9b6fcad36f3122eac1b5faf2911504899616d287ebc9356672d7226

Contents?: true

Size: 1.8 KB

Versions: 1

Compression:

Stored size: 1.8 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1372843472.4223628:@value"�{I"
class:EFI"ProcessedAsset;FI"logical_path;FI"!Shaders/CentralBodyFSPole.js;TI"
pathname;FI"Y/Users/bwrona/www/engines/cesium/app/assets/javascripts/Shaders/CentralBodyFSPole.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-07-03T11:16:47+02:00;FI"length;Fi�I"digest;F"%0d6ff9f07fc4a8470c86b1df6ffcf404I"source;FI"�//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\
";
});
;FI"dependency_digest;F"%06ee71e400503d5a230723115dfb00a6I"required_paths;F[I"Y/Users/bwrona/www/engines/cesium/app/assets/javascripts/Shaders/CentralBodyFSPole.js;TI"dependency_paths;F[{I"	path;FI"Y/Users/bwrona/www/engines/cesium/app/assets/javascripts/Shaders/CentralBodyFSPole.js;TI"
mtime;FI"2013-07-03T11:16:47+02:00;FI"digest;F"%5e69317276f1a88fc8becc080560caf3I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cesium-0.18.0 test/dummy/tmp/cache/assets/DD5/E90/sprockets%2Fbf5fcc4bacd1ddf62e0f54d887991360