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

游戏引擎

开发平台:

Visual C++

  1. // Auxilary lights
  2. vertex_program DeferredShading/post/glsl/LightMaterial_vs glsl
  3. {
  4. source DeferredShading/post/glsl/LightMaterial_vs.glsl
  5. default_params
  6. {
  7. param_named_auto invProj inverse_projection_matrix
  8. param_named_auto vpWidth viewport_width
  9. param_named_auto vpHeight viewport_height
  10. }
  11. }
  12. fragment_program DeferredShading/post/glsl/LightMaterial_ps glsl
  13. {
  14. source DeferredShading/post/glsl/LightMaterial_ps.glsl
  15. default_params
  16. {
  17. param_named_auto worldView worldview_matrix
  18. param_named_auto lightDiffuseColor custom 1
  19. param_named_auto lightSpecularColor custom 2
  20. param_named_auto lightFalloff custom 3
  21. param_named tex0 int 0
  22. param_named tex1 int 1
  23. }
  24. }