Maya extra light parameters MAYA extension

From COLLADA Public Wiki
Jump to navigation Jump to search
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>