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
Copy file name to clipboardExpand all lines: Assets/HoloToolkit/UI/README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ Materials used in prefabs
12
12
13
13
Material for 3DTextPrefab with occlusion support. Requires 3DTextShader.shader
14
14
15
+

16
+
15
17
### [Prefabs](Prefabs)
16
18
17
19
Common useful UI prefabs
@@ -25,11 +27,19 @@ Common useful UI prefabs
25
27
UI Text Mesh prefab with optimized scaling factor at 2-meter distance. (Please read the instructions below)
26
28
27
29
**IMPORTANT**: To use Text prefabs, please make sure to import SegoeUI.TTF font file from your system font folder (C:\Windows\Fonts\)
30
+

28
31
29
32
1. Assign font texture to 3DTextSegoeUI.mat material.
30
-
2. On 3DTextSegoeUI.mat material, select the shader Custom/3DTextShader.shader This material will make text object occluded by the object in front of them.
33
+

34
+
35
+
2. On 3DTextSegoeUI.mat material, select the shader Custom/3DTextShader.shader. This material will make text object occluded by the object in front of them.
@@ -49,6 +59,7 @@ When adding a UI or canvas based Text element to a scene, the size disparity is
49
59
50
60
**Disclaimer**: The default value of any font may be effected by the texture size of that font or how the font was imported into Unity. These tests were performed based on the default Arial font in Unity, as well as one other imported font.
51
61
62
+

0 commit comments