Changeset 2188 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic
- Timestamp:
- 03/05/07 18:04:13 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic/GTPBasic.material
r2181 r2188 74 74 { 75 75 cull_hardware clockwise 76 vertex_program_ref GTP/Basic/CPos_VS 77 { 78 param_named_auto WorldViewProj worldviewproj_matrix 79 param_named_auto WorldView worldview_matrix 80 } 81 fragment_program_ref GTP/Basic/CDepth_PS 82 { 83 } 84 } 85 } 86 } 87 88 material GTP/Basic/CameraDepthCCW : GTP/Basic/CameraDepthCCW 89 { 90 technique 91 { 92 pass 93 { 94 cull_hardware anticlockwise 76 95 vertex_program_ref GTP/Basic/CPos_VS 77 96 { … … 171 190 } 172 191 } 192 193 material GTP/Basic/ShadowReciever/ShadowAccum 194 { 195 technique 196 { 197 pass 198 { 199 lighting off 200 ambient 1 1 1 1 201 diffuse 1 1 1 1 202 specular 1 1 1 1 203 emissive 0 0 0 204 205 IllumTechniques 206 { 207 RenderTechnique DepthShadowReciever 208 { 209 max_light_count 1 210 vertex_program_name GTP/Basic/LightCPos_VS 211 fragment_program_name GTP/Basic/SM/ShadowAccum_PS 212 set_light_view true 213 set_light_farplane false 214 world_view_proj_param_name WorldViewProj 215 world_param_name World 216 light_viewproj_param_name LightViewProj 217 } 218 } 219 } 220 } 221 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic/GTPBasic.program
r2181 r2188 181 181 target ps_2_0 182 182 } 183 184 fragment_program GTP/Basic/SM/ShadowAccum_PS hlsl 185 { 186 source GTPShadowAccum.hlsl 187 entry_point ShadowAccum_PS 188 target ps_3_0 189 } 183 190 -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPBasic/GTPBasic_PS.hlsl
r2181 r2188 33 33 float4 CDepth(CPos_OUT IN) : COLOR 34 34 { 35 return IN.CPos.z;35 return -IN.CPos.z; 36 36 } 37 37
Note: See TracChangeset
for help on using the changeset viewer.