游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1988|回复: 0

请写过OGRE合成器脚本的大虾帮忙

[复制链接]

2

主题

20

帖子

20

积分

注册会员

Rank: 2

积分
20
发表于 2008-1-17 12:12:00 | 显示全部楼层 |阅读模式
我写了一个合成器脚本,按照OGRE的输出修改了所有的相关错误,但是输出日志还是告诉我没有技术支持,具体的合成器脚本如下:compositor ColorControl
{
        technique
        {
                texture Base target_width target_height PF_FLOAT16_RGB
                texture HSL target_width target_height PF_FLOAT16_RGB
                texture NormalColor target_width target_height PF_FLOAT16_RGB
       
                target Base
                {
                        input previous
//                        pass clear
//                        {
//                        }
//                        pass render_scene
//                        {
//                        }
                }
                target HSL
                {
                        input none       

                        pass render_quad
                        {
                                material ChangeToHSL
                                input 0 Base
                                identifier 503
                        }               
                }
                target NormalColor
                {
                        input none
                        pass render_quad
                        {
                                material ChangeToRGB
                                input 0 HSL
                                identifier 502
                        }
                }
                target_output
                {
                        input none
                        pass render_quad
                        {
                                material ColorControl
                                input 0 NormalColor
//                                identifier 501
                        }
                }
        }
}

[em17]
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-19 21:46

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表