Ambient: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
mNo edit summary
Line 4: Line 4:


==Usage==
==Usage==
  ambient ''value''
  ambient ''intensity''


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

Revision as of 23:41, 12 November 2012

Ambient
Vp ambient example.png
Three cubes, with ambient 1.0 (top), 0.5 (middle) and 0.0 (bottom)
Build required 1
Version required 0.3.9


The ambient command sets the ambient component of the current surface lighting properties.

Usage

ambient intensity

Arguments

Intensity
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;

Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb