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

游戏引擎

开发平台:

Visual C++

  1. fragment_program Ogre/Compositor/OldTV_FP cg
  2. {
  3. source OldTV.cg
  4. entry_point OldTV_ps
  5. profiles ps_2_0 arbfp1
  6. }
  7. material Ogre/Compositor/OldTV
  8. {
  9. technique
  10. {
  11. pass
  12. {
  13. depth_check off
  14. vertex_program_ref Ogre/Compositor/StdQuad_Tex2a_vp
  15. {
  16. }
  17. fragment_program_ref Ogre/Compositor/OldTV_FP
  18. {
  19.                 param_named_auto time_0_X time_0_x 120
  20.                 param_named_auto sin_time_0_X sintime_0_x 120
  21.                 param_named distortionFreq float 2.7
  22.                 param_named distortionScale float 2.5
  23.                 param_named distortionRoll float 0.93
  24.                 param_named interference float 0.5
  25.                 param_named frameLimit float 0.40
  26.                 param_named frameShape float 0.26
  27.                 param_named frameSharpness float 6.0
  28. }
  29. texture_unit 0
  30. {
  31.                 tex_coord_set 0
  32. tex_address_mode clamp
  33. filtering linear linear linear
  34. }
  35. texture_unit 1
  36. {
  37. texture Random3D.dds 3d
  38.                 tex_coord_set 1
  39. tex_address_mode wrap
  40. filtering linear linear linear
  41. }
  42. texture_unit 2
  43. {
  44. texture NoiseVolume.dds 3d
  45.                 tex_coord_set 2
  46. tex_address_mode wrap
  47. filtering linear linear linear
  48. }
  49. }
  50. }
  51. }