1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <title>MaterialColor</title> 7 <link rel="stylesheet" href="../css/mainpage.css" type="text/css" /> 8 </head> 9 <body> 10 <h1><MaterialColor></h1> 11 <h2>Description</h2> 12 <p> 13 Material color 14 </p> 15 <h2>Attributes</h2> 16 <table class="arguments"> 17<thead><tr><td>Type</td><td>Attributes</td><td>Description</td></tr></thead><tr><td /><th>VertexColorScale</th><td> 18 The scale for vertex color. 19 </td></tr></table> 20 21<h2>Example Output</h2> 22 23<table> 24<tr> 25<td><pre> 26<Materials><br> 27 <MaterialCtr Name="lambert2" IsCompressible="true" IsFragmentLightEnabled="true" IsVertexLightEnabled="false" IsHemiSphereLightEnabled="false" IsHemiSphereOcclusionEnabled="false" IsFogEnabled="false" TextureCoordinateConfig="Config0120" TranslucencyKind="Opaque" ShaderProgramDescriptionIndex="-1" ShaderBinaryKind="Default"><br> 28 <ShaderReference /><br> 29 <strong><MaterialColor VertexColorScale="1"></strong><br> 30 <Emission R="0" G="0" B="0" A="0" /><br> 31 <Ambient R="1" G="1" B="1" A="0" /><br> 32 <Diffuse R="1" G="1" B="1" A="1" /><br> 33 <Specular0 R="1" G="1" B="1" A="0" /><br> 34 <Specular1 R="0" G="0" B="0" A="0" /><br> 35 <Constant0 R="0" G="0" B="0" A="1" /><br> 36 <Constant1 R="0" G="0" B="0" A="1" /><br> 37 <Constant2 R="0" G="0" B="0" A="1" /><br> 38 <Constant3 R="0" G="0" B="0" A="1" /><br> 39 <Constant1 R="0" G="0" B="0" A="1" /><br> 40 <Constant5 R="0" G="0" B="0" A="1" /><br> 41 <strong></MaterialColor></strong><br> 42 <Rasterization CullingMode="BackFace" IsPolygonOffsetEnabled="false" PolygonOffsetFactor="0" PolygonOffsetUnit="0" /><br> 43 <TextureCoordinators><br> 44 <TextureCoordinatorCtr SourceCoordinate="0" MappingMethod="UvCoordinateMap" ReferenceCamera="0" MatrixMode="DccMaya" ScaleS="1" ScaleT="1" Rotate="0" TranslateS="0" TranslateT="0" /><br> 45 </TextureCoordinators><br> 46 <TextureMappers><br> 47 <PixelBasedTextureMapperCtr><br> 48 <TextureReference>Textures["Number.1"]@file:Textures/Number.1.ctex</TextureReference><br> 49 <StandardTextureSamplerCtr MinFilter="Linear" MagFilter="Linear" WrapS="Repeat" WrapT="Repeat" MinLod="0" LodBias="0"><br> 50 <BorderColor R="0" G="0" B="0" A="1" /><br> 51 </StandardTextureSamplerCtr><br> 52 </PixelBasedTextureMapperCtr><br> 53 </TextureMappers><br> 54 <FragmentShader LayerConfig="ConfigurationType0"><br> 55 <BufferColor R="0" G="0" B="0" A="1" /><br> 56 <FragmentBump BumpTextureIndex="Texture0" BumpMode="NotUsed" IsBumpRenormalize="false" /><br> 57 <FragmentLighting FresnelConfig="No" IsClampHighLight="false" IsDistribution0Enabled="false" IsDistribution1Enabled="false" IsGeometricFactor0Enabled="false" IsGeometricFactor1Enabled="false" IsReflectionEnabled="false" /><br> 58 <FragmentLightingTable><br> 59 <ReflectanceRSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 60 <NullLookupTableCtr /><br> 61 </ReflectanceRSampler><br> 62 <ReflectanceGSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 63 <NullLookupTableCtr /><br> 64 </ReflectanceGSampler><br> 65 <ReflectanceBSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 66 <NullLookupTableCtr /><br> 67 </ReflectanceBSampler><br> 68 <Distribution0Sampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 69 <NullLookupTableCtr /><br> 70 </Distribution0Sampler><br> 71 <Distribution1Sampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 72 <NullLookupTableCtr /><br> 73 </Distribution1Sampler><br> 74 <FresnelSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 75 <NullLookupTableCtr /><br> 76 </FresnelSampler><br> 77 </FragmentLightingTable><br> 78 <TextureCombiners><br> 79 <TextureCombinerCtr CombineRgb="Modulate" CombineAlpha="Modulate" ScaleRgb="One" ScaleAlpha="One" Constant="Constant0" BufferInputRgb="PreviousBuffer" BufferInputAlpha="PreviousBuffer"><br> 80 <SourceRgb Source0="FragmentPrimaryColor" Source1="Texture0" Source2="Constant" /><br> 81 <OperandRgb Operand0="Color" Operand1="Color" Operand2="Color" /><br> 82 <SourceAlpha Source0="PrimaryColor" Source1="Texture0" Source2="Constant" /><br> 83 <OperandAlpha Operand0="Alpha" Operand1="Alpha" Operand2="Alpha" /><br> 84 </TextureCombinerCtr><br> 85 </TextureCombiners><br> 86 <AlphaTest IsTestEnabled="false" TestFunction="Always" TestReference="0" /><br> 87 </FragmentShader><br> 88 <FragmentOperation><br> 89 <DepthOperation IsTestEnabled="true" TestFunction="Less" IsMaskEnabled="true" /><br> 90 <BlendOperation Mode="NotUsed" LogicOperation="Copy"><br> 91 <RgbParameter BlendFunctionSource="SourceAlpha" BlendFunctionDestination="OneMinusSourceAlpha" BlendEquation="FuncAdd" /><br> 92 <AlphaParameter BlendFunctionSource="One" BlendFunctionDestination="Zero" BlendEquation="FuncAdd" /><br> 93 <BlendColor R="0" G="0" B="0" A="1" /><br> 94 </BlendOperation><br> 95 </FragmentOperation><br> 96 </MaterialCtr><br> 97</Materials><br> 98</pre></td> 99</tr></table> 100 <hr><p>CONFIDENTIAL</p></body> 101</html>