Diffuse: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Oliver (talk | contribs)
Added detail
Aerizeon (talk | contribs)
mNo edit summary
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 ''value''
  diffuse ''value''


==Arguments==
==Arguments==
;value:A decimal value ranging from 0.0 to 1.0.
;value : 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==

Revision as of 01:39, 12 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 value

Arguments

value
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;
Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb