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

游戏引擎

开发平台:

Visual C++

  1. // Auxilary lights
  2. /// Reference material [geometry]
  3. material DeferredShading/LightMaterial
  4. {
  5.     technique
  6.     {
  7. pass
  8. {
  9. // Don't disable depth test, because the light doesn't have to be rendered
  10. // if the bounding geometry is obscured.
  11. scene_blend add
  12. depth_write off
  13. depth_check on
  14. lighting off
  15. texture_unit
  16. {
  17. tex_address_mode clamp
  18. filtering none
  19. }
  20. texture_unit
  21. {
  22. tex_address_mode clamp
  23. filtering none
  24. }
  25. }
  26. }
  27. }
  28. /// Reference material [quad]
  29. material DeferredShading/LightMaterialQuad
  30. {
  31.     technique
  32.     {
  33. pass
  34. {
  35. scene_blend add
  36. depth_write off
  37. depth_check off
  38. lighting off
  39. texture_unit
  40. {
  41. tex_address_mode clamp
  42. filtering none
  43. }
  44. texture_unit
  45. {
  46. tex_address_mode clamp
  47. filtering none
  48. }
  49. }
  50. }
  51. }