deferred_post_multipass.material
资源名称:3dwind2.0.rar [点击查看]
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:2k
源码类别:
游戏引擎
开发平台:
Visual C++
- // Post processors
- material DeferredShading/Post/Multi
- {
- technique
- {
- pass
- {
- // Ambient and depth write pass
- cull_hardware none
- cull_software none
- //depth_check off
- depth_write on
- fragment_program_ref DeferredShading/post/hlsl/Ambient_ps
- {
- }
- vertex_program_ref DeferredShading/post/hlsl/vs
- {
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- }
- pass
- {
- scene_blend add
- cull_hardware none
- cull_software none
- iteration once_per_light
- depth_write off
- //depth_check off
- fragment_program_ref DeferredShading/post/hlsl/GlobalLight_ps
- {
- }
- vertex_program_ref DeferredShading/post/hlsl/vs
- {
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- }
- }
- technique
- {
- pass
- {
- // Ambient and depth write pass
- cull_hardware none
- cull_software none
- //depth_check off
- depth_write on
- fragment_program_ref DeferredShading/post/glsl/Ambient_ps
- {
- }
- vertex_program_ref DeferredShading/post/glsl/vs
- {
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- }
- pass
- {
- scene_blend add
- cull_hardware none
- cull_software none
- iteration once_per_light
- depth_write off
- depth_check off
- fragment_program_ref DeferredShading/post/glsl/GlobalLight_ps
- {
- }
- vertex_program_ref DeferredShading/post/glsl/vs
- {
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- }
- }
- }