Open main menu

CDOT Wiki β

Changes

Canvas 3D - Light Tag

1 byte removed, 18:42, 20 October 2006
no edit summary
== Introduction ==
The sounrce source of light in a 3D world can be one of many types. These types are limited to Ambient (a light source from all directions) and Diffuse (Light cast from one point in a direction).
== Tag Attributes ==
* color
** '''Usage:''' <light color="#FF00FF" />.
** This determines the color of the light that is eing being cast on the object. This values should be in Hex format.
* position
** '''Usage:''' <light position="0.3, 0.6, 2.1" />.
** The ''orientation'' defines the direction the light source is pointing at.
** This attribute only applies to Diffuse Lighting and is ignored if used in another case.
** The default is {0.0, 0.0, 1.0} if ommitedomited.
== Syntax ==
1
edit