Changeset 2139


Ignore:
Timestamp:
02/20/07 14:14:25 (17 years ago)
Author:
szirmay
Message:
 
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

    r2054 r2139  
    268268        cull_hardware anticlockwise 
    269269        //cull_hardware none 
     270        //cull_software none 
    270271        //cull_hardware clockwise 
    271272                 
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/colorcube.material

    r2095 r2139  
    1313                                        max_caster_count        10                                       
    1414                                }                                
    15                                 //RenderTechnique DepthShadowReciever 
    16                                 //{ 
    17                                 //   max_light_count 1 
    18                                 //   vertex_program_name GameTools/ShadowMap/ShadowDistVS 
    19                                 //   fragment_program_name GameTools/ShadowMap/ShadowDistPS 
    20                                 //   set_light_view true 
    21                                 //   set_light_farplane true 
    22                                 //} 
     15                                RenderTechnique DepthShadowReciever 
     16                                { 
     17                                   max_light_count 1 
     18                                   vertex_program_name GameTools/ShadowMap/ShadowDistVS 
     19                                   fragment_program_name GameTools/ShadowMap/ShadowDistPS 
     20                                   set_light_view true 
     21                                   set_light_farplane true 
     22                                } 
    2323                        } 
    2424 
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/difflab.material

    r2095 r2139  
    2020       
    2121      pass 0 
    22       {                  
     22      {  
     23             
    2324                vertex_program_ref PhongViewSpaceVS 
    2425        {        
     
    9192                pass 
    9293                { 
     94                         
     95                     
    9396                        cull_hardware none 
    9497                        lighting off 
     
    111114                { 
    112115                        IllumTechniques 
    113                         { 
    114                                 RenderTechnique DepthShadowReciever 
    115                                 { 
    116                                         max_light_count 3 
    117                                         vertex_program_name GameTools/ShadowMap/ShadowDistVS 
    118                                         fragment_program_name GameTools/ShadowMap/ShadowDistPS 
    119                                         set_light_view true 
    120                                         set_light_farplane true 
    121                                 } 
    122                         } 
     116                    { 
     117                         
     118                         RenderTechnique CausticReciever 
     119                         { 
     120                                max_caster_count        1                                        
     121                         } 
     122                         RenderTechnique DepthShadowReciever 
     123                         { 
     124                                        max_light_count 3 
     125                                        vertex_program_name GameTools/ShadowMap/ShadowDistVS 
     126                                        fragment_program_name GameTools/ShadowMap/ShadowDistPS 
     127                                        set_light_view true 
     128                                        set_light_farplane true 
     129                         }                                       
     130                    }    
     131                         
    123132                        ambient 0.37606 0.37606 0.37606 1 
    124133                        diffuse 0.37606 0.37606 0.37606 1 
     
    136145                { 
    137146                        IllumTechniques 
    138                         { 
    139                                 RenderTechnique DepthShadowReciever 
    140                                 { 
    141                                         max_light_count 3 
    142                                         vertex_program_name GameTools/ShadowMap/ShadowDistVS 
    143                                         fragment_program_name GameTools/ShadowMap/ShadowDistPS 
    144                                         set_light_view true 
    145                                         set_light_farplane true 
    146                                 } 
    147                         } 
     147                    { 
     148                         
     149                         RenderTechnique CausticReciever 
     150                         { 
     151                                max_caster_count        1                                        
     152                         } 
     153                         RenderTechnique DepthShadowReciever 
     154                         { 
     155                                        max_light_count 3 
     156                                        vertex_program_name GameTools/ShadowMap/ShadowDistVS 
     157                                        fragment_program_name GameTools/ShadowMap/ShadowDistPS 
     158                                        set_light_view true 
     159                                        set_light_farplane true 
     160                         }                                       
     161                    }    
    148162                        fragment_program_ref 
    149163                        { 
     
    183197                { 
    184198                        IllumTechniques 
    185                         { 
    186                                 RenderTechnique DepthShadowReciever 
    187                                 { 
    188                                         max_light_count 3 
    189                                         vertex_program_name GameTools/ShadowMap/ShadowDistVS 
    190                                         fragment_program_name GameTools/ShadowMap/ShadowDistPS 
    191                                         set_light_view true 
    192                                         set_light_farplane true 
    193                                 }                                
    194                         } 
    195                          
     199                { 
     200                         
     201                        RenderTechnique CausticReciever 
     202                        { 
     203                                max_caster_count        1                                        
     204                        } 
     205                        RenderTechnique DepthShadowReciever 
     206                        { 
     207                                        max_light_count 3 
     208                                        vertex_program_name GameTools/ShadowMap/ShadowDistVS 
     209                                        fragment_program_name GameTools/ShadowMap/ShadowDistPS 
     210                                        set_light_view true 
     211                                        set_light_farplane true 
     212                        }                                        
     213                }        
    196214                        fragment_program_ref 
    197215                        { 
     
    216234                pass 0 
    217235                { 
     236                        IllumTechniques 
     237                { 
     238                         
     239                        RenderTechnique CausticReciever 
     240                        { 
     241                                max_caster_count        1                                        
     242                        } 
     243                        RenderTechnique DepthShadowReciever 
     244                        { 
     245                                        max_light_count 3 
     246                                        vertex_program_name GameTools/ShadowMap/ShadowDistVS 
     247                                        fragment_program_name GameTools/ShadowMap/ShadowDistPS 
     248                                        set_light_view true 
     249                                        set_light_farplane true 
     250                        }                                        
     251                }        
    218252                        fragment_program_ref 
    219253                        { 
     
    257291                { 
    258292                        IllumTechniques 
    259                         { 
    260                                 RenderTechnique DepthShadowReciever 
    261                                 { 
    262                                         max_light_count 3 
    263                                         vertex_program_name GameTools/ShadowMap/ShadowDistVS 
    264                                         fragment_program_name GameTools/ShadowMap/ShadowDistPS 
    265                                         set_light_view true 
    266                                         set_light_farplane true 
    267                                 } 
    268                         } 
     293                { 
     294                         
     295                        RenderTechnique CausticReciever 
     296                        { 
     297                                max_caster_count        1                                        
     298                        } 
     299                        RenderTechnique DepthShadowReciever 
     300                        { 
     301                                        max_light_count 3 
     302                                        vertex_program_name GameTools/ShadowMap/ShadowDistVS 
     303                                        fragment_program_name GameTools/ShadowMap/ShadowDistPS 
     304                                        set_light_view true 
     305                                        set_light_farplane true 
     306                        }                                        
     307                }        
    269308                        fragment_program_ref 
    270309                        { 
     
    283322                pass 
    284323                { 
     324                         
    285325                lighting off 
    286326                        ambient 0.5 0.5 0.5 1 
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/hangar.material

    r1879 r2139  
    66                { 
    77                        IllumTechniques 
    8                         {                                
    9                                 RenderTechnique DepthShadowReciever 
    10                                 { 
     8                    { 
     9                         
     10                         RenderTechnique CausticReciever 
     11                         { 
     12                                max_caster_count        1                                        
     13                         } 
     14                         RenderTechnique DepthShadowReciever 
     15                         { 
    1116                                        max_light_count 3 
    1217                                        vertex_program_name GameTools/ShadowMap/ShadowDistVS 
    13                                         fragment_program_name                                                                           GameTools/ShadowMap/ShadowDistPS 
     18                                        fragment_program_name GameTools/ShadowMap/ShadowDistPS 
    1419                                        set_light_view true 
    1520                                        set_light_farplane true 
    16                                          
    17                                 } 
    18                         } 
    19  
     21                         }                                       
     22                    }    
    2023                        iteration once_per_light spot 
    2124                        //iteration once_per_light point 
Note: See TracChangeset for help on using the changeset viewer.