Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 28, 2011, 6:41:22 PM (14 years ago)
Author:
marwegma
Message:

Godrays: Fixed some syntax stuff with the compositor-material interface.

File:
1 edited

Legend:

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

    r8357 r8359  
    3535    source Godrays_blur.cg
    3636    entry_point godrays_blur
    37     profiles fp40 ps_3_0
     37    profiles fp30 ps_3_0
    3838}
    3939
     
    4444    technique
    4545    {
    46        
     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        }
     53
    4754        pass
    4855        {
     
    6269    source Godrays_blur.cg
    6370    entry_point godrays_combine
    64     profiles fp40 ps_3_0
     71    profiles fp30 ps_3_0
    6572}
    6673
     
    6976    technique
    7077    {
     78        texture_unit scene_decal
     79        {
     80            content_type compositor Godrays rt_scene
     81        }
     82        texture_unit blur_decal
     83        {
     84            content_type compositor Godrays rt_blur
     85        }
     86
    7187        pass
    7288        { 
Note: See TracChangeset for help on using the changeset viewer.