当前位置:网站首页>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 .
边栏推荐
- 【Go基础】1 - Go Go Go
- NPM run build error
- Example analysis of C # read / write lock
- SQL statement view SQL Server 2005 version number
- Devops Practice Guide - reading notes (long text alarm)
- PHP converts seconds to timestamps - PHP
- Sort by item from the list within the list - C #
- Figure guessing game
- Azure ad domain service (II) configure azure file share disk sharing for machines in the domain service
- 1. Getting started with QT
猜你喜欢

Unity text superscript square representation +text judge whether the text is empty

How to improve your system architecture?

Developers really review CSDN question and answer function, and there are many improvements~

C, Numerical Recipes in C, solution of linear algebraic equations, Gauss Jordan elimination method, source code

Redis sentinel mechanism

std::is_ union,std::is_ class,std::integral_ constant

ZABBIX 5.0 monitoring client
![[Gurobi] 简单模型的建立](/img/3f/d637406bca3888b939bead40b24337.png)
[Gurobi] 简单模型的建立

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

墨者学院-PHPMailer远程命令执行漏洞溯源
随机推荐
string. Format without decimal places will generate unexpected rounding - C #
团体程序设计天梯赛-练习集 L1-006 连续因子
2022 gas examination registration and free gas examination questions
广和通高性能4G/5G无线模组解决方案全面推动高效、低碳智能电网
Oracle stored procedures and functions
Internal learning
Activiti common operation data table relationship
Group programming ladder race - exercise set l1-006 continuity factor
How to solve the problem of computer jam and slow down
R language ggplot2 visualization: ggplot2 visualization grouping box diagram, place the legend and title of the visualization image on the top left of the image and align them to the left, in which th
[CV] Wu Enda machine learning course notes | Chapter 9
1. Kalman filter - the best linear filter
一文了解數據异常值檢測方法
ctfshow web255 web 256 web257
Scanf read in data type symbol table
deno debugger
DM database password policy and login restriction settings
Openfeign service interface call
std::is_ union,std::is_ class,std::integral_ constant
Show server status on Web page (on or off) - PHP