Changeset 8387 for data/branches/environment
- Timestamp:
- May 2, 2011, 7:58:56 PM (14 years ago)
- Location:
- data/branches/environment/materials
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/environment/materials/Godrays.compositor
r8357 r8387 14 14 target rt_raw 15 15 { 16 clear16 pass clear 17 17 { 18 buffers colour 19 colour_value 0.0 0.0 0.0 1.0 // Clear by sky colour. Default is black. 18 clear 19 { 20 buffers colour depth stencil 21 colour_value 0.0 0.0 0.0 1.0 // Clear by sky colour. Default is black 22 } 20 23 } 21 24 22 render_scene // render_custom?25 pass render_scene // render_custom? 23 26 { 24 27 first_render_queue 40 … … 28 31 } 29 32 30 render_scene33 pass render_scene 31 34 { 32 35 first_render_queue 60 … … 41 44 target rt_blur 42 45 { 43 render_quad46 pass render_quad 44 47 { 45 48 material Godrays/Blur … … 52 55 target_output 53 56 { 54 render_quad57 pass render_quad 55 58 { 56 59 material Godrays/Combine -
data/branches/environment/materials/Godrays.material
r8359 r8387 13 13 { 14 14 ambient 1.0 1.0 1.0 1.0 15 light ning off15 lighting off 16 16 } 17 17 } … … 25 25 { 26 26 ambient 0.0 0.0 0.0 1.0 27 light ning off27 lighting off 28 28 } 29 29 } … … 44 44 technique 45 45 { 46 texture_unit raw_decal47 {48 tex_address_mode border49 tex_border_colour 0.0 0.0 0.0 1.0 // Set manually to sky color by api.50 51 content_type compositor Godrays rt_raw52 }53 46 54 47 pass 55 48 { 49 texture_unit //raw_decal 50 { 51 tex_address_mode border 52 tex_border_colour 0.0 0.0 0.0 1.0 // Set manually to sky color by api. 53 54 content_type compositor Godrays rt_raw 55 } 56 56 57 fragment_program_ref GodraysBlurFragmentProgram 57 { 58 { 58 59 param_indexed 0 float2 0.0 0.0 59 60 param_indexed 1 float 1.0 … … 76 77 technique 77 78 { 78 texture_unit scene_decal79 pass 79 80 { 80 content_type compositor Godrays rt_scene 81 } 82 texture_unit blur_decal 83 { 84 content_type compositor Godrays rt_blur 85 } 81 texture_unit //scene_decal 82 { 83 content_type compositor Godrays rt_scene 84 } 85 texture_unit //blur_decal 86 { 87 content_type compositor Godrays rt_blur 88 } 86 89 87 pass88 {89 90 fragment_program_ref GodraysCombineFragmentProgram { } 90 91 }
Note: See TracChangeset
for help on using the changeset viewer.