MatCap
A MatCap ("material capture") paints the surface with a picture of a lit sphere, picked by the direction each pixel faces relative to the camera. It is the cheapest way to get metal, glossy plastic, satin or hair "angel ring" highlights that look the same in every world. NekoToon has two independent MatCap layers, MatCap and MatCap 2nd.
Both layers live in the MatCap foldout of the Normal Map & Reflection group. They have identical settings, applied in order: the 2nd layer is blended on top of the result of the 1st. Unlike Reflection, a MatCap does not read the world's reflection probes, so it looks consistent in dark or probe-less VRChat worlds.
MatCap#
MatCap#
_UseMatCap on / off · default off
Turns the first MatCap layer on. All the settings below appear only while it is on.
MatCap (texture and color)#
_MatCapTex texture · default white _MatCapColor HDR color · default (1, 1, 1, 1)
The sphere image to sample, and a color it is multiplied by. A typical MatCap texture is a square picture of a shaded ball; the centre of the image is used for surfaces facing the camera and the rim of the circle for surfaces seen edge-on. The color is HDR, so values above 1 make the MatCap glow brighter than the texture.
Unfold the row to see the texture's Tiling and Offset. These scale and shift the sampling position around the centre of the image, so a tiling below 1 uses only the middle of the sphere (a softer, wider highlight).
Blend UV1#
_MatCapBlendUV1 x: 0 – 1, y: 0 – 1 · default (0, 0)
Replaces the horizontal (x) and/or vertical (y) MatCap coordinate with the mesh's UV1 coordinate. At 0 the coordinate comes purely from the view direction; at 1 it comes purely from UV1. Setting y to 1 is the classic hair "angel ring": the highlight band then follows the hair strands' UV1 layout instead of sliding around with the camera.
Z-axis rotation cancellation#
_MatCapZRotCancel on / off · default on
When on, the MatCap is kept upright relative to the world's up axis, so tilting your head (rolling the camera) does not spin the highlight around. When off, the MatCap rotates with the camera, like a sticker on the screen.
Fix Perspective#
_MatCapPerspective on / off · default on
When on, the shader uses the real direction from the camera to each pixel. When off, it uses the camera's forward direction for every pixel, which is what an orthographic camera would see; objects near the edge of the screen then get a slightly different, flatter-looking MatCap. Orthographic cameras always use the forward direction.
VR Parallax Strength#
_MatCapVRParallaxStrength 0 – 1 · default 1
Only matters in VR. At 1 each eye computes the MatCap from its own position, which gives the highlight a natural 3D depth. At 0 both eyes use the point between them, so the highlight looks painted onto the surface. Lower it if a MatCap feels uncomfortable or "doubled" in VR.
Under the UV settings there are two UV Preset buttons. MatCap resets Blend UV1 to (0, 0) and turns Z-axis rotation cancellation, Fix Perspective and VR Parallax Strength fully on. AngelRing sets Blend UV1 to (0, 1), keeps Z-axis rotation cancellation on, and turns Fix Perspective and VR Parallax Strength off, which is the usual setup for a hair ring.
Alpha#
_MatCapColor.a 0 – 1 · default 1
The alpha of the MatCap color, shown as its own slider. It scales how strongly the MatCap is blended in (it is multiplied with the texture's alpha, the mask and Blend).
Main Color Power#
_MatCapMainStrength 0 – 1 · default 0
Tints the MatCap by the surface's own main color. At 0 the MatCap keeps its own colors; at 1 it is multiplied by the main color, so a white MatCap on red cloth becomes a red sheen.
Normal Map Strength#
_MatCapNormalStrength 0 – 1 · default 1
How much the material's normal maps bend the MatCap. At 1 bumps and fabric detail show in the MatCap; at 0 it follows the smooth mesh surface only. Has no effect if no normal map is in use.
Mask#
_MatCapBlendMask texture (RGB) · default white _MatCapBlend 0 – 1 · default 1
A mask texture, sampled with the main UV, that limits where the MatCap appears: white shows it, black hides it. Each RGB channel masks its own color channel, so a colored mask also tints the effect. The slider next to it (Blend) is an overall strength for the layer.
Enable Lighting#
_MatCapEnableLighting 0 – 1 · default 1
How much the MatCap is multiplied by the light color. At 1 it dims in dark worlds and takes on the color of the lights; at 0 it keeps full brightness everywhere and can look like it glows. For the Multiply blend mode turn this off; the inspector shows a warning with a fix button if both are set.
Shadow Mask#
_MatCapShadowMask 0 – 1 · default 0
Fades the MatCap out on parts of the model that are in shadow. At 0 shadows have no effect; at 1 the MatCap only shows on the lit side.
Backface Mask#
_MatCapBackfaceMask on / off · default off
Hides the MatCap on back faces, such as the inside of a skirt or sleeve on a double-sided material.
Blur#
_MatCapLod 0 – 10 · default 0
Samples a lower-resolution mip level of the MatCap texture, which blurs it. Use it to soften a sharp MatCap without making a new texture. It only works if the texture has mip maps enabled in its import settings.
Blending Mode#
_MatCapBlendMode Normal | Add | Screen | Multiply · default Add
How the MatCap is combined with the color underneath. Normal replaces it (good for painting a full material look), Add brightens it (highlights, metal shine), Screen brightens it without blowing out to white as easily, and Multiply darkens it (fake ambient occlusion or tinted shading).
Apply Transparency#
_MatCapApplyTransparency on / off · default on
Only shown for transparent rendering modes. When on, the MatCap is faded by the main color's alpha, so see-through parts of the surface don't keep a solid highlight. Turn it off to keep a highlight on glass that is otherwise almost invisible.
Custom normal map#
_MatCapCustomNormal on / off · default off
Lets this MatCap use its own normal map instead of the material's normal maps. Use it to add hair-strand or fabric detail to the MatCap only, without changing the shading.
Normal Map#
_MatCapBumpMap normal map · default flat _MatCapBumpScale -10 – 10 · default 1
Shown when Custom normal map is on. The normal map (sampled with the main UV, with its own tiling and offset) and its strength. Negative strength inverts the bumps.
MatCap 2nd#
A second, independent MatCap layer, turned on with the MatCap 2nd toggle (_UseMatCap2nd, default off). It has exactly the same settings, UV presets and defaults as the first layer and is applied after it, so you can combine for example a Multiply layer for shading with an Add layer for a highlight. The property names are:
| Setting | MatCap 2nd property |
|---|---|
| MatCap (texture / color) | _MatCap2ndTex, _MatCap2ndColor |
| Blend UV1 | _MatCap2ndBlendUV1 |
| Z-axis rotation cancellation | _MatCap2ndZRotCancel |
| Fix Perspective | _MatCap2ndPerspective |
| VR Parallax Strength | _MatCap2ndVRParallaxStrength |
| Main Color Power | _MatCap2ndMainStrength |
| Normal Map Strength | _MatCap2ndNormalStrength |
| Mask / Blend | _MatCap2ndBlendMask, _MatCap2ndBlend |
| Enable Lighting | _MatCap2ndEnableLighting |
| Shadow Mask | _MatCap2ndShadowMask |
| Backface Mask | _MatCap2ndBackfaceMask |
| Blur | _MatCap2ndLod |
| Blending Mode | _MatCap2ndBlendMode |
| Apply Transparency | _MatCap2ndApplyTransparency |
| Custom normal map | _MatCap2ndCustomNormal |
| Normal Map | _MatCap2ndBumpMap, _MatCap2ndBumpScale |
Anisotropy has options to apply its stretched normal to MatCap and MatCap 2nd, which turns a round MatCap highlight into a streak along hair or brushed metal.
Lite shaders#
The Lite variants have a single, simplified MatCap: the MatCap toggle, the texture with its UV settings (Blend UV1, Z-axis rotation cancellation, Fix Perspective, VR Parallax Strength) and one extra option:
Multiply#
_MatCapMul on / off · default off
Lite only. When off the MatCap is added to the color; when on it is multiplied. Where it appears is controlled by the red channel of the Lite shader's TriMask (Mat/Rim/Emi) texture.