Changeset 952
- Timestamp:
- 05/12/06 09:54:25 (19 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/RenderMonkey
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/IBRBillboardCloudTrees/RenderMonkey/IndirectTexturingEffect/IndirectTexturingEffect.rfx
r888 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:32:7]]></RmTextDataBlock></RmStringVariable>807 12/5/2006 9:47:34]]></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> … … 823 823 <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="350" MIN="-10" MAX="10" CLAMP="FALSE"/> 824 824 <RmIntegerVariable NAME="Height" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="350" MIN="-10" MAX="10" CLAMP="FALSE"/> 825 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE=" 3" MIN="-10" MAX="10" CLAMP="FALSE"/>825 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/> 826 826 <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/> 827 827 <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/> … … 869 869 <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonkey 1.6"> 870 870 <RmRegistryBranch NAME="Effect Workspace.IndirectTexturing Effects.indirectTexturingGL.IndirectTexturing.sourceTexture" API="" XML_VERSION="RenderMonkey 1.6"/> 871 <RmRegistryBranch NAME="Effect Workspace.IndirectTexturing Effects.indirectTexturingDX.IndirectTexturing.sourceTexture" API="" XML_VERSION="RenderMonkey 1.6"/> 871 872 </RmRegistryBranch> 872 873 <RmRegistryBranch NAME="NodeRepository" API="" XML_VERSION="RenderMonkey 1.6"> … … 887 888 <RmIntegerVariable NAME="Height" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="255" MIN="-10" MAX="10" CLAMP="FALSE"/> 888 889 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/> 889 <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE=" 0" MIN="-10" MAX="10" CLAMP="FALSE"/>890 <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/> 890 891 <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/> 891 892 <RmIntegerVariable NAME="Minimized Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/> … … 907 908 Pixel Shader]]></RmTextDataBlock></RmStringVariable> 908 909 <RmStringVariable NAME="Editing Pass" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 909 TrunkPass]]></RmTextDataBlock></RmStringVariable>910 IndirectTexturing]]></RmTextDataBlock></RmStringVariable> 910 911 <RmIntegerVariable NAME="Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="29" MIN="-10" MAX="10" CLAMP="FALSE"/> 911 912 <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="696" MIN="-10" MAX="10" CLAMP="FALSE"/> 912 913 <RmIntegerVariable NAME="Height" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="255" MIN="-10" MAX="10" CLAMP="FALSE"/> 913 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE=" 1" MIN="-10" MAX="10" CLAMP="FALSE"/>914 <RmIntegerVariable NAME="ShowStatus" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="3" MIN="-10" MAX="10" CLAMP="FALSE"/> 914 915 <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/> 915 916 <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/> … … 1112 1113 ocolor = float4(tex2D(sourceTexture, newcoord).xyzw); 1113 1114 } 1114 1115 1115 1116 return ocolor; 1116 1117 }]]></RmShaderCode> … … 1155 1156 <RmTextureObject NAME="sourceTexture" API="D3D" STATE_INDEX="1" VERTEX_TEXTURE="FALSE"> 1156 1157 <RmTextureReference NAME="sourceTexture" API=""/> 1158 <RmState NAME="D3DSAMP_MAGFILTER" API="D3D" STATE="5" VALUE="2" USAGE="SAMPLER_STATE"/> 1159 <RmState NAME="D3DSAMP_MIPFILTER" API="D3D" STATE="7" VALUE="0" USAGE="SAMPLER_STATE"/> 1160 <RmState NAME="D3DSAMP_MINFILTER" API="D3D" STATE="6" VALUE="2" USAGE="SAMPLER_STATE"/> 1157 1161 </RmTextureObject> 1158 1162 </RmPass> … … 1316 1320 <RmFloatVariable NAME="epsilonX" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEMANTIC="" VALUE="-0.200000" MIN="-1.000000" MAX="0.000000" CLAMP="FALSE"/> 1317 1321 <RmFloatVariable NAME="sourceTextureSize" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEMANTIC="" VALUE="16.000000" MIN="-1.000000" MAX="1.000000" CLAMP="FALSE"/> 1318 <RmMatrixVariable NAME="worldviewproj" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEMANTIC="WorldViewProjection" VALUE_0="- 1.141796" VALUE_1="-0.095821" VALUE_2="-0.017939" VALUE_3="0.000000" VALUE_4="0.090956" VALUE_5="-0.648809" VALUE_6="-2.323618" VALUE_7="-0.000212" VALUE_8="0.076348" VALUE_9="-0.960535" VALUE_10="0.271193" VALUE_11="199.199448" VALUE_12="0.076272" VALUE_13="-0.959575" VALUE_14="0.270922" VALUE_15="200.000259"/>1322 <RmMatrixVariable NAME="worldviewproj" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEMANTIC="WorldViewProjection" VALUE_0="-0.927060" VALUE_1="-1.922040" VALUE_2="-0.778076" VALUE_3="0.000000" VALUE_4="0.351899" VALUE_5="0.748449" VALUE_6="-2.268131" VALUE_7="0.000068" VALUE_8="0.902105" VALUE_9="-0.433820" VALUE_10="-0.003194" VALUE_11="55.716743" VALUE_12="0.901203" VALUE_13="-0.433386" VALUE_14="-0.003191" VALUE_15="56.661026"/> 1319 1323 <RmFloatVariable NAME="numSamples" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEMANTIC="" VALUE="16.000000" MIN="-1.000000" MAX="1.000000" CLAMP="FALSE"/> 1320 1324 <RmFloatVariable NAME="sqrtNumSamples" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEMANTIC="" VALUE="4.000000" MIN="-1.000000" MAX="1.000000" CLAMP="FALSE"/> -
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.