Changeset 821 for GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media
- Timestamp:
- 04/25/06 13:13:16 (19 years ago)
- Location:
- GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general
- Files:
-
- 8 added
- 5 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general/general.program
r786 r821 27 27 } 28 28 29 fragment_program diffuse_FP20 cg29 vertex_program diffuseTexturing_VP20 cg 30 30 { 31 source diffuse_FP20.cg 31 source diffuseTexturing_VP20.cg 32 entry_point main_vp 33 profiles arbvp1 vs_2_0 34 } 35 36 fragment_program diffuseTexturing_FP20 cg 37 { 38 source diffuseTexturing_FP20.cg 32 39 entry_point main_fp 33 40 profiles ps_2_0 arbfp1 … … 41 48 } 42 49 43 vertex_program indirectTexturing _VP20 cg50 vertex_program indirectTexturingDefault_VP20 cg 44 51 { 45 source indirectTexturing _VP20.cg52 source indirectTexturingDefault_VP20.cg 46 53 entry_point main_vp 47 profiles vs_2_0 arbvp1 54 profiles vs_2_0 arbvp1 48 55 } 49 56 50 fragment_program indirectTexturing _FP20 cg57 fragment_program indirectTexturingDefault_FP20 cg 51 58 { 52 source indirectTexturing _FP20.cg59 source indirectTexturingDefault_FP20.cg 53 60 entry_point main_fp 54 61 profiles ps_2_0 arbfp1 55 62 } 56 63 57 vertex_program indirectTexturing _hlsl_VP20 hlsl64 vertex_program indirectTexturingDefault_hlsl_VP20 hlsl 58 65 { 59 source indirectTexturing _hlsl_VP20.shd66 source indirectTexturingDefault_hlsl_VP20.shd 60 67 entry_point main_vp 61 68 target vs_2_0 62 69 } 63 70 64 fragment_program indirectTexturing _hlsl_FP20 hlsl71 fragment_program indirectTexturingDefault_hlsl_FP20 hlsl 65 72 { 66 source indirectTexturing _hlsl_FP20.shd73 source indirectTexturingDefault_hlsl_FP20.shd 67 74 entry_point main_fp 68 75 target ps_2_0 … … 75 82 profiles ps_2_0 arbfp1 76 83 } 84 85 vertex_program indirectTexturingDefault_glsl_VP20 glsl 86 { 87 source indirectTexturingDefault_glsl_VP20.shd 88 } 89 90 fragment_program indirectTexturingDefault_glsl_FP20 glsl 91 { 92 source indirectTexturingDefault_glsl_FP20.shd 93 } -
GTP/trunk/Lib/Illum/IBRBillboardCloudTrees/OGRE/media/general/indirectTexturingDebugTexCoordCorrespondence_FP20.cg
r786 r821 1 1 sampler indirectTexture: register(s0); 2 2 3 void main_fp(float2 posS: TEXCOORD0,4 float2 posT: TEXCOORD1,3 void main_fp(float2 texCoord: TEXCOORD0, 4 float2 subTexCoord: TEXCOORD1, 5 5 out float4 ocolor: COLOR, 6 6 uniform sampler2D indirectTexture) 7 7 { 8 8 9 float2 coords = posS + (float2(1.0, 1.0) - tex2D(indirectTexture, posT).xy);9 float2 coords = texCoord + (float2(1.0, 1.0) - tex2D(indirectTexture, subTexCoord).xy); 10 10 ocolor = float4(coords, 0.0, 1.0); 11 11 }
Note: See TracChangeset
for help on using the changeset viewer.