Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Advanced Texture Mapping Guide

A Tutorial for Pokemon Sword & Shield

No ads for members. Membership is 100% free. Sign up!
This is a quick guide on how some of these maps work. I will not explain the entire process on making these maps yet but I would like to cover the basics so people are not lost trying to understand them. These tutorial assumes you know the process already on editing images for the game (which you can learn about here)  and also that you know how to use 3D programs and image editors. 

1. Requirements

  • Switch Toolbox
  • Image editor with channel editing.  (for ambient maps)
  • 3D program like blender for baking maps. (optional)
  • Prior knowledge on baking in 3D programs (for normal and ambient maps)

2. Useful Resources


Note the gfbmdl implimentation for the toolbox is wip! Materials will need to be exported/imported as .json for any needed edits!

There might be a bit of confusion on how the game handles it's texture maps so I will help break them down.

The game has multiple texture maps used by Pokemon, NPCs, trainers, and maps. Color being the main texture, ambient for multiple ambient effects, normal maps for normal world space lighting effects, etc. This tutorial will divide into multiple sections to explain each in detail. 

Textures typically have types at the end of their names.
  • _col = Diffuse/Color map
  • _amb = Ambient map
  • _nor = Normal world space map
  • _emi = Emission map
  • _spc = Specular map
  • _lta = Light table map

This is jut a few textures as there's many more types.

3. Color Maps

These are simply the color/diffuse map of your model. The main texture you use. Often game freak will scale these using the "ColorUV" parameter in materials (can be edited in the toolbox if you export/import material as .json).

These maps can be previewed if you open a .gfbmdl, go-to materials and select one.



Notice how they also mirror the UV map. This is very often done on the X axis and done on most Pokemon and NPCs. 

If you need to edit these, they are called the "WrapMode" under the texture mapping options in the .json file. 
0 = repeat
1 = clamp
2 = mirror

4. Ambient Maps

These are somewhat confusing looking but it's actually quite simple.
The map has 3 channels used for 3 different effects.
  • Red channel     : Ambient occlusion
  • Green channel : Shadows or cavity map effects.
  • Blue channel    : intensity/factor? Usually always gray (128,128,128)

Note red and green channel are also inverted!

For this tutorial you will want a program like Photoshop that can edit channels. If you don't intend on making these maps you can use the blanked out texture here or you can still use it as a base to build off of.

Example red:


Example green:


Blue channel is simply jut a basic gray map.

If you want to you can simply make the red and green channel fully white, and the blue channel gray to fully blank out this effect.



So lets try inserting our own. 

5. Ambient Occlusion/Shadow Maps

There can be multiple ways to create these. They can be baked onto a texture from programs like blender or 3ds max. They also can be baked from vertex colors. 
They must have the UVs not overlap (ie one vertex over another) which would cause them to bake the same data for each vertex.

There are many guides out there on creating these.

 A quick a simple guide in blender for ambient occusion:


Once you finished making your maps make sure to save them. Open them up in an image editor like Photoshop.



Then invert your image (Photoshop do Image - Adjustments - Invert)



Now paste it in the red channel for ambient occlusion. If you use shadows paste it into green channel.



6. Normal Maps (World Space)

These can be simply baked using the normals option as the bake render and using world for normal space.



More maps will be explained in an update and hopefully a more detailed guide. Currently more research is needed for some additional maps so I will be sure to keep updated.
Sign up to access this!
  • tom avatar
    tom username pic Joined 18y ago
    End Boss Ripe Supporter TBS2 Manager Super Admin
    Offline
    10,913 points Ranked 540th
    66 medals 13 legendary 10 rare
    • Achieved Super Admin clearance Medal icon
    • 10 years a member Medal icon
    • Thanked 500 submitters Medal icon
    • Submitted 200 Blogs Medal icon
    • Submitted 200 Threads Medal icon
    • Submitted 60 Polls Medal icon
    tom avatar
    tom
    End Boss
    access_time 1mo
    Thank you for this great tutorial. I added a table of contents for you (Edit > Settings > Table of Contents).
    testing 1234 222
    URL to post:
  • kobalt avatar
    kobalt username pic Joined 1y ago
    SWSH Manager
    Offline
    99 points Ranked 68951st
    7 medals 1 rare
    • Achieved Game Manager clearance Medal icon
    • Submission featured Medal icon
    • One month a member Medal icon
    • 6 months a member Medal icon
    • Returned 100 times Medal icon
    • 1 year a member Medal icon
    access_time 1mo edit 1mo
    Awesome tutorial! I will pin it to the sword/shield homepage for now.
    Vibing.
    URL to post:

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Key Authors
KillzXGaming
KillzXGaming Joined 4y ago
Offline
12,598 points Ranked 463rd
23 medals 3 legendary 4 rare
  • Reached 100 subscribers Medal icon
  • 30 submissions featured Medal icon
  • 2017 Top Contributor Medal icon
  • Returned 1000 times Medal icon
  • Reached 50 subscribers Medal icon
  • 10 submissions featured Medal icon
Made tutorial

Submitter

KillzXGaming avatar
KillzXGaming Joined 4y ago
Offline
12,598 points Ranked 463rd
23 medals 3 legendary 4 rare
  • Reached 100 subscribers Medal icon
  • 30 submissions featured Medal icon
  • 2017 Top Contributor Medal icon
  • Returned 1000 times Medal icon
  • Reached 50 subscribers Medal icon
  • 10 submissions featured Medal icon
KillzXGaming
Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Advanced

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • Today's Pick
    Featured on Dec 22 2019
  • 4
  • 3.0k
  • 2
  • 1mo
  • 1mo

More from Submitter

WiPs by Submitter

More Other/Misc Tutorials