-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/antoniohof/aframe-text-te…
…xture-component * 'master' of https://github.com/antoniohof/aframe-text-texture-component: Update README.md fix example bump fix version update read me fix example by using old version of three text texture fix example ? build new version bump up version use mesh with texture instead of sprite material
- Loading branch information
Showing
6 changed files
with
92 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
## aframe-text-texture-component | ||
|
||
A text component for [A-Frame](https://aframe.io) that wraps | ||
A light text component for [A-Frame](https://aframe.io) that wraps | ||
[THREE.TextTexture](https://github.com/SeregPie/THREE.TextTexture). | ||
Attention: Only compatible with THREE.TextTexture version 18.8.6 | ||
|
||
```https://unpkg.com/[email protected]/THREE.TextTexture.js``` | ||
|
||
* supports unicode | ||
* supports outline | ||
|
@@ -18,7 +21,7 @@ A text component for [A-Frame](https://aframe.io) that wraps | |
<head> | ||
<title>My A-Frame Scene</title> | ||
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script> | ||
<script src="https://seregpie.github.io/THREE.TextTexture/THREE.TextTexture.js"></script> | ||
<script src="https://unpkg.com/[email protected]/THREE.TextTexture.js"></script> | ||
<script src="https://antoniohof.github.io/aframe-text-texture-component/dist/aframe-text-texture-component.min.js"></script> | ||
</head> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,17 @@ | |
<title>Example</title> | ||
<meta name="description" content="Text Texture Example — A-Frame"> | ||
<script src="https://aframe.io/releases/0.8.2/aframe.min.js"></script> | ||
<script src="https://seregpie.github.io/THREE.TextTexture/THREE.TextTexture.js"></script> | ||
<script src="../src/index.js"></script> | ||
<script src="https://unpkg.com/[email protected]/THREE.TextTexture.js"></script> | ||
<script src="https://antoniohof.github.io/aframe-text-texture-component/src/index.js"></script> | ||
</head> | ||
<body> | ||
<a-scene> | ||
<a-scene antialias="true"> | ||
<a-assets> | ||
<img id="lake" src="lake.jpg"> | ||
</a-assets> | ||
|
||
<a-sky src="#lake"></a-sky> | ||
<a-entity text-texture="text: Texture Based Text with accented characters (á, ã, â...); scale: 1.5" position="0 0 -10"> </a-entity> | ||
<a-entity text-texture="text: Texture Based Text with accented characters (á, ã, â...); scale: 1.0; fillStyle: White" position="0 0 -10"> </a-entity> | ||
</a-scene> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters