Diffuse: Difference between revisions
Jump to navigation
Jump to search
Added detail |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{feature|1|0.3.9}} | {{feature|1|0.3.9| |Vp_diffuse_example.png|Three cubes, with diffuse 1.0 (top), 0.5 (middle) and 0.0 (bottom) }} | ||
The '''diffuse''' command sets the diffuse component of the current surface lighting properties. | The '''diffuse''' command sets the diffuse component of the current surface lighting properties. | ||
{{clear}} | |||
==Usage== | ==Usage== | ||
diffuse '' | '''diffuse''' ''intensity'' | ||
==Arguments== | ==Arguments== | ||
; | ;Intensity : The intensity with which diffuse light will effect the object<br>'''Values:''' Decimals between 0.0 and 1.0 <br>'''Default:''' 0.5 | ||
==Example== | ==Example== | ||
Line 13: | Line 12: | ||
{{Build}} | {{Build}} | ||
[[Category: | [[Category: Script commands]] |
Latest revision as of 00:01, 13 November 2012
Diffuse | ||
---|---|---|
Three cubes, with diffuse 1.0 (top), 0.5 (middle) and 0.0 (bottom) | ||
Build required | 1 | |
Version required | 0.3.9 |
The diffuse command sets the diffuse component of the current surface lighting properties.
Usage
diffuse intensity
Arguments
- Intensity
- The intensity with which diffuse light will effect the object
Values: Decimals between 0.0 and 1.0
Default: 0.5
Example
create diffuse 1;
|
|
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 |