Changeset 952


Ignore:
Timestamp:
05/12/06 09:54:25 (19 years ago)
Author:
igarcia
Message:
 
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  
    805805    <RmRegistryBranch NAME="WORKSPACE" API="" XML_VERSION="RenderMonkey 1.6"> 
    806806     <RmStringVariable NAME="LAST_SAVE" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 
    807 3/5/2006 12:32:7]]></RmTextDataBlock></RmStringVariable> 
     80712/5/2006 9:47:34]]></RmTextDataBlock></RmStringVariable> 
    808808     <RmStringVariable NAME="VERSION" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 
    809809RenderMonkey Version 1.6 (build 91)]]></RmTextDataBlock></RmStringVariable> 
     
    823823        <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="350" MIN="-10" MAX="10" CLAMP="FALSE"/> 
    824824        <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"/> 
    826826        <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/> 
    827827        <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/> 
     
    869869      <RmRegistryBranch NAME="EditNodeRepository" API="" XML_VERSION="RenderMonkey 1.6"> 
    870870       <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"/> 
    871872      </RmRegistryBranch> 
    872873      <RmRegistryBranch NAME="NodeRepository" API="" XML_VERSION="RenderMonkey 1.6"> 
     
    887888        <RmIntegerVariable NAME="Height" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="255" MIN="-10" MAX="10" CLAMP="FALSE"/> 
    888889        <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"/> 
    890891        <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/> 
    891892        <RmIntegerVariable NAME="Minimized Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/> 
     
    907908Pixel Shader]]></RmTextDataBlock></RmStringVariable> 
    908909       <RmStringVariable NAME="Editing Pass" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 
    909 TrunkPass]]></RmTextDataBlock></RmStringVariable> 
     910IndirectTexturing]]></RmTextDataBlock></RmStringVariable> 
    910911       <RmIntegerVariable NAME="Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="29" MIN="-10" MAX="10" CLAMP="FALSE"/> 
    911912       <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="696" MIN="-10" MAX="10" CLAMP="FALSE"/> 
    912913       <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"/> 
    914915       <RmIntegerVariable NAME="Visible" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="1" MIN="-10" MAX="10" CLAMP="FALSE"/> 
    915916       <RmIntegerVariable NAME="Minimized X" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="-1" MIN="-10" MAX="10" CLAMP="FALSE"/> 
     
    11121113      ocolor = float4(tex2D(sourceTexture, newcoord).xyzw); 
    11131114   } 
    1114  
     1115  
    11151116   return  ocolor; 
    11161117}]]></RmShaderCode> 
     
    11551156     <RmTextureObject NAME="sourceTexture" API="D3D" STATE_INDEX="1" VERTEX_TEXTURE="FALSE"> 
    11561157      <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"/> 
    11571161     </RmTextureObject> 
    11581162    </RmPass> 
     
    13161320   <RmFloatVariable NAME="epsilonX" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEMANTIC="" VALUE="-0.200000" MIN="-1.000000" MAX="0.000000" CLAMP="FALSE"/> 
    13171321   <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"/> 
    13191323   <RmFloatVariable NAME="numSamples" API="" ARTIST_EDITABLE="TRUE" VARIABLE_SEMANTIC="" VALUE="16.000000" MIN="-1.000000" MAX="1.000000" CLAMP="FALSE"/> 
    13201324   <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  
    805805    <RmRegistryBranch NAME="WORKSPACE" API="" XML_VERSION="RenderMonkey 1.6"> 
    806806     <RmStringVariable NAME="LAST_SAVE" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 
    807 3/5/2006 12:31:32]]></RmTextDataBlock></RmStringVariable> 
     80712/5/2006 9:53:25]]></RmTextDataBlock></RmStringVariable> 
    808808     <RmStringVariable NAME="VERSION" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 
    809809RenderMonkey Version 1.6 (build 91)]]></RmTextDataBlock></RmStringVariable> 
     
    838838       <RmRegistryBranch NAME="Disassembly" API="" XML_VERSION="RenderMonkey 1.6"/> 
    839839       <RmStringVariable NAME="Editing Shader" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 
    840 Vertex Shader]]></RmTextDataBlock></RmStringVariable> 
     840Pixel Shader]]></RmTextDataBlock></RmStringVariable> 
    841841       <RmStringVariable NAME="Editing Pass" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC=""><RmTextDataBlock TYPE="TEXT"><![CDATA[ 
    842 DepthTrunkPass]]></RmTextDataBlock></RmStringVariable> 
     842LeavesIndirectTexturingPass]]></RmTextDataBlock></RmStringVariable> 
    843843       <RmIntegerVariable NAME="Y" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="58" MIN="-10" MAX="10" CLAMP="FALSE"/> 
    844844       <RmIntegerVariable NAME="Width" API="" ARTIST_EDITABLE="FALSE" VARIABLE_SEMANTIC="" VALUE="696" MIN="-10" MAX="10" CLAMP="FALSE"/> 
     
    877877     <RmRegistryBranch NAME="RmTextureObjectEditor" API="" XML_VERSION="RenderMonkey 1.6"> 
    878878      <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"/> 
    880880      </RmRegistryBranch> 
    881881      <RmRegistryBranch NAME="NodeRepository" API="" XML_VERSION="RenderMonkey 1.6"> 
     
    14801480      float2 newcoord = (float2(1.0, 1.0) - value.zw) + ((coords * sourceTextureSize) / sqrtNumSamples); 
    14811481      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); 
    14831483   }    
    14841484 
     
    16181618     <RmTextureObject NAME="sourceTexture" API="D3D" STATE_INDEX="3" VERTEX_TEXTURE="FALSE"> 
    16191619      <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"/> 
    16201623     </RmTextureObject> 
    16211624    </RmPass> 
     
    18091812   <RmModelData NAME="Sphere" API="" FILE_NAME=".\Sphere.3ds" ORIENTATION="0"/> 
    18101813  </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"/> 
    18131816  <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"/> 
    18151818 </RmEffectWorkspace> 
    18161819</RENDER_MONKEY> 
Note: See TracChangeset for help on using the changeset viewer.