Sha256: 62b5a5c12ca5fd41627af6e260bd9c431c22dee2c7b85c8c6df9e7234c1575af

Contents?: true

Size: 1.77 KB

Versions: 4

Compression:

Stored size: 1.77 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1362249883.141129:@value"�{I"
class:EFI"BundledAsset;FI"logical_path;FI"&Shaders/ReprojectWebMercatorFS.js;TI"
pathname;FI"W/Users/bogumil/www/cesium/app/assets/javascripts/Shaders/ReprojectWebMercatorFS.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-02-24T17:37:41+01:00;FI"length;Fi�I"digest;F"%dfbf819a6a066d560d4ba517863ed7a6I"source;FI"�// This file is automatically rebuilt by the Cesium build process.
/*global define*/

define(function() {
    "use strict";
    return "uniform sampler2D u_texture;\n\
\n\
uniform float u_northLatitude;\n\
uniform float u_southLatitude;\n\
uniform float u_southMercatorYHigh;\n\
uniform float u_southMercatorYLow;\n\
uniform float u_oneOverMercatorHeight;\n\
\n\
varying vec2 v_textureCoordinates;\n\
\n\
void main()\n\
{\n\
    // The clamp below works around an apparent bug in Chrome Canary v23.0.1241.0\n\
    // where the fragment shader sees textures coordinates < 0.0 and > 1.0 for the\n\
    // fragments on the edges of tiles even though the vertex shader is outputting\n\
    // coordinates strictly in the 0-1 range.\n\
    vec2 geographicUV = clamp(v_textureCoordinates, 0.0, 1.0);\n\
    vec2 webMercatorUV = geographicUV;\n\
    \n\
    float currentLatitude = mix(u_southLatitude, u_northLatitude, geographicUV.y);\n\
    float fraction = czm_latitudeToWebMercatorFraction(currentLatitude, u_southMercatorYLow, u_southMercatorYHigh, u_oneOverMercatorHeight);\n\
    \n\
    webMercatorUV = vec2(geographicUV.x, fraction);\n\
    \n\
    gl_FragColor = texture2D(u_texture, webMercatorUV);\n\
}\n\
";
});
;FI"required_assets_digest;F"%dca8fd87e48f3708b2cc005362d13a0aI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cesium-0.24.0 test/dummy/tmp/cache/assets/D71/6E0/sprockets%2F8c3e23061d8826cf63999adbe4a0d5ba
cesium-0.23.0 test/dummy/tmp/cache/assets/D71/6E0/sprockets%2F8c3e23061d8826cf63999adbe4a0d5ba
cesium-0.22.0 test/dummy/tmp/cache/assets/D71/6E0/sprockets%2F8c3e23061d8826cf63999adbe4a0d5ba
cesium-0.14.0 test/dummy/tmp/cache/assets/D71/6E0/sprockets%2F8c3e23061d8826cf63999adbe4a0d5ba