-
Notifications
You must be signed in to change notification settings - Fork 6
Textures
Sam Gibson edited this page Aug 12, 2017
·
2 revisions
Textures have a number of constraints, they are as follows:
- Saved in PNG format
- Maximum of 16 characters for each texture name
- Transparent textures must have the character '{' after the texture name
- Textures that have 4 variants for a texture set need to have:
- The character 'A', 'B', 'C', or 'D' at the start of the texture name, depending on texture set
- The character '[' at the end of the texture name
- Note that when referencing textures that have variants in Torii, it is best practice to reference the A texture
- For example, if you had a model called
Face.tobj
that used the texturesAFace[.png
,BFace[.png
,CFace[.png
andDFace[.png
, you would use the textureAFace[.png
for the model
- For example, if you had a model called
- Also note that for transparent textures in texture sets, the syntax
TextureName[{.png
is perfectly acceptable, i.e. the modifiers stack, but they are also included in the 16 character name limit.
- A texture called 'Brick'
Brick.png
- A texture called 'Brick' that has texture set variants
ABrick[.png
BBrick[.png
CBrick[.png
DBrick[.png
- A transparent texture called 'Fence'
Fence{.png
- A transparent texture called 'Fence' that has texture set variants
AFence{[.png
BFence{[.png
CFence{[.png
DFence{[.png