/usr/share/osgearth/maps/glsl.earth is in osgearth-data 2.9.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | <!--
osgEarth Sample - GLSL in the Earth File.
-->
<map>
<options>
<terrain driver="rex"></terrain>
</options>
<image driver="gdal" name="world-tiff">
<url>/usr/share/osgearth/data/world.tif</url>
<caching_policy usage="no_cache"/>
<shader>
<![CDATA[
#pragma vp_entryPoint invert
#pragma vp_location fragment_coloring
void invert(inout vec4 color)
{
color.rgb = 1.0-color.rgb;
}
]]>
</shader>
</image>
</map>
|