Sha256: bc0b93517224b2f242afa57f5ac9291de92ebda42fe7938d409027401099ca3b

Contents?: true

Size: 1.44 KB

Versions: 2

Compression:

Stored size: 1.44 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1380709798.0130491:@value"]{I"
class:ETI"BundledAsset;FI"logical_path;TI"(Shaders/Materials/StripeMaterial.js;TI"
pathname;TI"a/Users/bogumil/www/engines/cesium/app/assets/javascripts/Shaders/Materials/StripeMaterial.js;FI"content_type;TI"application/javascript;TI"
mtime;TI"2013-10-02T12:16:28+02:00;TI"length;TiYI"digest;TI"%b6c531a3ff0478524a1fdf9c755b0078;FI"source;TI"Y    //This file is automatically rebuilt by the Cesium build process.
    /*global define*/

    define(function() {
    "use strict";
    return "uniform vec4 lightColor;\n\
uniform vec4 darkColor;\n\
uniform float offset;\n\
uniform float repeat;\n\
uniform bool horizontal;\n\
czm_material czm_getMaterial(czm_materialInput materialInput)\n\
{\n\
czm_material material = czm_getDefaultMaterial(materialInput);\n\
float coord = mix(materialInput.st.s, materialInput.st.t, float(horizontal));\n\
float value = fract((coord - offset) * (repeat * 0.5));\n\
float dist = min(value, min(abs(value - 0.5), 1.0 - value));\n\
vec4 currentColor = mix(lightColor, darkColor, step(0.5, value));\n\
vec4 color = czm_antialias(lightColor, darkColor, currentColor, dist);\n\
material.diffuse = color.rgb;\n\
material.alpha = color.a;\n\
return material;\n\
}\n\
";
});
;TI"required_assets_digest;TI"%1e310da2255ea861784d440b71fce7d4;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/D85/050/sprockets%2Fa9b35663e7dc78eacde8d84ae3599163
cesium-0.21 test/dummy/tmp/cache/assets/D85/050/sprockets%2Fa9b35663e7dc78eacde8d84ae3599163