Jump to content

Cap: Difference between revisions

From Mii Technical Wiki
No edit summary
Line 6: Line 6:


== Texture ==
== Texture ==
The texture contains the R color channel and is [[Color Modulation|modulated]] with the [[Color Modulation#Alpha Opaque|''Alpha Opaque'']] strategy. In modulation, ''ColorR'' is determined by the ''favorite_color'' field. This is always a [[Favorite Color Table|Favorite Color]].
The texture contains the R color channel and is [[Color Modulation|modulated]] with the [[Color Modulation#Alpha Opaque|''Alpha Opaque'']] strategy. In modulation, ''ColorR'' is determined by the ''favorite_color'' field. This is always a [[Favorite Color Table|Favorite Color]].<gallery>
[[File:Hattex before modulation.png|left|thumb|128x128px|The Cap texture before modulation.]]
File:Hattex before modulation.png|Before modulation.
[[File:Hattex.png|alt=one glasses lens|thumb|The Cap texture.]]
File:Hattex.png|After modulation.
{{Render-Navbox}}
</gallery>{{Render-Navbox}}

Revision as of 10:00, 24 September 2025

The cap of the face, highlighted in blue.

In Mii rendering, the cap (aka. Hat) is part of the face. The cap model can be added depending on the hair type, and a texture is projected onto it. The cap texture is based on one texture that is stretched and repeated.



Texture

The texture contains the R color channel and is modulated with the Alpha Opaque strategy. In modulation, ColorR is determined by the favorite_color field. This is always a Favorite Color.