Skip to content

Commit ee3eb6e

Browse files
update Open Source Docs from Roblox internal teams
1 parent 70b1cc3 commit ee3eb6e

File tree

7 files changed

+49
-19
lines changed

7 files changed

+49
-19
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,12 @@ The following example demonstrates how a partial and full transparency in this m
218218
</TabItem>
219219
</Tabs>
220220

221+
There are two outcomes of `Enum.AlphaMode|Transparency` mode, depending on whether the `Class.MeshPart.Transparency` is set to `0` or **at&nbsp;least** `0.02`, although numerical precision may result in small values such as `0.01` triggering the opaque transparency.
222+
223+
- When alpha is used to cut out the shape of mostly opaque objects with hard edges such as foliage, lace fabric, and netting, set the `Class.MeshPart.Transparency` to `0`. When parts of the surface are fully opaque, the Roblox engine can render them with proper depth‑based occlusion. Opaque surfaces also generally work better with depth‑based effects like `Class.DepthOfFieldEffect`, glass and water refraction, and water reflection.
224+
225+
- When alpha is used to add detail to semi‑transparent objects or objects with smooth gradients of transparency, set the `Class.MeshPart.Transparency` to **at&nbsp;least** `0.02`. This improves the quality of blending for objects such as dirty windows and soft‑edged feathers, but it will not work with all effects.
226+
221227
#### Color tinting
222228

223229
You can apply a tint to your color map by modifying the `Class.SurfaceAppearance.Color` property. Tinting does not affect performance and you can save on memory by reusing a single ColorMap with different tints. Use color tinting to create additional low-cost variation between your `Class.MeshPart` PBR textures or to programmatically modify your PBR surface colors in real-time.
Lines changed: 3 additions & 0 deletions
Loading

content/en-us/production/monetization/avatar-items.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,8 @@ The analytics tab enables you to:
6464
- **View top performing items:** See your top selling and top grossing Avatar Items over a selected time period.
6565
- **Analyze overall sales and net revenue:** Showcase up to eight top items on a time-series graph.
6666
- **Monitor your catalog:** Examine a table with up to 400 items, sortable by sales and net revenue.
67+
- **View buyer demographics:** See the demographic information of buyers, including age, gender, location, and platform.
6768

6869
<img src="../../assets/monetization/avatar-items/avatar-items-analytics-2.png" width="100%" />
70+
71+
<img src="../../assets/monetization/avatar-items/avatar-item-analytics-3.png" width="100%" />

content/en-us/reference/engine/classes/DataModel.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,17 @@ properties:
207207
capabilities: []
208208
writeCapabilities: []
209209
- name: DataModel.MatchmakingType
210-
summary: ''
211-
description: ''
210+
summary: |
211+
Represents how players in the server are handled by matchmaking.
212+
description: |
213+
This property represents how players in the server are handled by
214+
matchmaking. Players with different
215+
`Class.DataModel.MatchmakingType|MatchmakingTypes` cannot be in or
216+
teleport to the same server.
217+
218+
Note that this property is only valid on the server `Class.DataModel` and
219+
it will be the `Enum.MatchmakingType.Default` value for all clients, so
220+
only reference this property inside of a server‑side `Class.Script`.
212221
code_samples: []
213222
type: MatchmakingType
214223
tags:

content/en-us/reference/engine/classes/SurfaceAppearance.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ properties:
4040
This property determines how the alpha channel of the
4141
`Class.SurfaceAppearance.ColorMap` is used.
4242
43-
When set to `Enum.AlphaMode|Transparency` and the
44-
`Class.BasePart.Transparency|MeshPart.Transparency` is set to 0, opaque
45-
pixels in the `Class.SurfaceAppearance.ColorMap` will render as completely
46-
opaque in the 3D scene. This solves various problems for textures with
47-
different transparent and opaque areas, such as foliage. When parts of the
48-
surface are fully opaque, the Roblox Engine can render them with proper
49-
depth-based occlusion. Opaque surfaces also generally work better with
50-
depth-based effects like `Class.DepthOfFieldEffect`, glass and water
51-
refraction, and water reflection.
43+
When set to `Enum.AlphaMode|Transparency` and the `Class.MeshPart.Transparency`
44+
is set to `0`, opaque pixels in the `Class.SurfaceAppearance.ColorMap|ColorMap` will
45+
render as completely opaque in the 3D scene. This combination works better with
46+
depth-based effects and occlusion.
47+
48+
When set to `Enum.AlphaMode|Transparency` and the `Class.MeshPart.Transparency`
49+
is set to at least `0.02`, a different blending method is used that can better
50+
represent smooth transparency gradients and soft edges. This combination does not
51+
support all effects and occlusion may not be perfect.
5252
5353
See [here](../../../art/modeling/surface-appearance.md#alpha-modes) for
5454
more information.

content/en-us/reference/engine/classes/TeleportService.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,9 +677,11 @@ methods:
677677
678678
#### Cross-Platform Play
679679
680-
Players on Xbox One with cross-platform play disabled will arrive in a
681-
different server with players with cross-platform play enabled. This can
682-
cause multiple game servers with the same PrivateServerId to exist.
680+
Players on Xbox and PlayStation with cross‑play disabled will
681+
arrive in a different server than players with cross‑play
682+
enabled. This can cause multiple game servers with the same
683+
`Class.DataModel.PrivateServerId|PrivateServerId` to exist. You can use
684+
`Class.DataModel.MatchmakingType` to differentiate these game servers.
683685
code_samples:
684686
- TeleportService-ReserveServer1
685687
- teleportservice-teleport-to-a-reserved-server-via-chat
Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
11
name: MatchmakingType
22
type: enum
3-
summary: ''
4-
description: ''
3+
summary: |
4+
Used with `Class.DataModel.MatchmakingType` to represent how players in the
5+
server are handled by matchmaking.
6+
description: |
7+
This enum is used with `Class.DataModel.MatchmakingType` to represent how
8+
players in the server are handled by matchmaking.
59
code_samples: []
610
tags: []
711
deprecation_message: ''
812
items:
913
- name: Default
10-
summary: ''
14+
summary: |
15+
Includes desktop, mobile, cross-play enabled players, etc.
1116
value: 1
1217
tags: []
1318
deprecation_message: ''
1419
- name: XboxOnly
15-
summary: ''
20+
summary: |
21+
Xbox players with cross-play disabled.
1622
value: 2
1723
tags: []
1824
deprecation_message: ''
1925
- name: PlayStationOnly
20-
summary: ''
26+
summary: |
27+
PlayStation players with cross-play disabled.
2128
value: 3
2229
tags: []
2330
deprecation_message: ''

0 commit comments

Comments
 (0)