deferred_post_minilight.hlsl.program
资源名称:3dwind2.0.rar [点击查看]
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:1k
源码类别:
游戏引擎
开发平台:
Visual C++
- // Auxilary lights
- vertex_program DeferredShading/post/hlsl/LightMaterial_vs hlsl
- {
- source DeferredShading/post/hlsl/LightMaterial_vs.hlsl
- target vs_1_1
- entry_point main
- default_params
- {
- param_named_auto worldViewProj worldviewproj_matrix
- param_named_auto invProj inverse_projection_matrix
- param_named_auto vpWidth viewport_width
- param_named_auto vpHeight viewport_height
- }
- }
- fragment_program DeferredShading/post/hlsl/LightMaterial_ps hlsl
- {
- source DeferredShading/post/hlsl/LightMaterial_ps.hlsl
- target ps_2_0
- entry_point main
- default_params
- {
- param_named_auto worldView worldview_matrix
- param_named_auto lightDiffuseColor custom 1
- param_named_auto lightSpecularColor custom 2
- param_named_auto lightFalloff custom 3
- }
- }