unity3D入门系列十三,如何制作天空盒(SkyBox)(英文)
2013-07-20 09:51
225 查看
unity3D入门系列十三,如何制作天空盒(SkyBox)(英文)
A Skybox is a 6-sided cube that is drawn behind all graphics in the game. Here are the steps to create one:
Make 6 textures that correspond to each of the 6 sides of the skybox and put them into your project's
Assets folder.
For each texture you need to change the wrap mode from
Repeat to Clamp. If you don't do this colors on the edges will not match up:
Create a new Material by choosing
Assets->Create->Material from the menu bar.
Select the shader drop-down in the top of the Inspector, choose
RenderFX->Skybox.
Assign the 6 textures to each texture slot in the material. You can do this by dragging each texture from the
Project View onto the corresponding slots.
To Assign the skybox to the scene you're working on:
Choose Edit->Render Settings from the menu bar.
Drag the new Skybox Material to the Skybox Material slot in the Inspector.
Note that
Standard Assets package contains several ready-to-use skyboxes - this is the quickest way to get started!
由www.J2meGame.com精心收集。
A Skybox is a 6-sided cube that is drawn behind all graphics in the game. Here are the steps to create one:
Make 6 textures that correspond to each of the 6 sides of the skybox and put them into your project's
Assets folder.
For each texture you need to change the wrap mode from
Repeat to Clamp. If you don't do this colors on the edges will not match up:
Create a new Material by choosing
Assets->Create->Material from the menu bar.
Select the shader drop-down in the top of the Inspector, choose
RenderFX->Skybox.
Assign the 6 textures to each texture slot in the material. You can do this by dragging each texture from the
Project View onto the corresponding slots.
To Assign the skybox to the scene you're working on:
Choose Edit->Render Settings from the menu bar.
Drag the new Skybox Material to the Skybox Material slot in the Inspector.
Note that
Standard Assets package contains several ready-to-use skyboxes - this is the quickest way to get started!
由www.J2meGame.com精心收集。
相关文章推荐
- 如何修改邮箱的英文界面:Exchange2003系列之三
- iPhone Development Blog系列: 如何制作服务条例窗口
- [转]DPM2012系列之十三:如何清理无法联系的客户端代理
- Wix打包系列(一)如何使用wix制作安装程序
- Wix打包系列(一)如何使用wix制作安装程序
- 如何修改邮箱的英文界面:Exchange2003系列之三
- DPM2012系列之十三:如何清理无法联系的客户端代理
- Wix打包系列(一)如何使用wix制作安装程序
- (爱加密系列教程十三) 如何防止工具(八门神器)进行内存修改
- C/C++面试之算法系列--如何实现用更少的空间表示英文字母(a ~ z)构成char A[n]字符串
- 如何修改邮箱的英文界面:Exchange2003系列之三
- 简述如何制作 zTree v3.x 系列的扩展 js 库
- Wix打包系列(一)如何使用wix制作安装程序
- 用一张图片制作skybox图片 (如何制作360全景图、立方体)
- 微软BI 之SSRS 系列 - 如何实现报表标签的本地化 - 中文和英文的互换
- 如何修改邮箱的英文界面:Exchange2003系列之三
- Wix打包系列(一)如何使用wix制作安装程序
- DPM2012系列之十三:如何清理无法联系的客户端代理
- Mxnet学习系列2----如何制作image.rec(新版本)
- Wix打包系列(一)如何使用wix制作安装程序