Material FX Composer 2 extension

From COLLADA Public Wiki
Revision as of 22:26, 13 June 2007 by Mlaban (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<material id="Material" name="New_Effect_Material">
   <instance_effect url="#Effect">
       <technique_hint platform="PS3" ref="Main"/>
       <technique_hint platform="PC-OGL" ref="Main"/>
       <setparam ref="Script">
           <float>0.8</float>
       </setparam>
       <setparam ref="WorldITXf">
           <float4x4>2.64034 0 0 0 0 2.64034 0 0 0 0 2.64034 0 -0 -4.09349 -3.88875 
       </setparam>
       <setparam ref="WvpXf">
           <float4x4>0.826384 -1.51316e-008 -0.826384 -3.2136 -0.424814 0.849628 -0.
       </setparam>
       <setparam ref="WorldXf">
           <float4x4>0.378739 0 0 0 0 0.378739 0 1.55037 0 0 0.378739 1.47282 0 0 0 
       </setparam>
       <setparam ref="ViewIXf">
           <float4x4>0.707107 -0.408248 0.57735 3.07478 -2.04465e-009 0.816497 0.577
       </setparam>
       <setparam ref="Lamp0Pos">
           <float3>0 1.55037 1.47282</float3>
       </setparam>
       <setparam ref="Lamp0Color">
           <float3>1 1 1</float3>
       </setparam>
       <setparam ref="AmbiColor">
           <float3>0.07 0.07 0.07</float3>
       </setparam>
       <setparam ref="Ks">
           <float>0.4</float>
       </setparam>
       <setparam ref="Eccentricity">
           <float>0.3</float>
       </setparam>
       <setparam ref="Bump">
           <float>1</float>
       </setparam>
       <setparam ref="Kr">
           <float>0.5</float>
       </setparam>
       <setparam ref="ColorTexture">
           <surface type="2D">
               <init_from>default_color</init_from>
               <format>R8G8B8</format>
               <size>1024 512 1</size>
           </surface>
       </setparam>
       <setparam ref="NormalTexture">
           <surface type="2D">
               <init_from>default_bump_normal</init_from>
               <format>R8G8B8A8</format>
               <size>1024 512 1</size>
           </surface>
       </setparam>
       <setparam ref="EnvTexture">
           <surface type="CUBE">
               <init_from>default_reflection</init_from>
               <format>R8G8B8A8</format>
               <size>512 512 1</size>
           </surface>
       </setparam>
   </instance_effect>
   <extra type="bind_object">
       <technique profile="NV_bind_object">
           <bind_object object="pointlight0" target="#Node2" sid="FXLightInstance"/>
       </technique>
   </extra>
</material>