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

游戏引擎

开发平台:

Visual C++

  1. // Post processors
  2. vertex_program DeferredShading/post/glsl/vs glsl
  3. {
  4. source DeferredShading/post/glsl/vs.glsl
  5. default_params
  6. {
  7. param_named_auto invProj inverse_projection_matrix
  8. }
  9. }
  10. fragment_program DeferredShading/post/glsl/SinglePass_ps glsl
  11. {
  12. source DeferredShading/post/glsl/SinglePass_ps.glsl
  13. default_params
  14. {
  15. param_named_auto proj projection_matrix
  16. param_named_auto ambientColor ambient_light_colour 0
  17. param_named_auto lightPos0 light_position_view_space 0
  18. param_named_auto lightDiffuseColor0 light_diffuse_colour 0
  19. param_named_auto lightSpecularColor0 light_specular_colour 0
  20. param_named_auto lightPos1 light_position_view_space 1
  21. param_named_auto lightDiffuseColor1 light_diffuse_colour 1
  22. param_named_auto lightSpecularColor1 light_specular_colour 1
  23. param_named tex0 int 0
  24. param_named tex1 int 1
  25. }
  26. }