Skip to content

03. Adding Fur Patterns

Thomas "Tabski" Bartlett edited this page Dec 13, 2025 · 1 revision

Fur patterns are one of the easier things to add. But, it will still take some effort to get used to all the configuration.

Creating a CharacterToggleId

Before we can even get to texturing, we need to configure some stuff.

As with the ModDefinition we added, we need to add some more "Scriptable Objects".

Specifically, we need a CharacterToggleId.

It's easier to just copy an existing one that's close to what we want.

In this case, I want to add a fur pattern on the cheek. In the Project panel, navigate down into /ScriptableObjects/CharacterCompositor/CharacterToggleId/Pattern-Head/ and find the asset named Pattern-Head-Hard Blush.

image

CTRL-C copy it, and paste it into your mod folder. Rename it appropriately: image

If you hit play now, you'll actually see the new toggle:

image

But it's currently identical to the existing one. Let's change that:

Configuring a CharacterToggleId

If we look at the editor, there's a lot going on. Let's start simple and modify this CharacterToggleId:

  • Change the Display Name to something appropriate
  • Down under Order, change the Index such that it appears later.

If you hit play again, you'll see those changes reflected:

image

Creating more Scriptable Objects

Now we need to actually configure how the texture will display. For this, we need a MixTexture (another Scriptable Object).

Once again, let's copy one in. This time, take /ScriptableObjects/CharacterCompositor/MixTexture/Head/FurPattern/Head-FurPattern-HardBlush.

Tip: You can also also just double click the asset from the inspector to quickly navigate to it.

image

Tip: You can use CTRL-ALT-Z as a back button to return yourself to your mod folder

This asset has its own fields, and asset references:

image

So we need to keep going down the chain configuring the Scriptable Objects in the Inspector, creating copies of their references, and configuring those. Let's try it out:

  1. On the CharacterToggleId, change the Added Texture References to the new MixTexture
  2. On the MixTexture, change the Order->Index to something much later
    • This controls what textures this is drawn over, and how it is ordered in the color page

  3. On the MixTexture, create a copy of the of the Re Color Id Reference asset and assign it
    • Make sure to give the ReColorId a proper name; this is displayed on the color page

  4. On the MixTexture, create a copy of the Mask Reference .png asset and assign it
    • This is the actual texture we'll use for the fur pattern

Your assets should look like this:

image

And your Scriptable Objects should be configured like this:

image

If you've made it this far: congratulations! As far as configuring things goes, that's really all there is to it.

Note that we didn't replace everything. For example, we left the Target Material Description Reference alone on the Mix Texture. This is configuring the objects and material this gets drawn to, and it's already setup well enough that we don't want to redefine it. This is the benefit of this Scriptable Object system: re-usability.

Modifying the texture

Now that we're done configuring things, we can finally make the texture. For something this basic, I'll just replace the dot with a star using Paint.NET.

image

Now if you hit play, you'll finally see a functional toggle.

image

The icon still hasn't updated. We'll get to that later, but if you can't wait, you can generate a new icon from your ModDefinition by clicking Generate Toggle + Pose Icons

image

Modifying the texture in Blender

Just guessing where to texture things isn't always going to work. What we really want to do is texture things in Blender.

Outside of Unity, find and open the /YingletCreator/WorkingAssets/Yinglet-Base.blend file.

  1. Open the Texture Paint
  2. Right Click the Head
  3. Click down onto the Ucupaint extension
  4. Under Layers, click the (+) plus symbol and select Open Image... to add your texture:
image

Now we can draw directly onto the head! If you're unfamiliar with texturing in Blender, you might want to stop here and search up some tutorials on it.

All that really matters here though is transparency, so it shouldn't be too complicated.

The face pattern was already good, so I also made a sample back pattern with a star, using the Pattern-Body-Back Stripes as my starting point:

image

Now might also be a good time to verify that these are showing up properly in the color page:

image

Clone this wiki locally