Changeset 952 for GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/RenderMonkey/IndirectTexturingShadowsEffect
- Timestamp:
- 05/12/06 09:54:25 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/RenderMonkey/IndirectTexturingShadowsEffect/IndirectTexturingShadowsEffect.rfx
r889 r952 805 805 <RmRegistryBranch NAME="WORKSPACE" API="" XML_VERSION="RenderMonkey 1.6"> 806 806 <RmStringVariable NAME="LAST_SAVE" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 807 3/5/2006 12:31:32]]></RmTextDataBlock></RmStringVariable>807 12/5/2006 9:53:25]]></RmTextDataBlock></RmStringVariable> 808 808 <RmStringVariable NAME="VERSION" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 809 809 RenderMonkey Version 1.6 (build 91)]]></RmTextDataBlock></RmStringVariable> … … 838 838 <RmRegistryBranch NAME="Disassembly" API="" XML_VERSION="RenderMonkey 1.6"/> 839 839 <RmStringVariable NAME="Editing Shader" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 840 VertexShader]]></RmTextDataBlock></RmStringVariable>840 Pixel Shader]]></RmTextDataBlock></RmStringVariable> 841 841 <RmStringVariable NAME="Editing Pass" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 842 DepthTrunkPass]]></RmTextDataBlock></RmStringVariable>842 LeavesIndirectTexturingPass]]></RmTextDataBlock></RmStringVariable> 843 843 <RmIntegerVariable NAME="Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="58" MIN="-10" MAX="10" CLAMP="FALSE"/> 844 844 <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="696" MIN="-10" MAX="10" CLAMP="FALSE"/> … … 877 877 <RmRegistryBranch NAME="RmTextureObjectEditor" API="" XML_VERSION="RenderMonkey 1.6"> 878 878 <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonkey 1.6"> 879 <RmRegistryBranch NAME="Effect Workspace.Shadow Effects.IndirectTexturingShadowsEffect.LeavesIndirectTexturingPass. indirectTexture" API="" XML_VERSION="RenderMonkey 1.6"/>879 <RmRegistryBranch NAME="Effect Workspace.Shadow Effects.IndirectTexturingShadowsEffect.LeavesIndirectTexturingPass.sourceTexture" API="" XML_VERSION="RenderMonkey 1.6"/> 880 880 </RmRegistryBranch> 881 881 <RmRegistryBranch NAME="NodeRepository" API="" XML_VERSION="RenderMonkey 1.6"> … … 1480 1480 float2 newcoord = (float2(1.0, 1.0) - value.zw) + ((coords * sourceTextureSize) / sqrtNumSamples); 1481 1481 ocolor = float4(tex2D(sourceTexture, newcoord).xyzw); 1482 ocolor = float4(Ka * ocolor.xyz + (Kd * diffuse * ocolor.xyz + Ks * specular) * shadow, ocolor.w);1482 ocolor = float4(Ka * ocolor.xyz + (Kd * diffuse * ocolor.xyz + Ks * specular) * shadow, ocolor.w); 1483 1483 } 1484 1484 … … 1618 1618 <RmTextureObject NAME="sourceTexture" API="D3D" STATE_INDEX="3" VERTEX_TEXTURE="FALSE"> 1619 1619 <RmTextureReference NAME="sourceTexture" API=""/> 1620 <RmState NAME="D3DSAMP_MAGFILTER" API="D3D" STATE="5" VALUE="2" USAGE="SAMPLER_STATE"/> 1621 <RmState NAME="D3DSAMP_MINFILTER" API="D3D" STATE="6" VALUE="2" USAGE="SAMPLER_STATE"/> 1622 <RmState NAME="D3DSAMP_MIPFILTER" API="D3D" STATE="7" VALUE="0" USAGE="SAMPLER_STATE"/> 1620 1623 </RmTextureObject> 1621 1624 </RmPass> … … 1809 1812 <RmModelData NAME="Sphere" API="" FILE_NAME=".\Sphere.3ds" ORIENTATION="0"/> 1810 1813 </RmEffectGroup> 1811 <RmVectorVariable NAME="view_position" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="ViewPosition" VALUE_0="- 35.980434" VALUE_1="-195.499359" VALUE_2="-22.031876" VALUE_3="1.000000" MIN="-10.000000" MAX="10.000000" CLAMP="FALSE" NORMALIZE="FALSE"/>1812 <RmMatrixVariable NAME="view_proj_matrix" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="ViewProjection" VALUE_0="1. 166235" VALUE_1="-0.217104" VALUE_2="0.021876" VALUE_3="-0.000005" VALUE_4="0.092175" VALUE_5="0.253403" VALUE_6="-2.399108" VALUE_7="-0.000157" VALUE_8="0.180082" VALUE_9="0.978475" VALUE_10="0.110270" VALUE_11="199.199158" VALUE_12="0.179902" VALUE_13="0.977497" VALUE_14="0.110159" VALUE_15="199.999969"/>1814 <RmVectorVariable NAME="view_position" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="ViewPosition" VALUE_0="-71.222672" VALUE_1="-128.383163" VALUE_2="-17.588064" VALUE_3="1.000000" MIN="-10.000000" MAX="10.000000" CLAMP="FALSE" NORMALIZE="FALSE"/> 1815 <RmMatrixVariable NAME="view_proj_matrix" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="ViewProjection" VALUE_0="1.016186" VALUE_1="-0.587463" VALUE_2="0.173118" VALUE_3="0.000000" VALUE_4="0.448028" VALUE_5="0.076275" VALUE_6="-2.371050" VALUE_7="-0.000046" VALUE_8="0.482154" VALUE_9="0.869111" VALUE_10="0.119065" VALUE_11="147.012634" VALUE_12="0.481672" VALUE_13="0.868242" VALUE_14="0.118946" VALUE_15="147.865631"/> 1813 1816 <RmMatrixVariable NAME="proj_matrix" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="Projection" VALUE_0="1.186472" VALUE_1="0.000000" VALUE_2="0.000000" VALUE_3="0.000000" VALUE_4="0.000000" VALUE_5="2.414213" VALUE_6="0.000000" VALUE_7="0.000000" VALUE_8="0.000000" VALUE_9="0.000000" VALUE_10="1.001001" VALUE_11="-1.001001" VALUE_12="0.000000" VALUE_13="0.000000" VALUE_14="1.000000" VALUE_15="0.000000"/> 1814 <RmFloatVariable NAME="time_0_X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="Time0_X" VALUE=" 103.072510" MIN="-1.000000" MAX="1.000000" CLAMP="FALSE"/>1817 <RmFloatVariable NAME="time_0_X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="Time0_X" VALUE="87.033546" MIN="-1.000000" MAX="1.000000" CLAMP="FALSE"/> 1815 1818 </RmEffectWorkspace> 1816 1819 </RENDER_MONKEY>
Note: See TracChangeset
for help on using the changeset viewer.