I. Types of geometry created
1: Create plane Plane;
2: Create Cube cube;
3: Create Sphere Sphere;
4: Create capsule body Capsule;
5: Create cylinder Cylinder;
6:3d characters 3D text;
Create the geometry that comes with these components:
1.transform
2.Mesh Filter: Grid
3.Collider: Colliding body
4.Mesh Renderer: Mesh Drawing, drag the material into the material property to draw the pattern of the geometry
Second, the material
Under the Resources folder, create a metarial folder with the material balls for the geometry
1. Shader shader for material balls
Shader shader common standard and Mobiie/diffuse mode
(1) Standard mode
Albedo: Reflection Map, which is the texture of the material
Metallic: Reflected light intensity
(2) Mobiie/diffuse (more used) mode
Diffuse reflection, using the color of the map.
Tiling: If the Map property wrap mode is repeat, then here is the number of tiles set, X=1,y=1: The map is displayed on the x-axis only 1 times, and the map is displayed only 1 times on the y-axis. X=2,y=1: The map is displayed on the x-axis 2 times, and the map is displayed only 1 times on the y-axis. The production of football pitches.
If the Map property of wrap mode is clamp, then here if x=2,y=2: Finally a One-fourth map is displayed with the top right corner, and other locations are stretched with a decal.
Offset
2. Properties of the Map
Wrap mode:repeat tiled, clamp stretched
Filter Mode: Image stretching algorithm, point scaling without interpolation, poor effect, bilinear scaling with interpolation, the effect is good.
Third, FBX model import, using FBX because fine art and animation is better
Under the Resources folder, a folder named after the model, the corresponding FBX and PNG map files, will automatically help us generate a material folder.
1. The model scale of the major tools exported to unity
What is recorded in the 2.FBX file
A. Model vertex coordinates, three-dimensional
B. Texture coordinates of model material [0,1]
C. Model animations
3. Import the FBX and PNG files to the Model folder after the automatically generated material folder, the inside of the material ball may not be properly linked to our map, this time we need to manually associate the map, click on the material Ball's Albedo property, select the corresponding map.
About the geometry in unity