Parameter | Type | Description |
param | float[] | The fog parameter data. |
N/A
Sets graphical fog parameters. The fog feature is always enabled, so to hide the effect set the density parameter to 0.0.
The parameters are formatted as follows:
Index | Name | Description |
0 | density | Fog density, normalized |
1 | start | Fog start distance |
2 | end | Fog end distance |
import agan
class game():
def create(self):
return self
#
def update(self):
agan.fogparam([ 0.5, 1.0, 10.0 ])
#
def close(self):
pass