Skip to content

Commit 597da1f

Browse files
update Open Source Docs from Roblox internal teams
1 parent 4f1e4b7 commit 597da1f

File tree

112 files changed

+772
-317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+772
-317
lines changed

content/common/navigation/assets.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,15 @@ navigation:
4545
path: /art/modeling/project-files
4646
- title: Rigging and skinning
4747
path: /art/modeling/rigging
48-
- title: Blender and Maya export settings
48+
- title: Blender / Maya export settings
4949
path: /art/modeling/export-requirements
50-
- title: 3D Importer
51-
path: /art/modeling/3d-importer
52-
- title: glTF Export
53-
path: /art/modeling/gltf-export
54-
- title: Roblox Blender plugin
55-
path: /art/modeling/roblox-blender-plugin
5650

5751
- title: Texturing
5852
section:
5953
- title: Texture specifications
6054
path: /art/modeling/texture-specifications
55+
- title: Blender / Maya texture settings
56+
path: /art/modeling/assign-textures
6157
- title: Physically-based rendering (PBR)
6258
path: /art/modeling/surface-appearance
6359
- title: PBR material references
@@ -69,4 +65,10 @@ navigation:
6965
path: /art/characters/export-avatar-animations-from-maya
7066
- title: Head animation
7167
path: /art/characters/facial-animation/animate-heads
72-
68+
69+
- title: 3D Importer
70+
path: /art/modeling/3d-importer
71+
- title: glTF Export
72+
path: /art/modeling/gltf-export
73+
- title: Roblox Blender plugin
74+
path: /art/modeling/roblox-blender-plugin

content/common/navigation/avatar/guides.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ navigation:
8282
path: /makeup/
8383
- title: Specifications
8484
path: /makeup/specifications
85+
- title: Reassign textures
86+
path: /makeup/reassign-textures
8587
- title: Import into Studio
8688
path: /makeup/import
8789
- title: Face cage optimizations

