deferred_post_multipass.hlsl.program
资源名称:3dwind2.0.rar [点击查看]
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:1k
源码类别:
游戏引擎
开发平台:
Visual C++
- // Post processors
- fragment_program DeferredShading/post/hlsl/Ambient_ps hlsl
- {
- source DeferredShading/post/hlsl/Ambient_ps.hlsl
- target ps_2_0
- entry_point main
- default_params
- {
- param_named_auto ambientColor ambient_light_colour 0
- param_named_auto proj projection_matrix
- }
- }
- fragment_program DeferredShading/post/hlsl/GlobalLight_ps hlsl
- {
- source DeferredShading/post/hlsl/GlobalLight_ps.hlsl
- target ps_2_0
- entry_point main
- default_params
- {
- //param_named_auto invProj inverse_projection_matrix
- param_named_auto lightPos0 light_position_view_space 0
- param_named_auto lightDiffuseColor0 light_diffuse_colour 0
- param_named_auto lightSpecularColor0 light_specular_colour 0
- }
- }