查看: 2610|回复: 1
打印 上一主题 下一主题

[Unity 组件参考手册]组件:渲染组件之天空盒

[复制链接]
.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

活跃会员 优秀版主 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2013-2-5 16:14:59 |只看该作者 |倒序浏览
This group contains all Components that have to do with rendering in-game and user interface elements. Lighting and special effects are also included in this group.这个组包括在游戏中渲染和界面元素的所有组件。光照和特定效果也包含在这个组。
下面介绍天空盒。 Skyboxes are a wrapper around your entire scene that display the vast beyond of your world.天空盒(Skyboxes)套在你的世界之外的整个巨大场景外。
One of the default Skyboxes found under Standard Assets->Skyboxes
一个默认的天空盒在Standard Assets->Skyboxes路径。
[Properties 属性]----------------------------------------------------------------------------    Material 材质
    The Material used to render the Skybox, which contains 6 Textures. This Material should use the Skybox Shader, and each of the textures should be assigned to the proper global direction.
    用于渲染天空盒的材质,包括6个纹理。这种材质应该用天空盒着色器(Skybox Shader),而每个纹理应该配置适当的全球的方向。Details 细节Skyboxes are rendered before anything else in the scene in order to give the impression of complex scenery at the horizon. They are a box of 6 textures, one for each primary direction (+/-X, +/-Y, +/-Z).为了能有地平线上的复杂风光的感觉,天空盒(Skyboxes)会在渲染场景中的任何东西之前渲染。他们是6个纹理的盒子,1为主要的方向((+/-X, +/-Y, +/-Z).)You have two options for implementing Skyboxes. You can add them to an individual Camera (usually the main Camera) or you can set up a default Skybox in Render Settings's Skybox Material property. The Render Settings is most useful if you want all Cameras in your scene to share the same Skybox.你有两个选择执行天空盒(Skyboxes)。你可以把他们添加到单独的相机(通常是主要的相机),或者你可以通过 渲染设置中(Render Settings's)的天空盒材质( Skybox Material )属性来建立一个默认设置的天空盒(Skyboxes)。如果你想场景中所有的相机都能共享相同的天空盒(Skyboxes),渲染设置(Render Settings )是最有用的,Adding the Skybox Component to a Camera is useful if you want to override the default Skybox set up in the Render Settings. E.g. You might have a split screen game using two Cameras, and want the Second camera to use a different Skybox. To add a Skybox Component to a Camera, click to highlight the Camera and go to Component->Rendering->Skybox.如果你想覆盖缺省的天空盒(Skybox)渲染设置(Render Settings), 把天空盒(Skybox)组件添加到相机.例如你的分屏游戏可能使用两个摄像头,并希望第二个摄像头,使用不同的天空盒(Skybox)。要添加天空盒(Skybox)组件到相机中,单击使相机突出显示,然后点击Component->Rendering->Skybox.Unity's Standard Assets contain 2 pre-setup Skybox materials in Standard Assets->Skyboxes.Unity的标准资源(Standard Assets)包含有2个预设的天空盒(Skybox)材质,路径:Standard Assets->Skyboxes.If you want to create a new Skybox, use this guide.如果你想创建一个新的天空盒(Skybox),使用这个指南(use this guide).
[Hints 提示:]----------------------------------------------------------------------------    If you have a Skybox assigned to a Camera, make sure to set the Camera's Clear mode to Skybox.
    如果你有一个天空盒(Skybox)赋给了一个相机,一定要把相机的Clear mode 设置为Skybox。
    It's a good idea to match your Fog color to the skybox's color. Fog color can be set in Render Settings.
    这是一个让雾颜色与天空盒(Skybox)颜色想匹配的好方法。雾颜色可以在渲染设置(Render Settings)设置。 【来源:互联网】
更多精彩教程,尽在web3D纳金网http://www.narkii.com/college/
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

nts    

3

主题

1

听众

743

积分

初级设计师

Rank: 3Rank: 3

纳金币
7
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

沙发
发表于 2013-10-20 11:32:38 |只看该作者
雾颜色与天空盒
回复

使用道具 举报

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

关闭

站长推荐上一条 /1 下一条

手机版|纳金网 ( 闽ICP备08008928号

GMT+8, 2024-5-6 13:56 , Processed in 0.085669 second(s), 32 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部