[I give Unity official video tutorial to do Chinese subtitles]beginner graphics–lessons series of materials to understand materials
After sharing the Chinese subtitles in the light introduction lights, this chapter share a 3rd completed video, that is, "beginner graphics–lessons series of materials to understand materials." Listen to the translation, the time axis, suppress the person is oneself. Do not use the video for illegal purposes.
In need of high-definition video of the classmate trouble to praise and leave your email~
Recently I was moving, the Internet less opportunities, reply slower please understand
There's a video with the truth
Highlights in the video
Materials in Unity (material is an asset that controls the appearance of objects in the game (asset)
Material is assigned to the render component
The material links the shader (the script that paints the object's surface) with the information of color, texture, etc.
You can create a material in the Project panel
I want to create a material and then assign it to an object
You can also select the appropriate shader in the drop-down list
Suppose there is a simple box (Cube) in Unity
We want to assign the sample material to the box
Simply drag and drop the material into the "Mesh Render" component of the box
Mesh render is the component used to render any 3D mesh
We assign the material to the "Materials" column.
By default
The basic grid component uses the default material "Default-diffuse" provided by unity
We replaced it with our own sample material.
I drag and drop the sample material into the "Materials" column, which works the same way as the following
That is, I drag and drop the sample material directly onto the model or scene
Unity lets you see the preview effect after drag and drop
Once assigned to success, you can see the properties of the sample material in the Inspector panel
The Properties panel you see here is a shortcut to editing the sample material
It's important.
Because when you modify the material properties here, you actually modify the material itself
So every object that uses this material will change color at the same time.
When you import 3D assets from some modeling software (3DMAX, etc.)
The texture map is automatically assigned to the corresponding object.
For example, we imported this plastic door.
and saved its texture map in the "Textures" folder.
This allows unity to automatically search for and assign the materials it automatically creates in this folder.
The door has two parts: the Door and the box
The two sections use the same material, but use different parts of the map to render themselves
Unity automatically creates a material named "Prop_blastdoor"
Click on the name to highlight this material in the Project panel
When Unity imports 3D assets under standard conditions
Unity will use the "diffuse" this shader
This shader renders a standard 3D grid appearance
This asset has normal map.
In order to use it, we can choose to have a bump feeling of shader, such as "bumped diffuse"
Normal map is a way to store height and direction information
This information is projected onto the surface of the planar mesh
Can achieve the object's bump Feeling
And you don't need to add vertices to the model
We can also extend other effects
For example, to increase the luminous effect, simply select "Bumped specular"
All in all, from the original flat piece door to the gorgeous effect with a bump-feeling sparkle
This can be done with just a different shader
No modifications to the original model are required
This is the beauty of using materials
Unity comes with a lot of shader to meet the needs of everyday game development
You can use the "create" button in the Project panel to create a new shader
Plan
I've collected a total of 75 English videos similar to the one given in this article. In the near future, we will gradually produce Chinese subtitles and share them.
1.Unity Interface Overview-unity official Tutorials Beginner Editor-lessons Series 2. Scene View-unity official tutorial Beginner Editor-lessons Series 3. Project panel and Import 4. View Panel-unity official tutorial Beginner Editor-lessons Series 5. Level and parent-child relationship-unity Official tutorial Beginner Editor-lessons Series 6. Understanding Game View-unity Official tutorial Beginner Editor-lessons Series 7. Label-unity official tutorial Beginner Editor-lessons Series 8. Prefabrication-Concepts and usage-unity official Tutorials Beginner Editor-lessons Series 9. Game objects and Components-unity official Tutorials Beginner Editor-lessons Series 10. Set up and player settings-unity official tutorial Beginner Editor-lessons Series |
√1. Camera Introduction Cameras--beginner graphics-lessons Series √2. Introduction Lights--beginner Graphics- Lessons Series √3. Material Understanding Materials-- Beginner graphics-lessons Series 4. Grid rendering and filter mesh Renderers and Filters--beginner graphics-lessons series 5. Introduction to the Grid meshes--beginner graphics-lessons series 6. Material Introduction Textures--beginner graphics-lessons Series |
1. Light Projection Concept Raycasting--unity Official Tutorial physical system 2. Understanding Rigid Body rigidbodies--unity Official Tutorial physical system 3. Physical material physic Materials--unity Official Tutorial physical system 4. Collision Input Oncollisionenter--unity Official tutorial physical system 5. Joint Introduction Joints--unity Official Tutorial physical system 6. Collider as trigger colliders as Triggers--unity official tutorial physical system 7. Collider Introduction Colliders--unity Official Tutorial physical system 8. Adding torque Add Torque--unity official Tutorial physical system 9. Adding force field Add Force--unity Official Tutorial physical system 10. Brick shooting Brick shooter--unity Official tutorial physical system 11. Pinball Bouncing Ball--unity official tutorial physical system |
1. Project Overview--Stealth Project stealth style game maker 2. Game setup and lighting--Stealth project stealth style game maker 3. Warning light Settings--Stealth project stealth style game maker 4. Tag Management--Stealth project stealth style game maker 5. Screen gradient Effect--Stealth project stealth style game maker 6. Game controller--Stealth project stealth style game maker 7. CCTV camera--Stealth project stealth style game production 8. Laser Grid effect--Stealth project stealth style game maker 9. Player settings--Stealth project stealth style game maker 10. Play Animation Controller--Stealth project stealth style game maker 11.HashIDs--Stealth project stealth style game maker 12. Player movement--Stealth project stealth style game maker 13. Player blood Volume-Stealth project stealth style game maker 14. Camera movement--Stealth project stealth style game maker 15.The key--Stealth Project stealth style game maker 16. Single door and animation--Stealth project stealth style game maker 17. Enemy Settings--Stealth project stealth style game maker 18. Enemy visual and Auditory settings-Stealth Project stealth-style game maker 19. Enemy Animation Settings Category--Stealth project stealth style game maker 20. Enemy animation Settings--Stealth project stealth style game maker 21. Enemy Shooter--Stealth project stealth style game maker 22.Enemy ai--Stealth Project stealth style game maker |
1. Activating the Game object activating gameobjects--Junior script writing series 2. Array arrays--primary script writing series 3. Wake-up and start awake and start--Junior script writing series 4.c#vs JS Syntax C # vs JS syntax--Primary scripting series 5.Classes--Beginner script writing series 6. Conventions and grammars conventions and Syntax--Primary scripting series 7. Incremental time deltatime--primary script writing series 8. Destruction function destroy--primary scripting series 9. Enabling and disabling components enabling and disabling components--primary scripting series 10. Get axis Getaxis--Primary scripting series 11. How to get the button or key input Getbutton and GetKey--Primary scripting series 12. Get component Getcomponent--Primary scripting series 13. Learn if statement if statements--Primary scripting series 14. Examples of instantiate--primary script writing series 15.Lerp function First Knowledge--primary script writing series 16. Gaze effect LookAt--Primary scripting series 17. Circular statement loops--Primary scripting series 18. Mouse down Event onmousedown--Primary scripting series 19. Scope of application and access modifier scope and access modifiers--primary scripting series 20. Script behavior component Scripts as behaviour components--primary scripting series 21. Translation and rotation control translate and rotate--primary scripting series 22. Update and fixed updates update and fixedupdate--primary scripting series 23. Variables and functions variables and functions--Junior script writing series 24. Vector Math Vectors Maths--Primary scripting series |
Thanks to our daughter-in-law's translation consultant and strong support!
[I give Unity official video tutorial to do Chinese subtitles]beginner graphics–lessons series of materials to understand materials