|
我使用下面的方法设置天空:
sceneManager->setSkyBox(true,"Examples/EveningSkyBox",5000,false);
但是运行起来后,天空一片黑暗,正常应该是夕阳的天空,不明白什么原因
sceneManager的类型是ST_EXTERIOR_CLOSE,所有的resources都设置正确,我发现Examples/EveningSkyBox是在media/materials/scripts/Examples.material里,其中的的定义如下:
。。。
texture_unit
{
cubic_texture evening.jpg sparateUV
tex_address_mode clamp
}
但是我在material下找不到evening.jpg这个文件,只是发现在media/packs/cubemapsJS.zip里有evening_BK.jpg,evening_DN.jpg,evening_FR.jpg,evening_LF.jpg,evening_RT.jpg,evening_UP.jpg
难道evening.jpg是由这几个文件拼起来的,拼的过程是在哪里定义的呢
小弟新学ogre,希望高人指点下
谢谢! |
|