游戏开发论坛

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

OGRE多纹理问题

[复制链接]

2

主题

23

帖子

38

积分

注册会员

Rank: 2

积分
38
发表于 2008-5-26 12:11:00 | 显示全部楼层 |阅读模式
我现在有一个mesh,这个mesh针对二个纹理贴图.我在ogre demo中只找到类似
                        texture_unit
                        {

                                texture xxx.jpg

                        }
现在我要再加一个贴图我用

                        texture_unit
                        {
                                texture_alias Bitmaptexture
                                texture ILLIDAN.tga
                        }
                        texture_unit
                        {
                                texture_alias Bitmaptexture
                                texture ILLIDAN.tga
                        }
不起作用.请问如何再材质脚本中定义一个模型针对多个纹理文件?另外如果我想自己定义纹理的uv如何在脚本中实现?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-1-22 10:10

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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