File: simplesky.rst

package info (click to toggle)
osgearth 2.7.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 49,960 kB
  • ctags: 18,411
  • sloc: cpp: 253,210; ansic: 43,140; xml: 1,637; objc: 405; makefile: 210; python: 29; sh: 20
file content (24 lines) | stat: -rw-r--r-- 821 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Simple Sky
==========
Sky model that implements atmospheric scattering and lighting according to the
Sam O'Neil GPU Gems article.

Example usage::

    <map>
        <options>
            <sky driver               = "simple"
			     hours                = "0.0"
                 ambient              = "0.05"
				 atmospheric_lighting = "true" 
				 exposure             = "3.0"  />

Properties:

    :atmospheric_lighting: Whether to apply the atmospheric scattering model to the scene
	                       under the Sky node. If you set this to false, you will get 
						   basic Phong lighting instead.
    :exposure:             Exposure level to apply to the scattering model, which simulates
	                       the wash-out effect of viewing terrain through the atmosphere.
   
.. include:: sky_shared.rst