Version: Unity 6 (6000.0)
Language : English
Sample a 2D texture array in a shader
Introduction to cubemaps

Cubemaps

Resources for creating and using a collection of six square textures that represent the reflections in an environment, and form an imaginary cube around a GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
.

Page Description
Introduction to cubemaps Understand that a cubemap has six squares forming the faces of an imaginary cube that surrounds an object.
Create a cubemap Generate a cubemap from textures, or the contents of a sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
.
Create a cubemap array Use a script to create a cubmap array.
Sample a cubemap array in a shader Sample a cubemap array in High-level ShaderA program that runs on the GPU. More info
See in Glossary
Language (HLSL).
Preview a cubemap array Use the Texture Settings Import window to check a cubemap.

Additional resources

Sample a 2D texture array in a shader
Introduction to cubemaps
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961