当前位置:网站首页>Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 007 - production and setting skybox resources
Private collection project practice sharing [Yugong series] February 2022 U3D full stack class 007 - production and setting skybox resources
2022-07-04 08:29:00 【Yugong move code】
Preface
In the use of Unity When developing games , Setting the sky box is definitely essential . If you use 3D modeling , It will be troublesome to build a sky box and put it in the scene .Unity The function of simply setting skybox is provided in . As long as there is skybox resource file ( Skybox resource files are actually six seamlessly connected pictures , And a shader , Shaders Unity It's already built in .
One 、 Make and set skybox resources
1. Download resources
Download and import hdr High dynamic range image resources to Project In the view


2. Create materials
Project Create a new one in the view Material

modify Material Of Shader by SkyBox>CudeMap/6Sided,CubeMap Type of Shader The map needs to be assigned a TextureShape by Cube The content of .
3.Material Assignment map
The shader in the sky box resource is set to cube , Click application

4. Render the scene
menu bar Window>Rendering>Lighting Setting Set up SkyBox Material

Selection environment -》 Material settings sky box scene

5. Rendering Components
Select... In the menu bar above ”Component“, Then move the mouse to ”Rendering“, One of the menus listed on the right is ”Skybox“. Click on ”Skybox“, It can be ”Skybox“ Component added to MainCamera above . It should be noted that , Before clicking, it must be in Hierarchy Select... In the view MainCamera, Otherwise you can't add . If you select another object , Will be added to other objects .

6. Rendering Components
There is also a way to set the sky box material 6sided


summary
The sky box is windows The platform works , But on other platforms , For example, on mobile devices , The shaders of sky box material they support may be different , So we need to prepare appropriate resources .
边栏推荐
- [Chongqing Guangdong education] National Open University spring 2019 455 logistics practice reference questions
- C#,数值计算(Numerical Recipes in C#),线性代数方程的求解,Gauss-Jordan消去法,源代码
- Azure ad domain service (II) configure azure file share disk sharing for machines in the domain service
- 墨者学院-PHPMailer远程命令执行漏洞溯源
- zabbix监控系统部署
- Learn nuxt js
- Devops Practice Guide - reading notes (long text alarm)
- Sqli labs download, installation and reset of SQL injection test tool one of the solutions to the database error (# 0{main}throw in d:\software\phpstudy_pro\www\sqli labs-...)
- Wechat has new functions, and the test is started again
- If the array values match each other, shuffle again - PHP
猜你喜欢

Collections in Scala

Comprendre la méthode de détection des valeurs aberrantes des données

Mouse over to change the transparency of web page image

NPM run build error

DM8 tablespace backup and recovery

zabbix 5.0监控客户端

Ecole bio rushes to the scientific innovation board: the annual revenue is 330million. Honghui fund and Temasek are shareholders

1. Getting started with QT

MySQL relearn 1-centos install mysql5.7

Devops Practice Guide - reading notes (long text alarm)
随机推荐
ZABBIX monitoring system custom monitoring content
WordPress get_ Users() returns all users with comparison queries - PHP
@Role of pathvariable annotation
Google's official response: we have not given up tensorflow and will develop side by side with Jax in the future
团体程序设计天梯赛-练习集 L1-006 连续因子
团体程序设计天梯赛-练习集 L2-002 链表去重
Laravel page load problem connection reset - PHP
How to solve the problem of computer jam and slow down
[test de performance] lire jmeter
[Chongqing Guangdong education] National Open University spring 2019 455 logistics practice reference questions
Système de surveillance zabbix contenu de surveillance personnalisé
What if the wireless network connection of the laptop is unavailable
Convert datetime string to datetime - C in the original time zone
Common components of flask
DM8 database recovery based on point in time
snipaste 方便的截图软件,可以复制在屏幕上
manjaro安装微信
力扣今日题-1200. 最小绝对差
[gurobi] establishment of simple model
ZABBIX 5.0 monitoring client