Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 2, 2011, 7:58:56 PM (13 years ago)
Author:
marwegma
Message:

Godrays: Fixed some parsing errors in the material and compositor scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/branches/environment/materials/Godrays.material

    r8359 r8387  
    1313        {
    1414            ambient 1.0 1.0 1.0 1.0
    15             lightning off
     15            lighting off
    1616        }
    1717    }
     
    2525        {
    2626            ambient 0.0 0.0 0.0 1.0
    27             lightning off
     27            lighting off
    2828        }
    2929    }
     
    4444    technique
    4545    {
    46         texture_unit raw_decal
    47         {
    48             tex_address_mode border
    49             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_raw
    52         }
    5346
    5447        pass
    5548        {
     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
    5657            fragment_program_ref GodraysBlurFragmentProgram
    57             { 
     58            {
    5859                param_indexed 0 float2 0.0 0.0
    5960                param_indexed 1 float 1.0
     
    7677    technique
    7778    {
    78         texture_unit scene_decal
     79        pass
    7980        {
    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            }
    8689
    87         pass
    88         { 
    8990            fragment_program_ref GodraysCombineFragmentProgram { }
    9091        }
Note: See TracChangeset for help on using the changeset viewer.