You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Changes
Added alt="" to some images to ensure accessibility or if the user has
slow internet.
Changed wording from MaterialVariant being a child of the mesh part,
which is totally incorrect, MaterialVariant's only work in
MaterialService and must be set in the mesh's MaterialVariant property
otherwise it does not work.
Changed wording how to add a SurfaceApperance or MaterialVariant to
reflect how it works ^.
If you require more information about these changes please leave a
comment and I'll be happy to awnser any questions.
N/A
## Checks
By submitting your pull request for review, you agree to the following:
- [x] This contribution was created in whole or in part by me, and I
have the right to submit it under the terms of this repository's open
source licenses.
- [x] I understand and agree that this contribution and a record of it
are public, maintained indefinitely, and may be redistributed under the
terms of this repository's open source licenses.
- [x] To the best of my knowledge, all proposed changes are accurate.
---------
Co-authored-by: IgnisRBX <[email protected]>
Copy file name to clipboardExpand all lines: content/en-us/parts/meshes.md
+16-6Lines changed: 16 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,15 +49,15 @@ Unlike basic parts, meshes have more customization options that you can adjust f
49
49
50
50
### Texture
51
51
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 mesh's `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.
53
53
54
54
<Tabs>
55
55
<TabItemlabel="PBR Textures">
56
56
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).
<imgsrc="../assets/modeling/surface-appearance/SurfaceAppearance-Example-1.jpg"alt="Example of SurfaceAppearance applied to a Bush Mesh" />
60
+
<imgsrc="../assets/modeling/surface-appearance/SurfaceAppearance-Example-3.jpg"alt="Example of SurfaceApperance applied to a Rock Mesh" />
61
61
</GridContainer>
62
62
63
63
You can apply PBR textures using one of the following objects:
@@ -67,11 +67,21 @@ You can apply PBR textures using one of the following objects:
67
67
68
68
To add PBR textures to a mesh:
69
69
70
-
1. In the **Explorer** window, hover over the MeshPart object. Click the **⊕** button and select **SurfaceAppearance** or **MaterialVariant**.
71
-
2. In the **Properties** window, edit the properties corresponding to the PBR texture maps.
70
+
<Tabs>
71
+
<TabItemlabel="SurfaceAppearance">
72
+
1. In the [Explorer](../studio/explorer.md) window, hover over the `Class.MeshPart` object. Click the **⊕** button and select `Class.SurfaceAppearance`.
73
+
2. In the [Properties](../studio/properties.md) window, edit the properties corresponding to the PBR texture maps.
74
+
</TabItem>
75
+
<TabItemlabel="MaterialVariant">
76
+
1. In the [Explorer](../studio/explorer.md) window, hover over the `Class.MaterialService`. Click the **⊕** button and select `Class.MaterialVariant`.
77
+
2. In the [Properties](../studio/properties.md) window, edit the properties corresponding to the PBR texture maps.
78
+
3. Name the new `Class.MaterialVariant` to a name of your choice.
79
+
4. Select the `Class.MeshPart` and, in the [Properties](../studio/properties.md) window, set the `Class.MaterialVariant` to the one you just created.
80
+
</TabItem>
81
+
</Tabs>
72
82
73
83
<Alertseverity="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.
84
+
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.
0 commit comments