Changeset 7883 for data/trunk/materials/Bloom.material
- Timestamp:
- Feb 14, 2011, 12:15:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/trunk/materials/Bloom.material
r7708 r7883 69 69 texture_unit RT 70 70 { 71 71 tex_coord_set 0 72 72 tex_address_mode clamp 73 73 filtering linear linear linear … … 92 92 texture_unit RT 93 93 { 94 94 tex_coord_set 0 95 95 tex_address_mode clamp 96 96 filtering linear linear linear … … 120 120 texture_unit 121 121 { 122 122 tex_coord_set 0 123 123 tex_address_mode clamp 124 124 filtering linear linear linear … … 144 144 texture_unit 145 145 { 146 146 tex_coord_set 0 147 147 tex_address_mode clamp 148 148 filtering linear linear linear … … 152 152 } 153 153 154 /// Overlay quad 154 fragment_program Ogre/Compositor/BloomFP cg 155 { 156 source BloomFP.cg 157 entry_point Bloom_ps 158 profiles ps_2_0 arbfp1 159 } 160 155 161 material Ogre/Compositor/BloomBlend 156 162 { 157 technique 158 { 159 pass 160 { 161 lighting on 162 diffuse 0.0 0.0 0.0 0.5 163 specular 0.0 0.0 0.0 0.0 164 ambient 0.0 0.0 0.0 165 emissive 1.0 1.0 1.0 166 cull_hardware none 167 depth_check off 168 scene_blend alpha_blend 163 technique 164 { 169 165 170 texture_unit 171 { 172 tex_coord_set 0 166 pass 167 { 168 cull_hardware none 169 cull_software none 170 depth_func always_pass 171 172 vertex_program_ref Ogre/Compositor/StdQuad_Tex2a_vp 173 { 174 } 175 176 fragment_program_ref Ogre/Compositor/BloomFP 177 { 178 } 179 180 texture_unit 181 { 182 tex_coord_set 0 173 183 tex_address_mode clamp 174 filtering linear linear linear 175 } 176 } 177 } 184 filtering trilinear 185 } 186 187 texture_unit 188 { 189 tex_coord_set 0 190 tex_address_mode clamp 191 filtering trilinear 192 } 193 } 194 } 178 195 }
Note: See TracChangeset
for help on using the changeset viewer.