Skip to content

Textures

Sam Gibson edited this page Aug 12, 2017 · 2 revisions

Constraints

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 textures AFace[.png, BFace[.png, CFace[.png and DFace[.png, you would use the texture AFace[.png for the model
    • 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.

Examples of texture names

  • 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
Clone this wiki locally