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>FragmentOperation</title> 7 <link rel="stylesheet" href="../css/mainpage.css" type="text/css" /> 8 </head> 9 <body> 10 <h1><FragmentOperation></h1> 11 <h2>Description</h2> 12 <p> 13 Fragment operations. 14 15 This element is positioned next after FragmentShader properties to make intermediate file output easier to view. 16 </p> 17 18<h2>Example Output</h2> 19 20<table> 21<tr> 22<td><pre> 23<Materials><br> 24 <MaterialCtr Name="lambert2" IsCompressible="true" IsFragmentLightEnabled="true" IsVertexLightEnabled="false" IsHemiSphereLightEnabled="false" IsHemiSphereOcclusionEnabled="false" IsFogEnabled="false" TextureCoordinateConfig="Config0120" TranslucencyKind="Opaque" ShaderProgramDescriptionIndex="-1" ShaderBinaryKind="Default"><br> 25 <ShaderReference /><br> 26 <MaterialColor VertexColorScale="1"><br> 27 <Emission R="0" G="0" B="0" A="0" /><br> 28 <Ambient R="1" G="1" B="1" A="0" /><br> 29 <Diffuse R="1" G="1" B="1" A="1" /><br> 30 <Specular0 R="1" G="1" B="1" A="0" /><br> 31 <Specular1 R="0" G="0" B="0" A="0" /><br> 32 <Constant0 R="0" G="0" B="0" A="1" /><br> 33 <Constant1 R="0" G="0" B="0" A="1" /><br> 34 <Constant2 R="0" G="0" B="0" A="1" /><br> 35 <Constant3 R="0" G="0" B="0" A="1" /><br> 36 <Constant1 R="0" G="0" B="0" A="1" /><br> 37 <Constant5 R="0" G="0" B="0" A="1" /><br> 38 </MaterialColor><br> 39 <Rasterization CullingMode="BackFace" IsPolygonOffsetEnabled="false" PolygonOffsetFactor="0" PolygonOffsetUnit="0" /><br> 40 <TextureCoordinators><br> 41 <TextureCoordinatorCtr SourceCoordinate="0" MappingMethod="UvCoordinateMap" ReferenceCamera="0" MatrixMode="DccMaya" ScaleS="1" ScaleT="1" Rotate="0" TranslateS="0" TranslateT="0" /><br> 42 </TextureCoordinators><br> 43 <TextureMappers><br> 44 <PixelBasedTextureMapperCtr><br> 45 <TextureReference>Textures["Number.1"]@file:Textures/Number.1.ctex</TextureReference><br> 46 <StandardTextureSamplerCtr MinFilter="Linear" MagFilter="Linear" WrapS="Repeat" WrapT="Repeat" MinLod="0" LodBias="0"><br> 47 <BorderColor R="0" G="0" B="0" A="1" /><br> 48 </StandardTextureSamplerCtr><br> 49 </PixelBasedTextureMapperCtr><br> 50 </TextureMappers><br> 51 <FragmentShader LayerConfig="ConfigurationType0"><br> 52 <BufferColor R="0" G="0" B="0" A="1" /><br> 53 <FragmentBump BumpTextureIndex="Texture0" BumpMode="NotUsed" IsBumpRenormalize="false" /><br> 54 <FragmentLighting FresnelConfig="No" IsClampHighLight="false" IsDistribution0Enabled="false" IsDistribution1Enabled="false" IsGeometricFactor0Enabled="false" IsGeometricFactor1Enabled="false" IsReflectionEnabled="false" /><br> 55 <FragmentLightingTable><br> 56 <ReflectanceRSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 57 <NullLookupTableCtr /><br> 58 </ReflectanceRSampler><br> 59 <ReflectanceGSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 60 <NullLookupTableCtr /><br> 61 </ReflectanceGSampler><br> 62 <ReflectanceBSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 63 <NullLookupTableCtr /><br> 64 </ReflectanceBSampler><br> 65 <Distribution0Sampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 66 <NullLookupTableCtr /><br> 67 </Distribution0Sampler><br> 68 <Distribution1Sampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 69 <NullLookupTableCtr /><br> 70 </Distribution1Sampler><br> 71 <FresnelSampler IsAbs="true" Input="CosNormalHalf" Scale="One"><br> 72 <NullLookupTableCtr /><br> 73 </FresnelSampler><br> 74 </FragmentLightingTable><br> 75 <TextureCombiners><br> 76 <TextureCombinerCtr CombineRgb="Modulate" CombineAlpha="Modulate" ScaleRgb="One" ScaleAlpha="One" Constant="Constant0" BufferInputRgb="PreviousBuffer" BufferInputAlpha="PreviousBuffer"><br> 77 <SourceRgb Source0="FragmentPrimaryColor" Source1="Texture0" Source2="Constant" /><br> 78 <OperandRgb Operand0="Color" Operand1="Color" Operand2="Color" /><br> 79 <SourceAlpha Source0="PrimaryColor" Source1="Texture0" Source2="Constant" /><br> 80 <OperandAlpha Operand0="Alpha" Operand1="Alpha" Operand2="Alpha" /><br> 81 </TextureCombinerCtr><br> 82 </TextureCombiners><br> 83 <AlphaTest IsTestEnabled="false" TestFunction="Always" TestReference="0" /><br> 84 </FragmentShader><br> 85 <strong><FragmentOperation></strong><br> 86 <DepthOperation IsTestEnabled="true" TestFunction="Less" IsMaskEnabled="true" /><br> 87 <BlendOperation Mode="NotUsed" LogicOperation="Copy"><br> 88 <RgbParameter BlendFunctionSource="SourceAlpha" BlendFunctionDestination="OneMinusSourceAlpha" BlendEquation="FuncAdd" /><br> 89 <AlphaParameter BlendFunctionSource="One" BlendFunctionDestination="Zero" BlendEquation="FuncAdd" /><br> 90 <BlendColor R="0" G="0" B="0" A="1" /><br> 91 </BlendOperation><br> 92 <strong></FragmentOperation></strong><br> 93 </MaterialCtr><br> 94</Materials><br> 95</pre></td> 96</tr></table> 97 <hr><p>CONFIDENTIAL</p></body> 98</html>