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

游戏引擎

开发平台:

Visual C++

  1. fragment_program Ogre/Compositor/SharpenEdgesFP cg
  2. {
  3. source SharpenEdgesFP.cg
  4.     entry_point sharpenEdges_fp
  5. profiles ps_2_x ps_2_0 arbfp1
  6. }
  7. material Ogre/Compositor/SharpenEdges
  8. {
  9.     technique
  10.     {
  11. pass
  12. {
  13. cull_hardware none
  14. cull_software none
  15. depth_func always_pass
  16. //DirectX 9.0 HLSL Vertex Shader vs_1_1
  17. //vertex_program_ref PostFilters/SharpenEdgesVP
  18. //{
  19. //}
  20. vertex_program_ref Ogre/Compositor/StdQuad_Tex2a_vp
  21. {
  22. }
  23. //DirectX 9.0 HLSL Pixel Shader ps_2_0
  24. fragment_program_ref Ogre/Compositor/SharpenEdgesFP
  25. {
  26. }
  27. texture_unit
  28. {
  29.                 tex_coord_set 0
  30. tex_address_mode clamp
  31. filtering trilinear
  32. }
  33. }
  34. }
  35. }