Skip to content

Commit 53b80ce

Browse files
authored
📝 Add some troubleshooting stuffs in documentation
1 parent fd4e73f commit 53b80ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,13 @@ const material = new THREE.ShaderMaterial({
340340
});
341341
material.uniforms.uMap.value = atlas;
342342
```
343+
## Troubleshooting
344+
345+
If after trying a basic implementation of msdf text rendering you can't see anything :
346+
- Check if the text mesh is facing the camera, you can try material.side = THREE.DoubleSide to identify if it's the issue.
347+
- Check the rotation of the mesh.
348+
- Check if the scale is consistent with your camera settings.
349+
- Check the near / far of the camera, the mesh might be frustum culled.
343350

344351
## Dependencies
345352

0 commit comments

Comments
 (0)