Jump to content

Glass

From Mii Technical Wiki
Revision as of 20:58, 24 September 2025 by Jo (talk | contribs) (In nn::mii)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The glasses of the face, highlighted in blue.

In Mii rendering, the glasses are part of the face. The glass model is a quad model placed in front of the mask, and a texture is projected onto it. The glass texture is made up of one lens, which is flipped in rendering for each side.

Texture

[edit | edit source]

The texture contains RG color channels and is modulated with the Luminance Alpha strategy. In modulation, ColorR is determined by the glass_color field. In FFL, this is a Glass Color, and in nn::mii, this is a Common Color.

In nn::mii

[edit | edit source]

nn::mii Glass textures have RG channels swapped in comparison to FFL.