deferred_post_minilight.material
资源名称:3dwind2.0.rar [点击查看]
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:1k
源码类别:
游戏引擎
开发平台:
Visual C++
- // Auxilary lights
- /// Reference material [geometry]
- material DeferredShading/LightMaterial
- {
- technique
- {
- pass
- {
- // Don't disable depth test, because the light doesn't have to be rendered
- // if the bounding geometry is obscured.
- scene_blend add
- depth_write off
- depth_check on
- lighting off
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- }
- }
- }
- /// Reference material [quad]
- material DeferredShading/LightMaterialQuad
- {
- technique
- {
- pass
- {
- scene_blend add
- depth_write off
- depth_check off
- lighting off
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- texture_unit
- {
- tex_address_mode clamp
- filtering none
- }
- }
- }
- }