Maya extra light parameters MAYA extension: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m tiny edits |
||
Line 10: | Line 10: | ||
!width=20%| Element !! Attributes supported !! Description | !width=20%| Element !! Attributes supported !! Description | ||
|- | |- | ||
| <ambient_shade> || sid || Contains one floating point value. Maya ambient lights are a mix of standard OpenGL ambient lights and point lights. This value represents the proportional amount of the Maya ambient light which globally illuminates the scene. The rest of the light illuminates from the position of the Maya ambient light, with attentuation. This element's contents can be animated using the 'sid' attribute. | | <ambient_shade> || sid || Contains one floating-point value. Maya ambient lights are a mix of standard OpenGL ambient lights and point lights. This value represents the proportional amount of the Maya ambient light which globally illuminates the scene. The rest of the light illuminates from the position of the Maya ambient light, with attentuation. This element's contents can be animated using the ''sid'' attribute. | ||
|- | |- | ||
|} | |} |
Revision as of 22:34, 25 June 2007
Extension information |
---|
|
This article is part of the COLLADA extensions directory |
Adding to the extensions directory |
Maya Light Parameters
This <extra> at the <light> level includes extra light parameters supported ColladaMaya to express Maya-specific features.
Currently, there is only one such light parameter, for ambient lights:
Element | Attributes supported | Description |
---|---|---|
<ambient_shade> | sid | Contains one floating-point value. Maya ambient lights are a mix of standard OpenGL ambient lights and point lights. This value represents the proportional amount of the Maya ambient light which globally illuminates the scene. The rest of the light illuminates from the position of the Maya ambient light, with attentuation. This element's contents can be animated using the sid attribute. |
Examples
<light id="ambient-light"> <technique_common> <ambient> <color>1 1 1</color> </ambient> </technique_common> <extra> <technique profile="MAYA"> <ambient_shade>0.45</ambient_shade> </technique> </extra> </light>