/usr/share/osgearth/maps/clouds.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 25 26 27 28 | <!--
osgEarth Sample - Rendering a cloud layer with a layer shader
-->
<map name="Imagery with clouds" type="geocentric">
<options>
<terrain driver="rex"/>
</options>
<image name="readymap_imagery" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/7/</url>
</image>
<image name="clouds" driver="osg">
<url>/usr/share/osgearth/data/cloud_combined_2048.jpg</url>
<profile>global-geodetic</profile>
<shader>
<![CDATA[
#version 330
#pragma vp_entryPoint alphaOut
#pragma vp_location fragment_coloring
void alphaOut(inout vec4 color) {
color.a *= clamp(distance(color.rgb, vec3(0.0,0.0,0.0)), 0.0, 1.0);
}
]]>
</shader>
</image>
</map>
|