Changeset 1683 for GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Timestamp:
- 10/26/06 15:33:57 (18 years ago)
- Location:
- GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.material
r1671 r1683 41 41 } 42 42 43 vertex_program TexturedVS hlsl 44 { 45 source textured.hlsl 46 entry_point vs 47 target vs_2_0 48 } 49 50 fragment_program TexturedPS hlsl 51 { 52 source textured.hlsl 53 entry_point ps 54 target ps_3_0 55 } 56 43 57 material Examples/MorningSkyBox 44 58 { … … 47 61 pass 48 62 { 49 lighting off 63 vertex_program_ref TexturedVS 64 { 65 param_named_auto worldViewProj worldviewproj_matrix 66 } 67 fragment_program_ref TexturedPS 68 { 69 70 } 50 71 depth_write off 51 72 52 73 texture_unit 53 74 { 54 cubic_texture morning.jpg separateUV 75 cubic_texture Forest.dds separateUV 76 //cubic_texture morning.jpg separateUV 55 77 tex_address_mode clamp 56 78 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools_ToneMap.compositor
r777 r1683 7 7 texture rt0 256 256 PF_FLOAT16_RGBA 8 8 texture rt1 256 256 PF_FLOAT16_RGBA 9 texture rt2 128 128 PF_FLOAT16_RGBA 10 texture rt3 32 32 PF_FLOAT16_RGBA 11 texture rt4 8 8 PF_FLOAT16_RGBA 12 texture rt5 2 2 PF_FLOAT16_RGBA 9 13 10 14 target scene 11 15 { 12 // Render output from previous compositor (or original scene) 13 input previous 16 input previous 14 17 } 15 18 target luminance … … 43 46 } 44 47 48 target rt2 49 { 50 input none 51 pass render_quad 52 { 53 material GameTools/GlowBlurV 54 input 0 rt1 55 } 56 } 57 58 target rt3 59 { 60 input none 61 pass render_quad 62 { 63 material GameTools/GlowBlurH 64 input 0 rt2 65 } 66 } 67 68 target rt4 69 { 70 input none 71 pass render_quad 72 { 73 material GameTools/GlowBlurV 74 input 0 rt3 75 } 76 } 77 78 target rt5 79 { 80 input none 81 only_initial on 82 pass clear 83 { 84 85 } 86 } 87 88 target rt5 89 { 90 input none 91 92 pass render_quad 93 { 94 clear 95 { 96 buffers depth 97 } 98 99 material GameTools/GlowBlurHTB 100 input 0 rt4 101 } 102 } 103 45 104 target_output 46 105 { … … 51 110 input 0 scene 52 111 input 1 rt1 53 input 2 luminance 112 input 2 luminance 113 input 3 rt5 54 114 } 55 115 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/Glow.material
r1611 r1683 50 50 param_named_auto width viewport_width 51 51 param_named_auto height viewport_height 52 //param_named cutValue float 10.053 param_named cutValue float 10.554 param_named timeBlur float 0. 552 param_named cutValue float 10.0 53 //param_named cutValue float 4.5 54 param_named timeBlur float 0.4 55 55 56 56 } … … 107 107 param_named_auto width viewport_width 108 108 param_named_auto height viewport_height 109 param_named Stretch float 1.5 110 //param_named timeBlur float 0.5 111 } 112 texture_unit 113 { 114 tex_address_mode mirror 115 texture rockwall.tga 116 } 117 118 } 119 } 120 } 121 122 material GameTools/GlowBlurV 123 { 124 technique 125 { 126 pass 127 { 128 vertex_program_ref GameTools/PostProc1_VS 129 { 130 } 131 fragment_program_ref GameTools/GlowBlurV_PS 132 { 133 param_named_auto width viewport_width 134 param_named_auto height viewport_height 135 param_named Stretch float 1.5 136 // param_named timeBlur float 0.5 137 } 138 texture_unit 139 { 140 tex_address_mode mirror 141 texture rockwall.tga 142 } 143 } 144 } 145 } 146 147 material GameTools/GlowBlurHTB 148 { 149 technique 150 { 151 pass 152 { 153 scene_blend alpha_blend 154 vertex_program_ref GameTools/PostProc1_VS 155 { 156 } 157 fragment_program_ref GameTools/GlowBlurH_PS 158 { 159 param_named_auto width viewport_width 160 param_named_auto height viewport_height 109 161 param_named Stretch float 1.2 110 } 111 texture_unit 112 { 113 tex_address_mode mirror 114 texture rockwall.tga 115 } 116 117 } 118 } 119 } 120 121 material GameTools/GlowBlurV 122 { 123 technique 124 { 125 pass 126 { 127 vertex_program_ref GameTools/PostProc1_VS 128 { 129 } 130 fragment_program_ref GameTools/GlowBlurV_PS 131 { 132 param_named_auto width viewport_width 133 param_named_auto height viewport_height 134 param_named Stretch float 1.2 162 param_named timeBlur float 0.025 135 163 } 136 164 texture_unit … … 226 254 texture rockwall.tga 227 255 } 228 } 229 } 230 } 256 texture_unit 257 { 258 // filtering none 259 texture rockwall.tga 260 } 261 } 262 } 263 } -
GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/kupola.material
r1629 r1683 44 44 { 45 45 texture falt2.tga 46 //texture rnl_cross.hdr 46 47 } 47 48 … … 110 111 } 111 112 113 vertex_program KuppolafalVS hlsl 114 { 115 source kupola.hlsl 116 entry_point vs 117 target vs_2_0 118 } 119 120 fragment_program KuppolafalPS hlsl 121 { 122 source kupola.hlsl 123 entry_point ps 124 target ps_3_0 125 } 112 126 113 127 material kupolafal_low … … 117 131 { 118 132 pass 119 { 120 133 { 134 121 135 texture_unit 122 136 { 123 texture falt2.tga 137 texture falt2.tga 124 138 } 125 139
Note: See TracChangeset
for help on using the changeset viewer.