1----
2
3Fading
4~~~~~~
5When fading is supported on a model layer, you can control it like so::
6
7    <model ...
8        <fading duration  = "1.0"
9                max_range = "6000"
10                attenuation_distance = "1000" />
11
12Properties:
13
14    :duration:              Time over which to fade in (seconds)
15    :max_range:             Distance at which to start the fade-in
16    :attenuation_distance:  Distance over which to fade in
17
18
19Shader Policy
20~~~~~~~~~~~~~
21Some drivers support a *shader policy* that lets you control how (or whether)
22to generate shaders for external geometry. For example, if you want to load
23an external model via a stylesheet, but do NOT want osgEarth to generate
24shaders for it::
25
26    <model ...
27        <shader_policy>disable</shader_policy>
28