content/common/navigation/engine/reference.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3450,6 +3450,11 @@ navigation:
34503450
type: engineapi
34513451
source: /reference/engine/datatypes/UDim2.yaml
34523452
ignoreTranslation: true
3453+
- title: ValueCurveKey
3454+
path: /reference/engine/datatypes/ValueCurveKey
3455+
type: engineapi
3456+
source: /reference/engine/datatypes/ValueCurveKey.yaml
3457+
ignoreTranslation: true
34533458
- title: Vector2
34543459
path: /reference/engine/datatypes/Vector2
34553460
type: engineapi
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
---
2+
title: Blender and Maya texture settings
3+
description: Learn to assign basic or PBR textures in Blender or Maya to natively import into Studio.
4+
---
5+
6+
This guide covers the process to assign texture images in Blender or Maya to your 3D model so that they import seamlessly into Studio. The import process supports both basic textures and realistic PBR textures, as long as they meet Roblox's [texture specifications](./texture-specifications.md).
7+
8+
<Alert severity = 'warning'>
9+
The following information is **specific for applying makeup textures generic meshes**. For more information on reassigning textures for makeup assets, see [Reassign textures in Blender and Maya](../../makeup/reassign-textures.md).
10+
</Alert>
11+
12+
## Blender
13+
14+
To assign Roblox-supported textures to your 3D model in Blender:
15+
16+
1. In the Outliner, select your mesh object.
17+
2. In the Properties panel, navigate to the **Materials tab**.
18+
3. Verify that your object has a Material assigned with the Surface set to `Principled BSDF`.
19+
<img src="../../assets/modeling/textures-decals/Blender-Material-Check.png" width="30%" alt=""/>
20+
4. If no material is assigned, click the + symbol to add a material.
21+
1. Click the New button. A new `Principled BSDF` material populates.
22+
<img src="../../assets/modeling/textures-decals/Blender-Create-New-Material.png" width="30%" alt=""/>
23+
5. Navigate to the **Shading tab**.
24+
6. With your mesh object selected, check the node graph. There may already be texture image nodes connected to the `Principled BSDF` node.
25+
7. In the node graph area, add a texture image node with right-click > **Add** > **Texture** > **Image Texture**.
26+
<img src="../../assets/modeling/textures-decals/Blender-Add-Image-Texture.png" width="80%" alt=""/>
27+
8. In the new Image Texture node, click Open to open a file browser and insert your custom texture.
28+
<img src="../../assets/modeling/textures-decals/Blender-Image-Texture-No-Assignment.png" width="30%" alt=""/>
29+
30+
<Alert severity = 'info'> Alternatively to steps 7-8, you can **drag and drop** texture file from another window into the graph editor space.</Alert>
31+
32+
9. After adding image texture nodes and assigning the appropriate files, drag the `Image Texture` sockets to the appropriate sockets in the `Principled BSDF` node:
33+
<img src="../../assets/makeup/resources/Blender-Expected-Nodes.png" width="90%" />
34+
35+
- **Basic texture** or **PBR color/albedo**: connect `Color` to `Base Color`.
36+
- **Metallic texture**: connect `Color` to `Metallic`.
37+
- **Roughness texture**: connect `Color` to `Roughness`.
38+
- **Normal texture** images need to be added to a NormalMap node:
39+
1. Right-click in the graph-editor area and select **Add** > **Vector** > **Normal Map**.
40+
2. Connect Image Texture `Color` to NormalMap's `Color`.
41+
3. Connect NormalMap's `Normal` to PrincipledBSDF's `Normal` socket.
42+
43+
<Alert severity ='success'>
44+
After replacing your PBR textures, [export the entire head](../../art/modeling/export-requirements.md#blender) and follow instructions to [import into Studio](./3d-importer.md).
45+
</Alert>
46+
47+
## Maya
48+
49+
To assign Roblox-supported textures to your 3D model in Maya:
50+
51+
1. In the Status Line near the top of the default layout, click on the Hypershade icon.
52+
<img src="../../assets/makeup/resources/Maya-Select-Hypershade.png" width="65%" />
53+
2. In the Create Window panel on the Hypershade popup, navigate to **Maya** > **Surface** and click **Standard Surface**. A surface node appears in the node editor.
54+
<img src="../../assets/modeling/textures-decals/Maya-Create-Surface.png" width="65%" />
55+
3. If adding a normal map, navigate to **Maya** > **Utilities** and click **Bump 2d**. A node required for normal maps appears in the node editor.
56+
57+
<img src="../../assets/modeling/textures-decals/Maya-Bump-2D.png" width="65%" />
58+
59+
4. Drag and drop your PBR textures to the graph network.
60+
61+
<img src="../../assets/makeup/resources/Maya-Select-Graph-Network.png" width="65%" />
62+
63+
1. If adding a normal map, select the Bump 2d node, and change to Tangent Space Normals.
64+
<img src="../../assets/modeling/textures-decals/Maya-Tangent-Space-Normals.png" width="65%" />
65+
5. Select your model and navigate to your material you intend to assign. Right-click and hold over the material and select **Assign Material to Selection**.
66+
<img src="../../assets/modeling/textures-decals/Maya-Assign-Material.png" width="65%" />
67+
68+
<Alert severity ='success'>
69+
After replacing your PBR textures, [export the entire head](../../art/modeling/export-requirements.md#maya) and follow instructions to [import into Studio](./3d-importer.md).
70+
</Alert>

content/en-us/art/modeling/export-requirements.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ Check that your model meets Roblox's [modeling specifications](../../art/modelin
1616
</ul>
1717
</Alert>
1818

19-
<Tabs>
20-
<TabItem label="Blender">
19+
## Blender
2120

2221
Before exporting a mesh from Blender, make sure to set the Scene Unit Length to **Centimeters** and, if applicable, set the Unit Scale to **.01** to ensure similar `.fbx` scaling within Studio.
2322

@@ -43,8 +42,8 @@ To export the `.fbx` file in Blender:
4342

4443
7. Click the **Export FBX** button.
4544

46-
</TabItem>
47-
<TabItem label="Maya">
45+
## Maya
46+
4847
To export a mesh in Maya as a `.fbx` file:
4948

5049
1. In the topbar, click **File**. A pop-up menu displays.
@@ -61,6 +60,3 @@ To export a mesh in Maya as a `.fbx` file:
6160
9. Click the **Export All** button.
6261

6362
<img src="../../assets/accessories/lc-requirements-maya-settings.png" alt="Maya export sidebar showing Bake Animation as unchecked" />
64-
65-
</TabItem>
66-
</Tabs>

content/en-us/art/modeling/specifications.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ See the following requirements for general rigging and skinning:
5656

5757
## Textures
5858

59-
Roblox supports basic color textures and modern [PBR textures](../../art/modeling/surface-appearance.md). For technical requirements and best practices when generating individual texture images, see [Texture specifications](../../art/modeling/texture-specifications.md).
59+
- Roblox supports basic color textures and modern [PBR textures](../../art/modeling/surface-appearance.md).
60+
- For instructions on assigning texture images to natively import with your mesh, see [Assign textures in modeling tools](./assign-textures.md).
61+
- For technical requirements and best practices when generating individual texture images, see [Texture specifications](../../art/modeling/texture-specifications.md).
6062

6163
## Animations
6264

@@ -81,5 +83,6 @@ For general use, see the following requirements for adding inner and outer cage
8183
<img src="../../assets/accessories/lc-blender-selecting-cage-in-outlier.png" alt="The Outliner in Blender showing two mesh objects called Tshirt_InnerCage and Tshirt_OuterCage."/>
8284

8385
- **Outer cage** - Models, such as a playable character, that aren't expected deform but are the target of meshes that will stretch over it, only require an Outer Cage.
86+
- For more information on applying and implementing cages on non-Humanoid targets, see [layered clothing on non-R15](../../characters/appearance.md#layered-clothing-on-non-r15).
8487
- **Vertices and UV map** - Don't delete vertices or alter the UVs on the Inner or Outer Cages as this can cause errors when importing in Studio or when equipping onto a character.
8588
- **Symmetry and consistency** - Keep each face (the space between vertices) consistently sized and retain symmetry wherever possible. Use symmetry tools in your modeling software whenever possible.

content/en-us/art/modeling/surface-appearance.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ description: PBR textures are advanced textures using multiple texture maps.
2222

2323
Various applications and workflows are available for creating PBR textures. You can use these during the modeling and texturing phases of custom 3D object creation, provided that Roblox Studio [supports](../../art/characters/specifications.md#textures) the specific texture maps you're using.
2424

25+
<Alert severity = 'info'>
26+
For information on how to properly connect PBR textures to your model in Blender and Maya for import into Studio, see [Blender / Maya texture settings](./assign-textures.md).
27+
</Alert>
28+
2529
This guide provides instructions on [setting up](#enable-surface-appearance) your mesh objects to use PBR texture maps, and describes common use-cases and best practices for Roblox's supported PBR [texture maps](#texture-maps). When creating your own surfaces, see [material references](../../art/modeling/material-reference.md) for common material values, image comparisons and clothing examples.
2630

2731
## Enable surface appearance

content/en-us/art/modeling/texture-specifications.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ A texture is a digital image applied to the surface of a 3D object to simulate a
77

88
Roblox also supports [physically-based rendering (PBR) textures](../../art/modeling/surface-appearance.md) which override a mesh's existing `Class.MeshPart.TextureID|TextureID` and can be used to create immersive environments and objects.
99

10+
<Alert severity = 'info'>
11+
For information on how to properly connect textures to your model in Blender and Maya for import into Studio, see [Blender / Maya texture settings](./assign-textures.md).
12+
</Alert>
13+
1014
See the following requirements when creating your own basic and advanced textures:
1115

1216
- **File formats** — File formats for textures that are uploaded separately in Studio must be submitted as a `.png`, `.jpg`, `.tga`, or `.bmp`.
@@ -30,6 +34,10 @@ Roblox default [materials](../../parts/materials.md) follow a similar texel reso
3034

3135
You can add a [surface appearance](../../art/modeling/surface-appearance.md) to your mesh in Studio to add PBR texture options. The `Class.SurfaceAppearance` instance uses UV mapping, a form of texture mapping, to accurately map up to four 2D images onto the mesh object.
3236

37+
<Alert severity = 'info'>
38+
For information on how to properly connect PBR textures to your model in Blender and Maya for import into Studio, see [Blender / Maya texture settings](./assign-textures.md).
39+
</Alert>
40+
3341
See the following requirements for `Class.SurfaceAppearance` assets:
3442

3543
- **Texture files** — Ensuring your textures follow consistent conventions optimizes assets for tools like the [3D Importer](../../art/modeling/3d-importer.md) and helps with organization. When possible, texture files should include the appropriate name affix and follow the appropriate image details:
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)