Jump to content

Cap: Difference between revisions

From Mii Technical Wiki
No edit summary
No edit summary
Line 1: Line 1:
[[File:Mii_hat.png|thumb|The hat of the face, highlighted in blue.]]
[[File:Mii_hat.png|thumb|The hat of the face, highlighted in blue.]]
In [[Mii rendering]], the hat (''aka.'' Cap) is part of the face.  The '''hat model''' can be added depending on the [[hair type]], and a texture is projected onto it. The '''hat texture''' is based on one texture that is stretched and repeated.
In [[Mii rendering]], the hat (''aka.'' Cap) is part of the face.  The '''hat model''' can be added depending on the [[hair type]], and a texture is projected onto it. The '''hat texture''' is based on one texture that is stretched and repeated.


== Texture ==
== Texture ==
[[File:Hattex.png|alt=The hat texture.|none|thumb|The hat 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]].
[[File:Hattex before modulation.png|left|thumb|128x128px|The Hat texture before modulation.]]
[[File:Hattex.png|alt=one glasses lens|thumb|The Hat texture.]]
{{Render-Navbox}}
{{Render-Navbox}}

Revision as of 08:50, 24 September 2025

The hat of the face, highlighted in blue.

In Mii rendering, the hat (aka. Cap) is part of the face. The hat model can be added depending on the hair type, and a texture is projected onto it. The hat 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.

The Hat texture before modulation.
one glasses lens
The Hat texture.