Specular: Difference between revisions

From Virtual Paradise Wiki
Jump to navigation Jump to search
Aerizeon (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{feature|1|0.3.9}}
{{feature|1|0.3.9}}


The '''specular''' command sets the specularcomponent of the current surface lighting properties.
The '''specular''' command sets the specular component of the current surface lighting properties.
 
{{Clear}}
==Usage==
==Usage==
  specular ''value''
  specular ''intensity'' [''shininess'']


==Arguments==
==Arguments==
;value:A decimal value.
;Intensity : The intensity with which direct light will create a specular effect on the object<br>'''Values:''' Decimals greater than 0.0<br>'''Default:''' 1.0
;Shininess : The rate of falloff of the shine (Lower is more shiny) <br>'''Values:''' Decimals greater than 0.0<br>'''Default:''' 30.0


==Example==
==Example==
  create specular 0.1;
  create specular 1 30;


{{Build}}
{{Build}}
[[Category: Script commands]]
[[Category:Script commands]]

Revision as of 23:38, 12 November 2012

Specular
[[Image:{{{4}}}|center|middle|200x200px]]
{{{5}}}
Build required 1
Version required 0.3.9


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

Usage

specular intensity [shininess]

Arguments

Intensity
The intensity with which direct light will create a specular effect on the object
Values: Decimals greater than 0.0
Default: 1.0
Shininess
The rate of falloff of the shine (Lower is more shiny)
Values: Decimals greater than 0.0
Default: 30.0

Example

create specular 1 30;
Object Scripting

Triggers:

ActivateAdoneBumpBumpendCreate

Commands:

AnimateAnimationAmbientCameraColorDiffuseFrameFramerateGroupLightMoveNameNoiseNormalmapOpacityPathPictureRotateSayShearScaleSignSolidSoundSpecularSpecularmapTeleportTeleportxTeleportxyzTextureUrlVisibleWeb