Jump to content

Cap: Difference between revisions

From Mii Technical Wiki
m Jo moved page Hat to Cap without leaving a redirect
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 cap 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 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.




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

Revision as of 09:08, 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.

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