Skip to content

Commit 3558b13

Browse files
authored
Update meshes.md
1 parent 9d06595 commit 3558b13

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

content/en-us/parts/meshes.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ Unlike basic parts, meshes have more customization options that you can adjust f
4949

5050
### Texture
5151

52-
**Textures** determine the visual appearance of meshes. Studio allows you to either apply one texture using the `Class.MeshPart.TextureID` property, or apply up to four physically-based rendering (PBR) textures within a `Class.SurfaceAppearance` or `Class.MaterialVariant` child object of the mesh. PBR textures allow you to represent realistic shading and lighting by using multiple types of texture images, or maps, on a single object.
52+
**Textures** contribute to the visual appearance of meshes by adding 2D details such as color and patterns. Studio allows you to either apply one texture using the `Class.MeshPart.TextureID` property, or apply up to four physically-based rendering (PBR) textures within a `Class.SurfaceAppearance` child object of the mesh or made with a `Class.MaterialVariant` and set in the meshes `Class.MeshPart.MaterialVariant` property. PBR textures allow you to represent realistic shading and lighting by using multiple types of texture images, or maps, on a single object.
5353

5454
<Tabs>
5555
<TabItem label="PBR Textures">
5656
Studio supports four PBR texture maps, each corresponding to a visual characteristic of an object's surface appearance. Combining multiple texture maps can more accurately simulate color, roughness, and reflectivity in any lighting environment, and enhance the visual elements of your assets and environment. For more information on PBR textures and the texture maps, see [PBR Textures](../art/modeling/surface-appearance.md).
5757

5858
<GridContainer numColumns="2">
59-
<img src="../assets/modeling/surface-appearance/SurfaceAppearance-Example-1.jpg" alt="" />
60-
<img src="../assets/modeling/surface-appearance/SurfaceAppearance-Example-3.jpg" alt="" />
59+
<img src="../assets/modeling/surface-appearance/SurfaceAppearance-Example-1.jpg" alt="Example of SurfaceAppearance applied to a Bush Mesh" />
60+
<img src="../assets/modeling/surface-appearance/SurfaceAppearance-Example-3.jpg" alt="Example of SurfaceApperance applied to a Rock Mesh" />
6161
</GridContainer>
6262

6363
You can apply PBR textures using one of the following objects:
@@ -67,11 +67,20 @@ You can apply PBR textures using one of the following objects:
6767

6868
To add PBR textures to a mesh:
6969

70-
1. In the **Explorer** window, hover over the MeshPart object. Click the **** button and select **SurfaceAppearance** or **MaterialVariant**.
70+
**Surface Appearance**
71+
72+
1. In the [Explorer](../studio/explorer.md) window, hover over the **MeshPart** object. Click the **** button and select **SurfaceAppearance**.
73+
2. In the **Properties** window, edit the properties corresponding to the PBR texture maps.
74+
75+
**Material Variant**
76+
77+
1. In the [Explorer](../studio/explorer.md) window, hover over the [MaterialService](../reference/engine/classes/MaterialService.yaml). Click the **** button and select **MaterialVariant**.
7178
2. In the **Properties** window, edit the properties corresponding to the PBR texture maps.
79+
3. Name the **MaterialVariant** to a name of your choice.
80+
4. Select the **MeshPart**, in the mesh's **Properties** window, set the **MaterialVariant** to the one you just created.
7281

7382
<Alert severity="info">
74-
If you add both `Class.SurfaceAppearance` and `Class.MaterialVariant` as child objects of a mesh, Studio only applies the texture map settings of the `Class.SurfaceAppearance` object to the mesh. The mesh still has all other settings of the `Class.MaterialVariant` object, such as custom physical properties.
83+
If you both add `Class.SurfaceAppearance` as a child object and set the `Class.MaterialVariant` in the mesh's properties, Studio only applies the texture map settings of the `Class.SurfaceAppearance` object to the mesh. The mesh still has all other settings of the `Class.MaterialVariant` object, such as custom physical properties.
7584
</Alert>
7685

7786
</TabItem>

0 commit comments

Comments
 (0)