Diffuse: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Aerizeon (talk | contribs)
mNo edit summary
Aerizeon (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{clear}}
{{clear}}
==Usage==
==Usage==
  diffuse ''value''
  '''diffuse''' ''intensity''


==Arguments==
==Arguments==
;value : The intensity with which diffuse light will effect the object<br>'''Values:''' Decimals between 0.0 and 1.0 <br>'''Default:''' 0.5
;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 12: Line 12:


{{Build}}
{{Build}}
[[Category:Action Commands]]
[[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;
Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb