deferred_post_onepass.material
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:1k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. // Post processors
  2. material DeferredShading/Post/Single
  3. {
  4.     technique
  5.     {
  6.      pass
  7. {
  8. cull_hardware none
  9. cull_software none
  10. depth_func always_pass
  11. depth_write on
  12. // Doesn't work for some reason
  13. //depth_check off
  14. fragment_program_ref DeferredShading/post/hlsl/SinglePass_ps
  15. {
  16. }
  17. vertex_program_ref DeferredShading/post/hlsl/vs
  18. {
  19. }
  20. texture_unit
  21. {
  22. tex_address_mode clamp
  23. filtering none
  24. }
  25. texture_unit
  26. {
  27. tex_address_mode clamp
  28. filtering none
  29. }
  30. }
  31. }
  32. technique
  33.     {
  34.      pass
  35. {
  36. cull_hardware none
  37. cull_software none
  38. depth_func always_pass
  39. depth_write on
  40. // Doesn't work for some reason
  41. //depth_check off
  42. fragment_program_ref DeferredShading/post/glsl/SinglePass_ps
  43. {
  44. }
  45. vertex_program_ref DeferredShading/post/glsl/vs
  46. {
  47. }
  48. texture_unit
  49. {
  50. tex_address_mode clamp
  51. filtering none
  52. }
  53. texture_unit
  54. {
  55. tex_address_mode clamp
  56. filtering none
  57. }
  58. }
  59. }
  60. }