You can add 3D text to effects in Spark AR Studio.
Text will be rendered in American English - it won't be translated into other languages.
There are specific policies for 3D text. It's worth taking a look at these before submitting an effect that includes 3D text, to make sure it's accepted first time.
If your effect includes text that's not integrated into the scene, it won't be accepted. See our policy on visual text, for more information.
This is because simply placing text on the screen tends to cover up and interfere with the AR experience instead of appearing naturally in the scene. Remember that people often prefer to add their own text and stickers to effects when they share them in their Instagram or Facebook stories. The only type of static text we accept is a timestamp or a few numbers on a film strip that don’t block the experience for users.
If you need to include text that’s not a timestamp, use a face tracker or plane tracker to track the text to the face or moving object.
For example, if you want to use a score counter in your gaming effect, track it to the user’s head using a face tracker, as in the example below.
For an example of how to integrate text into an effect, learn how to create a 2D photo effect with a dynamic timestamp.
To add 3D text:
When you select a 3D text object in the Scene panel, you'll be able to make changes to its properties in the Inspector. For example, how it's arranged in the scene, what it says, and how it looks.
Adding colors and textures
You can add color and textures to both the front and side of 3D text in your scene.
To do this, select the 3D text object in the Scene panel. In the Inspector:
The new material will be listed in the Assets panel. You can then select the material, and add colors and textures in the Inspector. You'll generally use a flat material or a standard material for, depending on how you want the text to look.
In the example below, we’ve added a material to both the front and side of the text, and added a color to each material:
Changing the depth
Edit the values next to Depth in the Inspector to change the depth of 3D text.
To choose a font for the 3D text in your scene:
You can also your own add custom fonts.
You can use the Manipulators at the top of the Viewport to change the position of 3D text.
If you have a precise idea in mind for position of the text, you can edit the X, Y and Z values next to Position in the Inspector.
If text is a child of the camera, keep in mind how far away it's positioned. If it's too far away, it won't be easy for people to read. If text is in world space, keep in mind its positioning and how clear it will be to the user.
Use dynamic text to personalize effects - for example to show someone's location, the date or the current temperature.
Assign the text to a layer, or create a new one.
Clear this box to stop the text object from being rendered in the scene.
Change the depth of 3D text.
Change the position, scale and rotation of the text.
Choose whether text is visible in the front camera or back camera.
Select the box next to Preview to show text when someone is previewing an effect.
Select the box next to Capture to only capture text when an image or film is taken.
Enter your text.
Select this box to let people customize the text in your effect. Selecting this box will let you add placeholder text - to tell someone the text is editable.
Insert a token into the Text box to show personalized text using mobile device data, like current city or the day of the week. Dynamic text is rendered in American English.
Choose a pre-installed font, or add your own.
Letter and Line Spacing
Adjust the size of space between each letter and line. These properties are in real world units.
Control how a texture wraps around the front and back faces of 3D text. This property can be set separately for U and V coordinates.
There are 3 options to choose from:
Face, Side and Back Material
Add a material to the front, side and back of the text.
When the boxes are selected next to Front Camera and Back Camera the text will be visible through both the front and back camera on a device.
When the boxes are selected next to Preview and Capture the text will be visible both before the person using your effect is capturing a video and during capture.
Insert simple combinations of patches into the Patch Editor, like tap gestures.