Ignore:
Timestamp:
04/24/07 14:10:34 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/Media/materials/GTPCaustic/GTPCaustic.material

    r2301 r2337  
    117117                                use_triangles   true 
    118118                                blur_caustic_cubemap true                                
     119                        } 
     120                         
     121                 }       
     122         vertex_program_ref GTP/Basic/Shaded_VS 
     123         {        
     124            param_named_auto WorldViewProj worldviewproj_matrix  
     125            param_named_auto World world_matrix 
     126            param_named_auto WorldInv inverse_world_matrix 
     127         }  
     128         fragment_program_ref GTP/EnvMap/Localized_Refraction_PS 
     129         {  
     130                    param_named_auto cameraPos camera_position 
     131            param_named lastCenter float3 0 0 0 
     132            param_named sFresnel float 0.1 
     133<<<<<<< .mine 
     134            param_named sRefraction float 0.85 
     135======= 
     136            param_named sRefraction float 0.8 
     137>>>>>>> .r2314 
     138             }           
     139             //Cube map for reflections and refractions  
     140             texture_unit 
     141             { 
     142             
     143             } 
     144             //Cube map of distances 
     145             texture_unit 
     146             { 
     147                filtering none 
     148             } 
     149          } 
     150   } 
     151} 
     152 
     153material GTP/Caustic/Glass_PointSprite 
     154{ 
     155   technique  
     156   {    
     157      pass  
     158      {  
     159                 IllumTechniques 
     160                 { 
     161                        RenderTechnique ColorCubeMap 
     162                        { 
     163                                update_interval         0 
     164                                update_all_face true                                                                     
     165                        } 
     166                        RenderTechnique DistanceCubeMap 
     167                        { 
     168                                update_interval         0 
     169                                update_all_face true                                                                             
     170                        } 
     171                        RenderTechnique CausticCaster 
     172                        { 
     173                                attenuation     1000 
     174                                update_interval 1 
     175                                update_all_face true 
     176                                photonmap_resolution 64 
     177                                caustic_cubemap_resolution 256 
     178                                photon_map_material     GTP/Caustic/PhotonMap_HitEnv 
     179                                caustic_map_material    GTP/Caustic/CauCube_PointSprite 
     180                                blur_caustic_cubemap false 
    119181                        } 
    120182                         
     
    146208   } 
    147209} 
    148  
    149 material GTP/Caustic/Glass_PointSprite 
    150 { 
    151    technique  
    152    {    
    153       pass  
    154       {  
    155                  IllumTechniques 
    156                  { 
    157                         RenderTechnique ColorCubeMap 
    158                         { 
    159                                 update_interval         0 
    160                                 update_all_face true                                                                     
    161                         } 
    162                         RenderTechnique DistanceCubeMap 
    163                         { 
    164                                 update_interval         0 
    165                                 update_all_face true                                                                             
    166                         } 
    167                         RenderTechnique CausticCaster 
    168                         { 
    169                                 attenuation     1000 
    170                                 update_interval 1 
    171                                 update_all_face true 
    172                                 photonmap_resolution 64 
    173                                 caustic_cubemap_resolution 256 
    174                                 photon_map_material     GTP/Caustic/PhotonMap_HitEnv 
    175                                 caustic_map_material    GTP/Caustic/CauCube_PointSprite 
    176                                 blur_caustic_cubemap false 
    177                         } 
    178                          
    179                  }       
    180          vertex_program_ref GTP/Basic/Shaded_VS 
    181          {        
    182             param_named_auto WorldViewProj worldviewproj_matrix  
    183             param_named_auto World world_matrix 
    184             param_named_auto WorldInv inverse_world_matrix 
    185          }  
    186          fragment_program_ref GTP/EnvMap/Localized_Refraction_PS 
    187          {  
    188                     param_named_auto cameraPos camera_position 
    189             param_named lastCenter float3 0 0 0 
    190             param_named sFresnel float 0.1 
    191             param_named sRefraction float 0.8 
    192              }           
    193              //Cube map for reflections and refractions  
    194              texture_unit 
    195              { 
    196              
    197              } 
    198              //Cube map of distances 
    199              texture_unit 
    200              { 
    201                 filtering none 
    202              } 
    203           } 
    204    } 
    205 } 
Note: See TracChangeset for help on using the changeset viewer.