Maya extra light parameters MAYA extension: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Glaforte (talk | contribs)
No edit summary
 
Glaforte (talk | contribs)
No edit summary
Line 1: Line 1:
{{extensions|company=Feeling Software|product=[[ColladaMaya]]}}
{{extensions|company=Feeling Software|product=[[FCollada|ColladaMaya]]}}


== Maya Light Parameters ==
== Maya Light Parameters ==

Revision as of 23:35, 24 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>