Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- material ETTerrainMaterial3
- {
- technique
- {
- pass Ambient
- {
- vertex_program_ref ETAmbient_VS
- {
- }
- }
- pass Lighting
- {
- scene_blend add
- iteration once_per_light
- vertex_program_ref ET/Programs/VSDynLightingNM
- {
- }
- fragment_program_ref ET/Programs/PSDynLightingNM
- {
- param_named splatScaleX float 1
- param_named splatScaleZ float 1
- }
- texture_unit
- {
- // first coverage map, dynamically managed
- texture_alias RGBMap1
- }
- texture_unit
- {
- // second coverage map, dynamically managed
- texture_alias RGBMap2
- }
- texture_unit
- {
- // second coverage map, dynamically managed
- texture_alias RGBMap3
- }
- texture_unit
- {
- texture_alias RMap1_NRM
- }
- texture_unit
- {
- texture_alias GMap1_NRM
- }
- texture_unit
- {
- texture_alias BMap1_NRM
- }
- texture_unit
- {
- texture_alias RMap2_NRM
- }
- texture_unit
- {
- texture_alias GMap2_NRM
- }
- texture_unit
- {
- texture_alias BMap2_NRM
- }
- texture_unit
- {
- texture_alias RMap3_NRM
- }
- texture_unit
- {
- texture_alias GMap3_NRM
- }
- texture_unit
- {
- texture_alias BMap3_NRM
- }
- }
- //test
- // pass Lighting
- // {
- // scene_blend add
- // iteration once_per_light
- // vertex_program_ref ET/Programs/VSDynLightingNM
- // {
- // }
- // fragment_program_ref ET/Programs/PSDynLightingNM
- // {
- // param_named splatScaleX float 1
- // param_named splatScaleZ float 1
- // }
- // texture_unit
- // {
- // // first coverage map, dynamically managed
- // texture_alias RGBMap1b
- // }
- // texture_unit
- // {
- // // second coverage map, dynamically managed
- // texture_alias RGBMap2b
- // }
- // texture_unit
- // {
- // // second coverage map, dynamically managed
- // texture_alias RGBMap3b
- // }
- // texture_unit
- // {
- // texture_alias RMap1_NRMb
- // }
- // texture_unit
- // {
- // texture_alias GMap1_NRMb
- // }
- // texture_unit
- // {
- // texture_alias BMap1_NRMb
- // }
- // texture_unit
- // {
- // texture_alias RMap2_NRMb
- // }
- // texture_unit
- // {
- // texture_alias GMap2_NRMb
- // }
- // texture_unit
- // {
- // texture_alias BMap2_NRMb
- // }
- // texture_unit
- // {
- // texture_alias RMap3_NRMb
- // }
- // texture_unit
- // {
- // texture_alias GMap3_NRMb
- // }
- // texture_unit
- // {
- // texture_alias BMap3_NRMb
- // }
- // }
- // primary splatting technique, requires PS 2.0
- pass Splatting
- {
- scene_blend modulate
- vertex_program_ref ET/Programs/VSDynLightingNM
- {
- }
- fragment_program_ref ET/Programs/PSDynLightingNM
- {
- }
- vertex_program_ref ET/Programs/VSLodMorph2
- {
- }
- fragment_program_ref ET/Programs/PSSplat2
- {
- param_named splatScaleX float 1
- param_named splatScaleZ float 1
- }
- texture_unit
- {
- // first coverage map, dynamically managed
- texture_alias RGBMap1
- }
- texture_unit
- {
- // second coverage map, dynamically managed
- texture_alias RGBMap2
- }
- texture_unit
- {
- // second coverage map, dynamically managed
- texture_alias RGBMap3
- }
- // splatting textures
- texture_unit
- {
- texture_alias RMap1_DIF
- }
- texture_unit
- {
- texture_alias GMap1_DIF
- }
- texture_unit
- {
- texture_alias BMap1_DIF
- }
- texture_unit
- {
- texture_alias RMap2_DIF
- }
- texture_unit
- {
- texture_alias GMap2_DIF
- }
- texture_unit
- {
- texture_alias BMap2_DIF
- }
- texture_unit
- {
- texture_alias RMap3_DIF
- }
- texture_unit
- {
- texture_alias GMap3_DIF
- }
- texture_unit
- {
- texture_alias BMap3_DIF
- }
- }
- pass
- {
- // colour map
- scene_blend modulate
- vertex_program_ref ET/Programs/VSLodMorph3
- {
- }
- texture_unit
- {
- texture_alias Color
- }
- }
- }
- }
- material Unimog406 : ETTerrainMaterial3
- {
- set_texture_alias RGBMap1 MR-full_red.dds
- set_texture_alias RMap1_DIF Unimog406.png
- set_texture_alias RMap1_NRM Unimog406norm.dds
- set_texture_alias Color Unimog406ao.png
- }
Add Comment
Please, Sign In to add comment