Changeset 788 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials
- Timestamp:
- 04/22/06 21:30:21 (19 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_CausticSoftShadow.hlsl
r777 r788 58 58 half3 tNormal = tex2D(NormalMap, IN.texCoord).rgb; 59 59 60 60 61 half3 wNormal =mul(tNormal, ModelToTangent ); 62 wNormal = IN.Normal; 61 63 wNormal = normalize(mul( wNormal, world_IT )); 62 64 ///shading -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/programs/GameTools_PostProc.hlsl
r777 r788 34 34 } 35 35 36 float4 BlackPS(VS_OUT IN):COLOR 37 { 38 return float4(0,0,0,1); 39 } 36 40 37 41 float4 GlowCutPS(VS_OUT IN, -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.material
r777 r788 34 34 } 35 35 36 material GameTools/PostProcBlack 37 { 38 technique 39 { 40 pass 41 { 42 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 43 { 44 } 45 fragment_program_ref GameTools/FragmentPrograms/PostProc_Black 46 { 47 48 } 49 } 50 } 51 } 36 52 material GameTools/PostProc1 37 53 { -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.program
r777 r788 4 4 entry_point defaultVS 5 5 target vs_2_0 6 } 7 8 fragment_program GameTools/FragmentPrograms/PostProc_Black hlsl 9 { 10 source GameTools_PostProc.hlsl 11 entry_point BlackPS 12 target ps_2_0 13 6 14 } 7 15 -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools_Glow.compositor
r777 r788 9 9 texture prev 256 256 PF_FLOAT16_RGBA 10 10 11 // target prev 12 //{ 13 // input none 14 // only_initial on 15 // pass clear 16 // { 17 // buffers colour 18 // colour_value 0 0 0 0 19 // } 20 //} 11 target prev 12 { 13 input none 14 only_initial on 15 pass render_quad 16 { 17 material GameTools/PostProcBlack 18 } 19 } 21 20 22 21 target scene
Note: See TracChangeset
for help on using the changeset viewer.