Options
The following section describes the options of the shader, in the same order as they appear in the material inspector. The inspector groups them into three categories – Main Surface, Emission, and Outline.
Main Texture
The main (albedo/color) texture used by the shader, and the texture that the outline is traced from. A Sprite Renderer fills this in with its sprite automatically.
Albedo
An additional color multiplied with the one already present in the main texture. Use this to further customize the look of your sprite.
Alpha Cutoff
This is a threshold value – all parts of the texture whose alpha value is less than the alpha cutoff will not be rendered. The outline is still traced from the full alpha of the texture, so the parts removed this way can end up covered by the outline instead.
Ambient Occlusion
The regular ambient occlusion from the standard URP Lit shader.
Metallic Map
The standard metallic map option in the default URP Lit shader. The metallic map is a black-and-white texture that determines the surface type of the object. It is used to make certain parts of the sprite reflect light like a metal would (metallic), and others like sand would (smooth).
Metallic
This value determines how "metallic" the surface should be, i.e., whether it should reflect light like a metal or a wet surface, or should absorb it like sand or another rough, non-metallic surface.
Normal Map
The standard normal map option in the default URP Lit shader. The normal map is used to simulate a 3D-surface by containing information on how the light should be reflected by the surface.
Normal Strength
This value is multiplied with the normal map and is used to make the effect stronger or weaker. A negative value will mirror the 3D-effect (i.e., protruding surfaces will now be concave, and vice versa). It starts at 0, which leaves the normal map without any effect, so remember to raise it after assigning a normal map.
Emission Color
The emission color as an HDR color. Keep in mind that different post-processing effects (most notably bloom) will have a profound effect on the look of your emission.
Emission Map
The standard emission map option in the default URP Lit shader. A black-and-white map that determines which parts of the sprite will emit light. The white pixels of the texture are areas where the emission will have an effect, and the black pixels are the areas with no emission.
Emission Extra Intensity
Since the default HDR color has a limited intensity (-10 to 10), this shader offers an additional intensity option
that allows you to make your emission even stronger. It starts at 0, where there is no visible emission.
At 1, the emission shows at about the strength of the Emission Color.
Above 1, it grows very quickly – the demo materials that use emission stay between 1 and 3.5.
The effect depends on the viewing angle, so the boost is strongest near the center of the screen.
Outline Width
The thickness of the outline, measured in texels of the main texture.
The same value therefore looks thinner on a high-resolution sprite than on a low-resolution one, and the outline scales along with the sprite.
Outline Color
The color of the outline as an HDR color. The outline is drawn as emission, so it is not affected by the lights in your scene, and a high intensity combined with bloom makes it glow. The alpha value controls the opacity of the outline – set it to 0 to hide the outline completely.
Outline Softness
How gradually the outline fades out (0 to 5). At 0, the outline has a hard edge. At 1, it fades smoothly from full strength to nothing, which turns it into a glow.
Values above 1 also make the outline fainter, reducing its peak strength to about a half at 2, and to about a tenth at 5.
A strong HDR Outline Color makes up for that.
Outline Quality
The number of times the main texture is sampled per pixel to trace the outline: 8 on Low Quality, 16 on Medium Quality,
and 32 on High Quality, which is the default. More samples follow the shape of the sprite more accurately, but cost more performance.
Thin outlines usually look fine on a lower quality, whereas wide or soft ones benefit from a higher one.