Glass: Difference between revisions
Appearance
No edit summary |
|||
| Line 8: | Line 8: | ||
=== In nn::mii === | === In nn::mii === | ||
nn::mii | nn::mii Glass textures have RG channels swapped in comparison to [[FFL]]. | ||
<gallery> | <gallery widths="240"> | ||
File:Glass texture FFL.jpg|Renderdoc inspecting Cemu | File:Glass texture FFL.jpg|Renderdoc inspecting Cemu | ||
File:Glass texture NX.jpg|Renderdoc inspecting Ryujinx | File:Glass texture NX.jpg|Renderdoc inspecting Ryujinx | ||
Revision as of 20:57, 24 September 2025

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
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.
-
Before modulation
-
After modulation.
In nn::mii
nn::mii Glass textures have RG channels swapped in comparison to FFL.
-
Renderdoc inspecting Cemu
-
Renderdoc inspecting Ryujinx