-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates Sprite 3D to v1.0.0 adds ability to "setTexture" with no parameters, allowing no texture to be set. this allows textures to be disabled and the solid colour used instead. note that this can be done per face so one side can be textured and the other can be a solid colour, for example. note also, that this means that disabling the texture does not disable the subdivisions and 3D calculations even though they are likely unnoticeable. changing the subdivisions and mesh size when disabling/enabling textures can increase efficiency and optimise performance, if required.
- Loading branch information
Showing
2 changed files
with
22 additions
and
12 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
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