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

游戏引擎

开发平台:

Visual C++

  1. fragment_program Ogre/Compositor/Combine_fp cg
  2. {
  3. source Combine_fp.cg
  4. profiles ps_2_0 arbfp1
  5. entry_point Combine_fp
  6. default_params
  7. {
  8. param_named blur float 0.8
  9. }
  10. }
  11. material Ogre/Compositor/Combine
  12. {
  13. technique
  14. {
  15. pass
  16. {
  17. depth_check off
  18. fragment_program_ref Ogre/Compositor/Combine_fp
  19. {
  20. }
  21. vertex_program_ref Ogre/Compositor/StdQuad_vp
  22. {
  23. }
  24. texture_unit RT
  25. {
  26. tex_address_mode clamp
  27. filtering linear linear none
  28.                 tex_coord_set 0
  29. }
  30. texture_unit SUM
  31. {
  32. tex_address_mode clamp
  33. filtering linear linear none
  34.                 tex_coord_set 0
  35. }
  36. }
  37. }
  38. }
  39. material Ogre/Compositor/Copyback
  40. {
  41. technique
  42. {
  43. pass
  44. {
  45. lighting off
  46. depth_check off
  47. texture_unit Temp
  48. {
  49. tex_address_mode clamp
  50. filtering linear linear none
  51. colour_op replace
  52.                 tex_coord_set 0
  53. }
  54. }
  55. }
  56. }
  57. material Ogre/Compositor/MotionBlur
  58. {
  59. technique
  60. {
  61. pass
  62. {
  63. lighting off
  64. depth_check off
  65. texture_unit Sum
  66. {
  67. tex_address_mode clamp
  68. filtering linear linear none
  69. colour_op replace
  70.                 tex_coord_set 0
  71. }
  72. }
  73. }
  74. }