Sha256: 6538e64f3d2530c217d1d7e70392a3de9ac6127621ce6c4a8adc3d2e0326f9d6

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1372843473.152171:@value"�{I"
class:EFI"BundledAsset;FI"logical_path;FI".Shaders/Materials/CheckerboardMaterial.js;TI"
pathname;FI"f/Users/bwrona/www/engines/cesium/app/assets/javascripts/Shaders/Materials/CheckerboardMaterial.js;TI"content_type;FI"application/javascript;FI"
mtime;FI"2013-07-03T11:16:47+02:00;FI"length;Fi�I"digest;F"%691b51b03bab830fc981b9043273feebI"source;FI"�//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 vec2 repeat;\n\
czm_material czm_getMaterial(czm_materialInput materialInput)\n\
{\n\
czm_material material = czm_getDefaultMaterial(materialInput);\n\
vec2 st = materialInput.st;\n\
float b = mod(floor(repeat.s * st.s) + floor(repeat.t * st.t), 2.0);\n\
float scaledWidth = fract(repeat.s * st.s);\n\
scaledWidth = abs(scaledWidth - floor(scaledWidth + 0.5));\n\
float scaledHeight = fract(repeat.t * st.t);\n\
scaledHeight = abs(scaledHeight - floor(scaledHeight + 0.5));\n\
float value = min(scaledWidth, scaledHeight);\n\
vec4 currentColor = mix(lightColor, darkColor, b);\n\
vec4 color = czm_antialias(lightColor, darkColor, currentColor, value, 0.03);\n\
material.diffuse = color.rgb;\n\
material.alpha = color.a;\n\
return material;\n\
}\n\
";
});
;FI"required_assets_digest;F"%9694c490259d3ea9579564510d846e2eI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cesium-0.18.0 test/dummy/tmp/cache/assets/D58/7E0/sprockets%2Fda13d3e0211dc209272fd4c5bce40e85