Ambient: Difference between revisions
Jump to navigation
Jump to search
m Added arguments |
No edit summary |
||
Line 1: | Line 1: | ||
[[Image:Vp_ambient_example.png|frame|Two cubes, with ambient 0.2 (top) and ambient 1.0 (bottom)]] | |||
The '''ambient''' command sets the ambient component of the current surface lighting properties. | The '''ambient''' command sets the ambient component of the current surface lighting properties. | ||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
<br> | |||
==Usage== | ==Usage== | ||
ambient ''value'' | ambient ''value'' | ||
==Arguments== | ==Arguments== | ||
;value: | ;value :The intensity with which ambient light will effect the object<br>'''Values:''' Decimals between 0.0 and 1.0 <br>'''Default:''' 1.0 | ||
==Example== | ==Example== | ||
[[create]] ambient 0. | [[create]] ambient 0.2; | ||
---- | |||
{{Build}} | {{Build}} | ||
[[Category:Action Commands]] | [[Category:Action Commands]] |
Revision as of 00:16, 12 November 2012
The ambient command sets the ambient component of the current surface lighting properties.
Usage
ambient value
Arguments
- value
- The intensity with which ambient light will effect the object
Values: Decimals between 0.0 and 1.0
Default: 1.0
Example
create ambient 0.2;
|
|
Triggers: |
|
Commands: |
Animate • Animation • Ambient • Camera • Color • Diffuse • Frame • Framerate • Group • Light • Move • Name • Noise • Normalmap • Opacity • Path • Picture • Rotate • Say • Shear • Scale • Sign • Solid • Sound • Specular • Specularmap • Teleport • Teleportx • Teleportxyz • Texture • Url • Visible • Web |