Загрузка страницы

Unity Materials [01] - COLOR and TEXTURE

ACCESS the FULL COURSE here: https://academy.zenva.com/product/unity-game-development-mini-degree/?zva_src=youtube-description-unitymaterialscolortexture

TRANSCRIPT

Welcome back everyone. In this lesson we are going to be going over materials inside of Unity. Materials define how an object looks in the game. They can define the texture of the object, the color, the reflectiveness, how transparent it is. In the example to the right, what we have is three different three different materials. Now, a material in unity is in asset that takes on the properties of something called a Shader. A Shader is a bunch of code that you can write which defines how the game engine renders an object on your screen. It takes into consideration the viewing angle, the lighting and a bunch of other properties such as color, texture. Runs that object through a specific shade and presents what it looks like to your screen. Unity has their own standard shader, which is what we'll be using and that allows us to change many different things. We can add textures, color, transparency, emission a bunch of other features that is included on Unity's standard shader. On the example to the right here, we have three different materials that are being used to create the cars. We have the wheel material which is using a the Unity Standard Shader and a car texture. Then we have the blue car material which is using another car texture, a blue color tint and a custom bodywork shader that they have created. And yeah let's hop into Unity now and create our first material. Okay, so what we wanna do is go to the assets folder here and I'm gonna right-click and create a new folder. So, I'm going to right-click, go Create folder and I'm gonna call this folder, Materials. We can double click to open that folder and inside here, I am going to right-click, go Create and I can then select Material to create a brand new material. For this material, I'm just gonna call it, My Material and we have this material created now. And on the right hand side, inside of this inspector we can see all of the properties that we can change. You can change the color by selecting this little color box here. You can change what the material looks like.

Видео Unity Materials [01] - COLOR and TEXTURE канала Zenva
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
1 октября 2019 г. 20:00:04
00:07:47
Яндекс.Метрика