mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Adjusted wording.
This commit is contained in:
parent
d99aa12f14
commit
11fdba7000
@ -111,9 +111,7 @@ python -m SimpleHTTPServer
|
|||||||
Then navigate to `http://localhost:8000/webgl/example`, `http://localhost:8000/canvas/example`, `http://localhost:8000/threejs/example` or `http://localhost:8000/player/example`
|
Then navigate to `http://localhost:8000/webgl/example`, `http://localhost:8000/canvas/example`, `http://localhost:8000/threejs/example` or `http://localhost:8000/player/example`
|
||||||
|
|
||||||
### Spine-ts WebGL backend
|
### Spine-ts WebGL backend
|
||||||
By default, the spine-ts WebGL backend supports two-color tinting. This has a neglible effect on performance, as more per vertex data has to be submitted to the GPU, and the fragment shader has to do a few more arithmetic operations.
|
By default, the spine-ts WebGL backend supports two-color tinting. This requires more per vertex data to be submitted to the GPU and the fragment shader has to do a few more arithmetic operations. It has a neglible effect on performance, but you can disable two-color tinting like this:
|
||||||
|
|
||||||
You can disable two-color tinting like this:
|
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
// If you use SceneRenderer, disable two-color tinting via the last constructor argument
|
// If you use SceneRenderer, disable two-color tinting via the last constructor argument
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user