Sha256: ef276950fbd5e1e9d1098a72f7c8ff1a910f047a2aa182feb6d47f17718a1f48

Contents?: true

Size: 1.48 KB

Versions: 2

Compression:

Stored size: 1.48 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1381798608.0611992:@value"}{I"
class:ETI"BundledAsset;FI"logical_path;TI"1Shaders/PostProcessFilters/GaussianBlur1D.js;TI"
pathname;TI"j/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/PostProcessFilters/GaussianBlur1D.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2013-10-15T02:54:58+02:00;TI"length;TigI"digest;TI"%a4aee8b544a6af71c6bdeb84ab951dbe;FI"source;TI"g    //This file is automatically rebuilt by the Cesium build process.
    /*global define*/

    define(function() {
    "use strict";
    return "#define SAMPLES 8\n\
uniform float delta;\n\
uniform float sigma;\n\
uniform float direction;\n\
uniform sampler2D u_texture;\n\
uniform vec2 u_step;\n\
varying vec2 v_textureCoordinates;\n\
void main()\n\
{\n\
vec2 st = v_textureCoordinates;\n\
vec2 dir = vec2(1.0 - direction, direction);\n\
vec3 g;\n\
g.x = 1.0 / (sqrt(czm_twoPi) * sigma);\n\
g.y = exp((-0.5 * delta * delta) / (sigma * sigma));\n\
g.z = g.y * g.y;\n\
vec4 result = texture2D(u_texture, st) * g.x;\n\
for (int i = 1; i < SAMPLES; ++i)\n\
{\n\
g.xy *= g.yz;\n\
vec2 offset = float(i) * dir * u_step;\n\
result += texture2D(u_texture, st - offset) * g.x;\n\
result += texture2D(u_texture, st + offset) * g.x;\n\
}\n\
gl_FragColor = result;\n\
}\n\
";
});
;TI"required_assets_digest;TI"%0fbc340ae0bd1b27ea7ea80ab3a3144c;FI"
_version;TI"%6776f581a4329e299531e1d52aa59832;F

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cesium-0.23.0 test/dummy/tmp/cache/assets/D09/020/sprockets%2F5176362c460747d5ebeb6c2ca3e02d84
cesium-0.22.0 test/dummy/tmp/cache/assets/D09/020/sprockets%2F5176362c460747d5ebeb6c2ca3e02d84