Ignore:
Timestamp:
04/27/06 08:54:08 (18 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/EnvMetals.material

    r825 r835  
    1111                        RenderTechnique ColorCubeMap 
    1212                        { 
    13                                 start_frame 0 
    14                                 distance_calc true 1.5 
    15                  
    16                         } 
     13                                update_interval         0 
     14                                distance_calc true 1.5 
     15                                face_angle_calc true 1.5                 
     16                        } 
     17                        RenderTechnique DistanceCubeMap 
     18                        { 
     19                                update_interval         0 
     20                                distance_calc true 1.5 
     21                                face_angle_calc true 1.5                 
     22                        } 
     23                 
    1724                 } 
    1825                 vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS 
     
    3542                texture_unit 
    3643                { 
    37                 cubic_texture cubemap.jpg combinedUVW 
    38                 tex_address_mode clamp 
    39                 colour_op replace 
     44                        cubic_texture cubemap.jpg combinedUVW 
     45                        tex_address_mode clamp 
     46                        colour_op replace 
    4047                } 
    4148 
     
    4350                texture_unit 
    4451                { 
    45                 cubic_texture cubemap.jpg combinedUVW 
    46                 tex_address_mode clamp 
    47                 colour_op replace 
     52                        cubic_texture cubemap.jpg combinedUVW 
     53                        tex_address_mode clamp 
     54                        colour_op replace 
    4855                } 
    4956          } 
     
    6471                        RenderTechnique ColorCubeMap 
    6572                        { 
    66                                 start_frame 0 
    67                                 distance_calc true 1.5 
    68                  
    69                         } 
     73                                update_interval         0 
     74                                distance_calc true 1.5 
     75                                face_angle_calc true 1.5                 
     76                        } 
     77                        RenderTechnique DistanceCubeMap 
     78                        { 
     79                                update_interval         0 
     80                                distance_calc true 1.5 
     81                                face_angle_calc true 1.5                 
     82                        } 
     83                         
    7084                 } 
    7185         vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS 
     
    119133                        RenderTechnique ColorCubeMap 
    120134                        { 
    121                                 start_frame 0 
    122                                 distance_calc true 1.5 
    123                  
    124                         } 
     135                                update_interval         0 
     136                                distance_calc true 1.5 
     137                                face_angle_calc true 1.5                 
     138                        } 
     139                        RenderTechnique DistanceCubeMap 
     140                        { 
     141                                update_interval         0 
     142                                distance_calc true 1.5 
     143                                face_angle_calc true 1.5                 
     144                        } 
     145                         
    125146                 } 
    126147         vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS 
     
    174195                        RenderTechnique ColorCubeMap 
    175196                        { 
    176                                 start_frame 0 
    177                                 distance_calc true 1.5 
    178                  
    179                         } 
    180                  } 
     197                                update_interval         0 
     198                                distance_calc true 1.5 
     199                                face_angle_calc true 3.5                 
     200                        } 
     201                        RenderTechnique DistanceCubeMap 
     202                        { 
     203                                update_interval         0 
     204                                distance_calc true 1.5 
     205                                face_angle_calc true 3.5                 
     206                        } 
     207                         
     208                 } 
     209         
    181210         vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS 
    182211         {        
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.material

    r807 r835  
    4040        pass  
    4141      { 
    42                 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 
    43          {        
    44          }  
    45                 fragment_program_ref GameTools/FragmentPrograms/PostProc_Black 
     42                vertex_program_ref GameTools/PostProc1_VS 
     43         {        
     44         }  
     45                fragment_program_ref GameTools/PostProc_Black 
    4646         {  
    4747         
     
    5656        pass  
    5757      { 
    58                 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 
    59          {        
    60          }  
    61                 fragment_program_ref GameTools/FragmentPrograms/PostProc1_PS 
     58                vertex_program_ref GameTools/PostProc1_VS 
     59         {        
     60         }  
     61                fragment_program_ref GameTools/PostProc1_PS 
    6262         {  
    6363         
     
    7878        pass  
    7979      { 
    80                 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 
    81          {        
    82          }  
    83                 fragment_program_ref GameTools/FragmentPrograms/GlowCut_PS 
     80                vertex_program_ref GameTools/PostProc1_VS 
     81         {        
     82         }  
     83                fragment_program_ref GameTools/GlowCut_PS 
    8484         {  
    8585                        param_named_auto width viewport_width    
     
    107107        pass  
    108108      { 
    109                 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 
    110          {        
    111          }  
    112                 fragment_program_ref GameTools/FragmentPrograms/Luminance_PS 
     109                vertex_program_ref GameTools/PostProc1_VS 
     110         {        
     111         }  
     112                fragment_program_ref GameTools/Luminance_PS 
    113113         {  
    114114                        param_named_auto width viewport_width    
     
    134134        pass  
    135135      { 
    136                 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 
    137          {        
    138          }  
    139                 fragment_program_ref GameTools/FragmentPrograms/GlowBlurH_PS 
     136                vertex_program_ref GameTools/PostProc1_VS 
     137         {        
     138         }  
     139                fragment_program_ref GameTools/GlowBlurH_PS 
    140140         {  
    141141                        param_named_auto width viewport_width    
     
    159159        pass  
    160160      { 
    161                 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 
    162          {        
    163          }  
    164                 fragment_program_ref GameTools/FragmentPrograms/GlowBlurV_PS 
     161                vertex_program_ref GameTools/PostProc1_VS 
     162         {        
     163         }  
     164                fragment_program_ref GameTools/GlowBlurV_PS 
    165165         {  
    166166                        param_named_auto width viewport_width    
     
    183183        pass  
    184184      { 
    185                 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 
    186          {        
    187          }  
    188                 fragment_program_ref GameTools/FragmentPrograms/TextureCopy_PS 
     185                vertex_program_ref GameTools/PostProc1_VS 
     186         {        
     187         }  
     188                fragment_program_ref GameTools/TextureCopy_PS 
    189189         {  
    190190                        param_named_auto width viewport_width    
     
    207207        pass  
    208208      { 
    209                 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 
    210          {        
    211          }  
    212                 fragment_program_ref GameTools/FragmentPrograms/GlowAdd_PS 
     209                vertex_program_ref GameTools/PostProc1_VS 
     210         {        
     211         }  
     212                fragment_program_ref GameTools/GlowAdd_PS 
    213213         {  
    214214                        param_named_auto width viewport_width    
     
    236236        pass  
    237237      { 
    238                 vertex_program_ref GameTools/VertexPrograms/PostProc1_VS 
    239          {        
    240          }  
    241                 fragment_program_ref GameTools/FragmentPrograms/ToneMap_PS 
     238                vertex_program_ref GameTools/PostProc1_VS 
     239         {        
     240         }  
     241                fragment_program_ref GameTools/ToneMap_PS 
    242242         {  
    243243                        param_named_auto width viewport_width    
     
    270270        pass  
    271271      {  
    272                 vertex_program_ref GameTools/VertexPrograms/UV_VS 
     272                vertex_program_ref GameTools/UV_VS 
    273273         {        
    274274            param_named_auto worldViewProj worldviewproj_matrix 
    275275         }  
    276                 fragment_program_ref GameTools/FragmentPrograms/UV_PS 
     276                fragment_program_ref GameTools/UV_PS 
    277277         {  
    278278                        param_named_auto ID custom 0 
     
    294294                lighting off             
    295295 
    296                 vertex_program_ref GameTools/Caustic/VertexPrograms/DefaultVS 
     296                vertex_program_ref GameTools/Caustic/DefaultVS 
    297297                {        
    298298         param_named_auto worldViewProj worldviewproj_matrix 
    299299                 param_named_auto world world_matrix  
    300300                }  
    301                 fragment_program_ref GameTools/Caustic/FragmentPrograms/DefaultPS 
     301                fragment_program_ref GameTools/Caustic/DefaultPS 
    302302                {  
    303303                 param_named cubeMapCameraPosition float3 0 0 0   
     
    517517      pass  
    518518      {  
     519                IllumTechniques 
     520                { 
     521                        RenderTechnique ColorCubeMap 
     522                        { 
     523                                update_interval         0 
     524                                distance_calc true 3.5                                   
     525                        } 
     526                        RenderTechnique DistanceCubeMap 
     527                        { 
     528                                update_interval         0 
     529                                distance_calc true 3.5                                           
     530                        } 
     531                        RenderTechnique CausticCaster 
     532                        { 
     533                                                                         
     534                        } 
     535                         
     536                 } 
     537       
     538       
    519539         vertex_program_ref GameTools/CubeMap/VertexPrograms/LocalizedVS 
    520540     {        
     
    606626      pass  
    607627      {  
    608                 vertex_program_ref GameTools/VertexPrograms/DiffuseVS 
     628                vertex_program_ref GameTools/DiffuseVS 
    609629                {        
    610630                 param_named_auto worldViewProj worldviewproj_matrix  
     
    612632         
    613633                }  
    614                 fragment_program_ref GameTools/FragmentPrograms/DiffusePS 
     634                fragment_program_ref GameTools/DiffusePS 
    615635                {  
    616636                        param_named_auto cameraPos camera_position 
     
    689709        pass  
    690710      {  
    691          vertex_program_ref GameTools/VertexPrograms/DistanceVS 
     711         vertex_program_ref GameTools/DistanceVS 
    692712         {        
    693713            param_named_auto worldView worldview_matrix 
    694714            param_named_auto worldViewProj worldviewproj_matrix 
    695715         }  
    696          fragment_program_ref  GameTools/FragmentPrograms/DistancePS 
     716         fragment_program_ref  GameTools/DistancePS 
    697717         {  
    698718                  
     
    716736            param_named_auto world world_matrix      
    717737         }  
    718                  fragment_program_ref  GameTools/FragmentPrograms/PhotonMapCausticPS 
     738                 fragment_program_ref  GameTools/PhotonMapCausticPS 
    719739        {  
    720740                        param_named_auto cameraPos camera_position 
     
    746766            param_named_auto world world_matrix      
    747767         }  
    748                  fragment_program_ref  GameTools/FragmentPrograms/PhotonMapSoftShadowPS 
     768                 fragment_program_ref  GameTools/PhotonMapSoftShadowPS 
    749769         {  
    750770                        param_named_auto cameraPos camera_position 
     
    784804      pass  
    785805      {  
    786          vertex_program_ref GameTools/VertexPrograms/SceneCameraDepthVS 
     806         vertex_program_ref GameTools/SceneCameraDepthVS 
    787807         {        
    788808            param_named_auto worldView worldview_matrix 
     
    790810            param_named_auto farplane far_clip_distance   
    791811         }  
    792          fragment_program_ref  GameTools/FragmentPrograms/SceneDepthPS 
     812         fragment_program_ref  GameTools/SceneDepthPS 
    793813         {  
    794814            
     
    879899        depth_write off 
    880900 
    881          vertex_program_ref GameTools/VertexPrograms/SpriteVS 
     901         vertex_program_ref GameTools/SpriteVS 
    882902         {        
    883903            param_named_auto worldViewProj worldviewproj_matrix  
     
    885905                        param_named_auto Proj projection_matrix      
    886906         }  
    887          fragment_program_ref  GameTools/FragmentPrograms/SpritePS 
     907         fragment_program_ref  GameTools/SpritePS 
    888908         {  
    889909                  
     
    914934        depth_check off 
    915935         
    916          vertex_program_ref GameTools/VertexPrograms/SBBVS 
     936         vertex_program_ref GameTools/SBBVS 
    917937         {        
    918938            param_named_auto worldViewProj worldviewproj_matrix  
     
    924944             
    925945         }  
    926          fragment_program_ref  GameTools/FragmentPrograms/SBBPS 
     946         fragment_program_ref  GameTools/SBBPS 
    927947         {  
    928948            param_named_auto farplane far_clip_distance    
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/GameTools.program

    r788 r835  
    1 vertex_program GameTools/VertexPrograms/PostProc1_VS hlsl 
     1vertex_program GameTools/PostProc1_VS hlsl 
    22{ 
    33        source GameTools_PostProc.hlsl 
     
    66}  
    77 
    8 fragment_program GameTools/FragmentPrograms/PostProc_Black hlsl 
     8fragment_program GameTools/PostProc_Black hlsl 
    99{ 
    1010        source GameTools_PostProc.hlsl 
     
    1414}  
    1515 
    16 fragment_program GameTools/FragmentPrograms/PostProc1_PS hlsl 
     16fragment_program GameTools/PostProc1_PS hlsl 
    1717{ 
    1818        source GameTools_PostProc.hlsl 
     
    2222}  
    2323 
    24 fragment_program GameTools/FragmentPrograms/GlowCut_PS hlsl 
     24fragment_program GameTools/GlowCut_PS hlsl 
    2525{ 
    2626        source GameTools_PostProc.hlsl 
     
    3030}  
    3131 
    32 fragment_program GameTools/FragmentPrograms/Luminance_PS hlsl 
     32fragment_program GameTools/Luminance_PS hlsl 
    3333{ 
    3434        source GameTools_PostProc.hlsl 
     
    3838}  
    3939 
    40 fragment_program GameTools/FragmentPrograms/GlowAdd_PS hlsl 
     40fragment_program GameTools/GlowAdd_PS hlsl 
    4141{ 
    4242        source GameTools_PostProc.hlsl 
     
    4545}  
    4646 
    47 fragment_program GameTools/FragmentPrograms/ToneMap_PS hlsl 
     47fragment_program GameTools/ToneMap_PS hlsl 
    4848{ 
    4949        source GameTools_PostProc.hlsl 
     
    5252}  
    5353 
    54 fragment_program GameTools/FragmentPrograms/GlowBlurH_PS hlsl 
     54fragment_program GameTools/GlowBlurH_PS hlsl 
    5555{ 
    5656        source GameTools_PostProc.hlsl 
     
    5959}  
    6060 
    61 fragment_program GameTools/FragmentPrograms/GlowBlurV_PS hlsl 
     61fragment_program GameTools/GlowBlurV_PS hlsl 
    6262{ 
    6363        source GameTools_PostProc.hlsl 
     
    6666}  
    6767 
    68 fragment_program GameTools/FragmentPrograms/TextureCopy_PS hlsl 
     68fragment_program GameTools/TextureCopy_PS hlsl 
    6969{ 
    7070        source GameTools_PostProc.hlsl 
     
    9090}  
    9191 
    92 vertex_program GameTools/Caustic/VertexPrograms/DefaultVS hlsl 
     92vertex_program GameTools/Caustic/DefaultVS hlsl 
    9393{ 
    9494        source GameTools_Caustic.hlsl 
     
    9797}  
    9898 
    99 fragment_program GameTools/Caustic/FragmentPrograms/DefaultPS hlsl 
     99fragment_program GameTools/Caustic/DefaultPS hlsl 
    100100{ 
    101101        source GameTools_Caustic.hlsl 
     
    172172 
    173173 
    174 fragment_program GameTools/FragmentPrograms/PhotonMapCausticPS hlsl 
     174fragment_program GameTools/PhotonMapCausticPS hlsl 
    175175{ 
    176176        source GameTools_Localized_EnvMap.hlsl 
     
    179179} 
    180180 
    181 fragment_program GameTools/FragmentPrograms/PhotonMapSoftShadowPS hlsl 
     181fragment_program GameTools/PhotonMapSoftShadowPS hlsl 
    182182{ 
    183183        source GameTools_Localized_EnvMap.hlsl 
     
    196196}  
    197197 
    198 vertex_program GameTools/VertexPrograms/DistanceVS hlsl 
     198vertex_program GameTools/DistanceVS hlsl 
    199199{ 
    200200        source GameTools_Distance.hlsl 
     
    203203}  
    204204 
    205 fragment_program GameTools/FragmentPrograms/DistancePS hlsl 
     205fragment_program GameTools/DistancePS hlsl 
    206206{ 
    207207        source GameTools_Distance.hlsl 
     
    241241}  
    242242 
    243 vertex_program GameTools/VertexPrograms/UV_VS hlsl 
     243vertex_program GameTools/UV_VS hlsl 
    244244{ 
    245245        source GameTools_UV.hlsl 
     
    248248}  
    249249 
    250 fragment_program GameTools/FragmentPrograms/UV_PS hlsl 
     250fragment_program GameTools/UV_PS hlsl 
    251251{ 
    252252        source GameTools_UV.hlsl 
     
    270270}  
    271271 
    272 vertex_program GameTools/VertexPrograms/SpriteVS hlsl 
     272vertex_program GameTools/SpriteVS hlsl 
    273273{ 
    274274        source GameTools_Sprite.hlsl 
     
    277277}  
    278278 
    279 fragment_program GameTools/FragmentPrograms/SpritePS hlsl 
     279fragment_program GameTools/SpritePS hlsl 
    280280{ 
    281281        source GameTools_Sprite.hlsl 
     
    285285}  
    286286 
    287 vertex_program GameTools/VertexPrograms/SBBVS hlsl 
     287vertex_program GameTools/SBBVS hlsl 
    288288{ 
    289289        source GameTools_Sprite.hlsl 
     
    292292}  
    293293 
    294 fragment_program GameTools/FragmentPrograms/SBBPS hlsl 
     294fragment_program GameTools/SBBPS hlsl 
    295295{ 
    296296        source GameTools_Sprite.hlsl 
     
    300300}  
    301301 
    302 vertex_program GameTools/VertexPrograms/SceneCameraDepthVS hlsl 
     302vertex_program GameTools/SceneCameraDepthVS hlsl 
    303303{ 
    304304        source GameTools_Depth.hlsl 
     
    307307}  
    308308 
    309 fragment_program GameTools/FragmentPrograms/SceneDepthPS hlsl 
     309fragment_program GameTools/SceneDepthPS hlsl 
    310310{ 
    311311        source GameTools_Depth.hlsl 
     
    330330 
    331331 
    332 vertex_program GameTools/VertexPrograms/DiffuseVS hlsl 
     332vertex_program GameTools/DiffuseVS hlsl 
    333333{ 
    334334        source GameTools_Localized_EnvMap.hlsl 
     
    337337}  
    338338 
    339 fragment_program GameTools/FragmentPrograms/DiffusePS hlsl 
     339fragment_program GameTools/DiffusePS hlsl 
    340340{ 
    341341        source GameTools_Localized_EnvMap.hlsl 
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/scripts/kupola.material

    r777 r835  
    88      pass  
    99      {  
     10                IllumTechniques 
     11                { 
     12                        RenderTechnique DepthShadowReciever 
     13                        { 
     14                                 
     15                        } 
     16                        RenderTechnique CausticReciever 
     17                        { 
     18                                 
     19                        } 
     20                } 
     21                  
    1022                lighting off             
    1123 
     
    4355                pass 
    4456                { 
     57                        IllumTechniques 
     58                        { 
     59                                RenderTechnique DepthShadowReciever 
     60                                { 
     61                                         
     62                                } 
     63                                RenderTechnique CausticReciever 
     64                                { 
     65                                         
     66                                } 
     67                        } 
     68                         
     69                         
    4570                        lighting off             
    4671 
Note: See TracChangeset for help on using the changeset viewer.