Skip to content

Effects and Properties Breakdown

The AllIn1SpriteShader has a custom Material Inspector that allows you to activate and deactivate effects. When an effect is activated it displays its properties so that they can be modified:

The Material Inspector of a material with Fade on: General Properties, the Show Advanced Configuration button, then the Color Effects list with Fade's properties open under it

This is the custom Material Inspector. In this image we can see that the Fade effect is activated and all its properties.

Also note that there is an “R” button next to each property. This button will reset the property to its default value set in the shader. Feel free to change these default values in the shader if you need to.

The inspector numbers the effects 1 to 46 straight through both groups, and this page uses the same numbers. The animated tiles below show each effect on the demo’s own item for it. Effects the demo animates play their demo animation; most others fade in from the plain sprite and back out, so you can see what they change.

Down below all the shader properties are explained. In between [] (ex:[GLOW_ON]) you can find the shader keyword name of each effect (see How to Enable/Disable Effects at Runtime to see how to use it). In between () (ex: _MainTex) you can find the shader property names in case you want to modify them in a script (see Scripting).

Some entries are sub-toggles and carry a keyword with no property name. Those are switched with EnableKeyword and DisableKeyword, never with SetFloat, because they are not material properties at all. A few toggles do store a float as well (Affects everything?, Blur is Low Res?, Manually animated?, Radial Gradient?, Only render inner outline?, Billboard on both axis?), but the shader only reads their keyword, which the inspector sets for you. From a script, switch the keyword shown next to them.

  1. Main Texture (_MainTex): Main Texture, supports Tiling and Offset

  2. Main Color (_Color): The Tint of the the Main Texture

  3. General Alpha (_Alpha): Transparency of the end result

The Show Advanced Configuration button opens the material’s render settings. The defaults suit almost every sprite.

The Advanced Configuration section open: blending, culling, Z test and Z write, Unity Fog, Billboard active, Sprite inside an atlas?, Enable GPU Instancing and Render Queue
  • Blending (SrcMode, DstMode): How the sprite blends with what is behind it. Back To Default Blending restores normal alpha blending.

  • Premultiply Alpha? [PREMULTIPLYALPHA_ON]: Multiplies the color by its alpha before blending, for premultiplied blend modes

  • Culling Mode, Z TestMode and Enable Z Write: The usual render state. Setting Z TestMode to Always fixes UI that disappears behind post processing in a build (see the FAQ)

  • Unity Fog [FOG_ON]: Lets the scene’s fog tint the sprite

  • Billboard active [BILBOARD_ON]: Turns the sprite to face the camera. Billboard on both axis? [BILBOARDY_ON] turns it on the vertical axis too. Don’t use it on UI elements

  • Sprite inside an atlas? [ATLAS_ON]: Makes the UV effects work on a sprite packed in an atlas. It needs the SetAtlasUvs component, see Sprite Atlases

  • Enable GPU Instancing and Render Queue: Unity’s own material settings

Color effects 1 to 8 on the demo's soldier: Glow lights the visor, Fade burns the sprite away, Outline grows a white edge, Alpha Outline glows yellow on the soft edge, Inner Outline draws glowing pink lines inside, Gradient tints it from red to blue, Color Swap turns it white and red, and Hue Shift cycles through every hue
  1. Glow (Needs Post Processing Bloom to work as intended) [GLOW_ON]

    • Glow Color (_GlowColor): Tint of the Glow

    • Glow Color Intensity (_Glow): How intensely the sprite’s colors, tinted by Glow Color, glow

    • Global Glow Intensity (_GlowGlobal): Multiplies the sprite’s own color, so the whole sprite glows in its own colors

    • Use Glow Texture? [GLOWTEX_ON]: When checked shows the following property

    • Glow Texture (_GlowTex): When used, the glow takes this texture’s color (times its alpha, tinted by Glow Color) instead of the sprite’s. Where the texture is transparent nothing glows

    Step by step, and why a glow can show in the Scene view but not the Game view: How to Make a Sprite Glow in Unity.

  2. Fade [FADE_ON]

    • Fade Texture (_FadeTex): Maps how the fade will be made. The fade will be made from black to white

    • Fade Amount (_FadeAmount): How much fade to apply. -0.1, the default, shows the whole sprite and 1 hides it completely. At 0 the darkest parts of the Fade Texture are already gone

    • Fade Burn Width (_FadeBurnWidth): Size of the burned edge. Lower values give a thinner edge

    • Burn Transition (_FadeBurnTransition): How sharp the burned edge is

    • Fade Burn Color (_FadeBurnColor): Tint of the burned edge

    • Fade Burn Texture (_FadeBurnTex): Texture of the burned edge

    • Fade Burn Glow (_FadeBurnGlow): How much the burned edge glows (needs Bloom in the scene)

    Step by step, with a script that burns a sprite out and back in and one pattern across several sprites: How to Dissolve a Sprite in Unity.

  3. Outline (when the width is large it doesn’t look good) [OUTBASE_ON]

    • Outline Base Color (_OutlineColor): Tint of outline color

    • Outline Base Alpha (_OutlineAlpha): Transparency of the outline

    • Outline Base Glow (_OutlineGlow): How much the outline glows (needs Bloom in the scene)

    • Outline High Resolution? [OUTBASE8DIR_ON]: When toggled the outline reads eight directions instead of four, so it looks smoother on corners. It’s more expensive computation wise

    • Outline is Pixel Perfect? [OUTBASEPIXELPERF_ON]: When toggled the outline width increases pixel by pixel (ideal for pixel art games)

    • Outline Base Width (_OutlineWidth) or Outline Base Pixel Width (_OutlinePixelWidth): How thick the outline is. The second one is used when the outline is Pixel Perfect

    • Outline uses texture? [OUTTEX_ON]: Toggles a texture overlay on the outline, tinted by Outline Base Color. The texture itself is _OutlineTex

    • Texture scroll speed X and Y (_OutlineTexXSpeed / _OutlineTexYSpeed): Scroll speed of the outline texture in the X axis and Y axis

    • Outline uses distortion? [OUTDIST_ON]: When toggled distortion will be applied to the outline and the outline distortion properties will be shown

    • Outline Distortion Texture (_OutlineDistortTex): Noise texture that determines how the distortion is done

    • Outline Distortion Amount (_OutlineDistortAmount): How much is the outline distorted following the distortion texture

    Step by step, and why an outline gets cut off or splits when thick: How to Add an Outline to a Sprite in Unity.

    • Distortion scroll speed X and Y (_OutlineDistortTexXSpeed / _OutlineDistortTexYSpeed): Scroll speed of the distortion texture in the X axis and Y axis

    • Only render outline? [ONLYOUTLINE_ON]: Draws the outline alone, without the sprite inside it

  4. Alpha Outline [ALPHAOUTLINE_ON]: A cheaper outline that recolors the sprite’s own semi transparent edge pixels. It never draws outside the sprite’s shape, so it needs a sprite with soft edges

    • Color (_AlphaOutlineColor): Color of the outline

    • Outline Glow (_AlphaOutlineGlow): Glow intensity of the outline

    • Power (_AlphaOutlinePower): Higher values give a thinner outline

    • Min Alpha (_AlphaOutlineMinAlpha): Pixels more transparent than this are left alone. Play around with it to handle where the outline is formed

    • Blend (_AlphaOutlineBlend): 0 means the effect will be invisible. 1 fully visible, everything in between is interpolated

  5. Inner Outline (places outlines over the Main Texture) [INNEROUTLINE_ON]

    • Inner Outline Color (_InnerOutlineColor): Color of the Inner Outline

    • Outline Thickness (_InnerOutlineThickness): How thick the Inner Outline is

    • Inner Outline Alpha (_InnerOutlineAlpha): How transparent the Inner Outline is

    • Inner Outline Glow (_InnerOutlineGlow): How much the Inner Outline glows (needs Bloom in the scene)

    • Only render inner outline? [ONLYINNEROUTLINE_ON]: Draws the inner outline alone, without the sprite

  6. Gradient & Radial Gradient [GRADIENT_ON]

    • Gradient Blend (_GradBlend): How much of the gradient we show. 0 means the gradient will be fully transparent and 1 means that it will be fully visible

    • Top Color, Top Color 2, Bot Color and Bot Color 2 (_GradTopLeftCol / _GradTopRightCol / _GradBotLeftCol / _GradBotRightCol): The color of each corner of the gradient. Colors will be automatically blended together

    • 2 Color Gradient? [GRADIENT2COL_ON]: When enabled limits the amount colors in the gradient to 2 (instead of 4)

    • Boost X axis and Boost Y axis (_GradBoostX and _GradBoostY): Biases the gradient in the X and Y axis respectively

    • Radial Gradient? [RADIALGRADIENT_ON]: Makes the gradient radial. It then uses only two colors: Top Color for the outer part of the radius and Bot Color for the inner part, and Boost X axis biases it towards one or the other

  7. Color Swap (needs a color swap texture to work) [COLORSWAP_ON]

    • Color Swap Texture (_ColorSwapTex): This texture must contain pure red, blue and green sections. This sections will then be recolored with whatever color we choose in the following properties

    • Red Channel (_ColorSwapRed): New color of the red parts of the Color Swap texture

    • Red luminosity (_ColorSwapRedLuminosity): How bright the Red Channel Color will be

    • The green and blue properties work like the red channel properties

    • Color Swap Blend (_ColorSwapBlend): Allows to fade out the effect. 1 is fully visible, 0 is invisible

    Team colours and skins step by step, against Hue Shift, Change 1 Color and a full palette swap: Palette Swap and Color Swap for Sprites in Unity.

  8. Hue Shift [HSV_ON]

    • Hue Shift (_HsvShift): How much the colors will be shifted, in degrees from 0 to 360

    • Saturation (_HsvSaturation): Saturation of the hue shift result

    • Brightness (_HsvBright): Brightness of the hue shift result

Color effects 9 to 16: Change 1 Color turns the red parts yellow, Color Ramp recolors the soldier through a palette, Hit Effect flashes white, Negative inverts the colors, Pixelate turns it into big pixels, GreyScale drains the color, Posterize steps a noise texture into flat bands and Blur softens the soldier
  1. Change 1 Color [CHANGECOLOR_ON]

    • Tolerance (_ColorChangeTolerance): How similar to the Color to change a pixel needs to be in order to change to the new color. Higher values change only the closest pixels; lower values reach further, and at 0 nearly every pixel changes

    • Color to change (_ColorChangeTarget): This is the color that the shader will look for

    • New Color (_ColorChangeNewCol): The color the matching pixels take. It is multiplied by each pixel’s own brightness, so the original shading is kept and dark pixels stay dark

    • New Color Luminosity (_ColorChangeLuminosity): Brightness added before that multiplication, to lift dark pixels towards the full New Color

    • Use Color 2 [CHANGECOLOR2_ON] and Use Color 3 [CHANGECOLOR3_ON]: Two more slots that work just like the first one (_ColorChangeTolerance2, _ColorChangeTarget2, _ColorChangeNewCol2, and the same names ending in 3). They share New Color Luminosity

  2. Color Ramp [COLORRAMP_ON]

    • Color ramp Texture (_ColorRampTex): This texture will be the new color palette of the sprite. It is read from left to right by brightness, so the dark parts of the sprite take the left end of the ramp

    • Use Editable Gradient? [GRADIENTCOLORRAMP_ON]: Uses a gradient you edit right in the inspector, Color ramp Gradient (_ColorRampTexGradient), instead of a texture. It appears once the material is saved as an asset (see Save Material To Folder on Asset Component Features)

    • Color ramp luminosity (_ColorRampLuminosity): Extra of luminosity used to shift the color palette to where you want

    • Affects everything? [COLORRAMPOUTLINE_ON]: Applies the ramp after the outline, the fade burn, the shadow and the glow, so it recolors those too

    • Color Ramp Blend (_ColorRampBlend): Allows to fade out the effect. 1 is fully visible, 0 is invisible

  3. Hit Effect [HITEFFECT_ON]

    • Hit Effect Color (_HitEffectColor): The tint of the effect

    • Glow Intensity (_HitEffectGlow): Glow of the effect. Needs Bloom in the scene

    • Hit Effect Blend (_HitEffectBlend): How much of the effect is shown. When set to 0 it’s not shown, when set to 1 it shows fully. This is meant to be animated to get cool looking results

    Step by step, and why the flash is not white with some other effects on: How to Make a Sprite Flash White When Hit in Unity.

  4. Negative [NEGATIVE_ON]

    • Negative Amount (_NegativeAmount): How much of the negative effect we want to show
  5. Pixelate [PIXELATE_ON]

    • Pixelate size (_PixelateSize): The lower the number the more pixelated the sprite gets. This effect looks bad when combined with distortions

    • For clean blocks set the texture’s Filter Mode to Point. With Bilinear, the blocks along the sprite’s edge blend in transparent pixels and come out half see through, which an outline then picks up as stray specks

  6. GreyScale [GREYSCALE_ON]

    • Greyscale luminosity (_GreyscaleLuminosity): Added to the grey value: higher values make the sprite whiter, lower values darker

    • Affects everything? [GREYSCALEOUTLINE_ON]: Applies the greyscale after the outline, the fade burn, the shadow and the glow, so it turns those grey too

    • Greyscale Tint Color (_GreyscaleTintColor): Tint of the greyscale

    • Greyscale Blend (_GreyscaleBlend): Allows to fade out the effect. 1 is fully visible, 0 is invisible

  7. Posterize [POSTERIZE_ON]

    • Number of Colors (_PosterizeNumColors): The higher the number the more different colors the sprite will display

    • Posterize Amount (_PosterizeGamma): The higher the number the more different the posterize colors will be

    • Affects everything? [POSTERIZEOUTLINE_ON]: Applies the posterize after the outline, the fade burn, the shadow and the glow, so it steps those too

  8. Blur (won’t affect the outline) [BLUR_ON]

    • Blur Intensity (_BlurIntensity): How much the sprite is blurred

    • Blur is Low Res? [BLURISHD_ON]: When checked a cheaper blur, with the same size, is used

Color effects 17 to 24: Motion Blur streaks the soldier as it slides from side to side, Ghost turns it pale and see through, Hologram scrolls glowing stripes, Chromatic Aberration splits the colors, Glitch shifts slices sideways, Flicker blinks it out now and then, Shadow slides a dark copy up and to the left with the default offsets, and Shine sweeps a band of light across it
  1. Motion Blur [MOTIONBLUR_ON]

    • Motion Blur Angle (_MotionBlurAngle): The direction of the motion blur, from -1 to 1, which covers -180 to 180 degrees

    • Motion Blur Distance (_MotionBlurDist): The amount of motion blur

  2. Ghost [GHOST_ON]

    • Ghost Color Boost (_GhostColorBoost): How white the ghost effect gets

    • Ghost Transparency (_GhostTransparency): How transparent the effect gets

    • Ghost Blend (_GhostBlend): Allows to fade out the effect. 1 is fully visible, 0 is invisible

  3. Hologram [HOLOGRAM_ON]

    • Stripes Amount (_HologramStripesAmount): How much uv space does the hologram stripes take

    • Unchanged Amount (_HologramUnmodAmount): How much uv space does the unchanged parts take. These parts will be placed in between the stripes

    • Stripes Speed (_HologramStripesSpeed): How fast the stripes scroll

    • Min Alpha (_HologramMinAlpha): The minimum alpha of the stripes parts. The stripe parts will fade the alpha from this number to max alpha. This can be used to set any alpha gradient

    • Max Alpha (_HologramMaxAlpha): The maximum alpha of the stripes parts. The end value of the alpha gradient. If its value is bigger than 1 it will make the stripe part glow

    • Stripes Color (_HologramStripeColor): Tint of the hologram stripe

    • Hologram Blend (_HologramBlend): Allows to fade out the effect. 1 is fully visible, 0 is invisible

  4. Chromatic Aberration [CHROMABERR_ON]

    • ChromAberr Amount (_ChromAberrAmount): How visible the effect is

    • ChromAberr Alpha (_ChromAberrAlpha): How transparent the effect is

  5. Glitch [GLITCH_ON]

    • Glitch Amount (_GlitchAmount): The higher the number, the more intense the effect gets

    • Glitch Size (_GlitchSize): The higher the number, the smaller the glitch squares get

    • Glitch Speed (_GlitchSpeed): How fast the glitch pattern changes

  6. Flicker [FLICKER_ON]

    • Flicker Percent (_FlickerPercent): The percentage of time the sprite is invisible (from 0 to 1)

    • Flicker Frequency (_FlickerFreq): How often does the flicker happen

    • Flicker Alpha (_FlickerAlpha): How transparent the sprite is when it flickers

  7. Shadow [SHADOW_ON]

    • Shadow X Axis (_ShadowX): Shadow position offset on the X axis. The shadow moves the opposite way to the value: positive values move it to the left

    • Shadow Y Axis (_ShadowY): Shadow position offset on the Y axis. Positive values move it down, so the default (0.1, -0.05) puts the shadow up and to the left

    • Shadow Alpha (_ShadowAlpha): Transparency of the shadow

    • Shadow Color (_ShadowColor): Tint of the shadow

  8. Shine [SHINE_ON]

    • Shine Mask (_ShineMask): None transparent parts of this mask texture will allow the shine to show

    • Shine Color (_ShineColor): Color tint of the shine effect

    • Shine Location (_ShineLocation): Decides the position of the shine line. 0.5 is the center. 0 is one end and 1 is the other end. Animate this value to get a nice scrolling shine effect

    • Rotate Angle(radians) (_ShineRotate): Rotation of the shine line in radians

    • Shine Width (_ShineWidth): How wide the shine line is

    • Shine Glow (_ShineGlow): How much does the shine line glow (benefits from post processing Bloom)

Color effects 25 to 28: Contrast and Brightness pushes the soldier's colors apart, Overlay Texture lays a glowing fire pattern over it, and the same soft cloud through Alpha Cutoff and Alpha Round as their thresholds rise and fall: Alpha Cutoff gives it a hard edge but keeps its soft inside, Alpha Round makes the whole shape solid
  1. Contrast & Brightness [CONTRAST_ON]

    • Contrast (_Contrast): Contrast Amount (1 is default contrast)

    • Brightness (_Brightness): Extra brightness

  2. Overlay Texture [OVERLAY_ON]

    • The “Is overlay multiplicative?” [OVERLAYMULT_ON] toggle allows you to swap between multiplicative and additive mode. Additive just brightens the image by adding color, while multiplicative will darken it and fade it depending on the overlay texture alpha

    • Overlay Texture (_OverlayTex): The texture that we will overlay

    • Overlay Color (_OverlayColor): The tint of the overlay texture

    • Overlay Glow (_OverlayGlow): The glow of the overlay texture

    • Overlay Blend (_OverlayBlend): Allows to fade out the effect. 1 is fully visible, 0 is invisible

    • Speed X Axis and Speed Y Axis (_OverlayTextureScrollXSpeed / _OverlayTextureScrollYSpeed): Scrolling speed on the X and Y axis

  3. Alpha Cutoff [ALPHACUTOFF_ON]

    • Alpha cutoff value (_AlphaCutoffValue): Pixels that are more transparent than this value are not drawn. This is useful to make more cartoon looking effects and to discard unwanted transparencies from certain effects (avoids alpha overdraw)
  4. Alpha Round [ALPHAROUND_ON]

    • Round Threshold (_AlphaRoundThreshold): Rounds the alpha value depending on this threshold. The values above this value turn into 1 and the ones below into 0
UV effects 29 to 34: Hand Drawn jitters the soldier frame by frame, Grass Movement / Wind sways its top from side to side, Wave ripples it, Round Wave ripples a water texture out from the center, Rect Size grows the sprite's drawing area (the white frame) so a far shadow stops being cut off at its edge, and Offset slides the soldier sideways inside its sprite
  1. Hand Drawn [DOODLE_ON]

    • Hand Drawn Amount (_HandDrawnAmount): How much of a distortion we apply to make it look hand drawn frame a frame

    • Hand Drawn Speed (_HandDrawnSpeed): How often we distort the sprite

  2. Grass Movement / Wind [WIND_ON]

    • Speed (_GrassSpeed): How fast it moves from side to side

    • Bend amount (_GrassWind): How much the sprite bends

    • Radial Bend (_GrassRadialBend): How much the sprite twists. The top part of the sprite will twist with the wind the higher this number is

    • Manually animated? [MANUALWIND_ON]: When checked the sprite won’t move on its own (useful if you want a sprite to interact with the player)

    • Manual Anim Value (_GrassManualAnim): If the previous toggle is checked this property dictates how the sprite bends. -1 and 1 are the two fully bent sides

  3. Wave [WAVEUV_ON]

    • Wave Amount (_WaveAmount): How many waves we make

    • Wave Speed (_WaveSpeed): How fast the wave scrolls across the sprite

    • Wave Strength (_WaveStrength): How much the wave affects the sprite

    • Wave X Axis (_WaveX): Position of the wave origin on the X axis (0 is left 1 is right)

    • Wave Y Axis (_WaveY): Position of the wave origin on the Y axis (0 is bottom 1 is top)

  4. Round Wave [ROUNDWAVEUV_ON]

    • Wave Strength (_RoundWaveStrength): How much the wave affects the sprite

    • Wave Speed (_RoundWaveSpeed): How fast the wave scrolls across the sprite

  5. Rect Size [RECTSIZE_ON] (shown in the inspector as “Rect Size (Enable wireframe to see result)”)

    • Rect Size (_RectSize): Size of the mesh where the sprite is drawn. The sprite keeps its size and the room around it grows. Set Scene to “Shaded Wireframe” shading mode to see the mesh shape. It only works on single sprites, not on spritesheets. Set the texture’s Wrap Mode to Clamp: with Repeat the sprite repeats into the new room
  6. Offset [OFFSETUV_ON]

    • X axis (_OffsetUvX): Offset of the sprite on the X axis

    • Y axis (_OffsetUvY): Offset of the sprite on the Y axis

UV effects 35 to 40: Clipping / Fill Amount fills the soldier from left to right like a bar, Radial Clipping / Radial Fill fills it around a circle, Texture Scroll scrolls it diagonally through its sprite, Zoom pushes in on it and back out, Distortion roughens it with a noise texture and Warp Distortion wobbles it smoothly
  1. Clipping / Fill Amount (useful for sliders) [CLIPPING_ON]

    • Clipping Left (_ClipUvLeft): How much of the image we clip from left to right

    • Clipping Right (_ClipUvRight): How much of the image we clip from right to left

    • Clipping Up (_ClipUvUp): How much of the image we clip from up to down

    • Clipping Down (_ClipUvDown): How much of the image we clip from down to up

  2. Radial Clipping / Radial Fill [RADIALCLIPPING_ON]

    • Radial Start Angle (_RadialStartAngle): In degrees, where the radial clipping starts

    • Radial Clip (_RadialClip): How many degrees we clip. From left to right

    • Radial Clip 2 (_RadialClip2): How many degrees we clip. From right to left

  3. Texture Scroll [TEXTURESCROLL_ON] (set the texture’s Wrap Mode to Repeat)

    • Speed X Axis (_TextureScrollXSpeed): Scrolling speed on the X axis

    • Speed Y Axis (_TextureScrollYSpeed): Scrolling speed on the Y axis

  4. Zoom [ZOOMUV_ON]

    • Zoom Amount (_ZoomUvAmount): How much the sprite is zoomed
  5. Distortion [DISTORT_ON]

    • Distortion Texture (_DistortTex): Noise texture that determines how the distortion is done

    • Distortion Amount (_DistortAmount): How much the image is distorted following the texture pattern

    • Scroll speed X and Y (_DistortTexXSpeed and _DistortTexYSpeed): Scroll speed of the distortion texture in the X axis and Y axis

  6. Warp Distortion [WARP_ON]

    • Warp Strength (_WarpStrength): Determines the displacement amount

    • Warp Speed (_WarpSpeed): How often the displacement happens

    • Warp Scale (_WarpScale): The lower the scale the more tiled the effect will look

UV effects 41 to 46: Twist swirls the soldier around its center, Rotate spins it inside its sprite, Polar Coordinates wraps it into a ring of copies, Fish Eye bulges it, Pinch squeezes it toward the center and Shake jitters it in place
  1. Twist [TWISTUV_ON]

    • Twist Amount (_TwistUvAmount): How much is the sprite twisted. The twist is strongest in the middle of the slider, at about 1.57, and fades back to none at its end, 3.14

    • Twist Pos X Axis (_TwistUvPosX): Position of the center of the twist on the X axis (0 is left and 1 is right)

    • Twist Pos Y Axis (_TwistUvPosY): Position of the center of the twist on the Y axis (0 is bottom and 1 is top)

    • Twist Radius (_TwistUvRadius): The radius of the twist effect

  2. Rotate [ROTATEUV_ON]

    • Rotate Angle(radians) (_RotateUvAmount): The angle of rotation of the sprite texture, in radians. Use the Clipping effect to hide the corners that rotate into view
  3. Polar Coordinates [POLARUV_ON] (shown in the inspector as “Polar Coordinates (Tile texture for good results)”)

    • Transforms the uv coordinates into polar coordinates. It has no properties. It looks good with tiling on the main texture plus texture scrolling
  4. Fish Eye [FISHEYE_ON]

    • Fish Eye Amount (_FishEyeUvAmount): How much fish eye distortion we want to apply
  5. Pinch [PINCH_ON]

    • Pinch Amount (_PinchUvAmount): How much pinch effect we want to apply
  6. Shake [SHAKEUV_ON]

    • Shake Speed (_ShakeUvSpeed): How fast it shakes

    • X Multiplier (_ShakeUvX): The higher the value the more it will move on the X axis while shaking

    • Y Multiplier (_ShakeUvY): The higher the value the more it will move on the Y axis while shaking

Lighting Properties (Urp 2D Renderer shader)

Section titled “Lighting Properties (Urp 2D Renderer shader)”
  • Lighting Mask (_MaskTex): A greyscale texture that indicates where the sprite should be affected by light. White means affected by light and black means unlit

  • Lit Amount (_LitAmount): How lit the sprite is. 1 is fully lit and 0 is not affected by light

  • Normal Map (_NormalMap): Normal map texture, affects how the sprite is lit

  • Normal Strength (_NormalStrength): The higher this value gets the more pronounced the normal map effect gets (very high values tend to look bad)

  • Glow affects light [GLOWLIGHT_ON]: On by default. Lighting Mask and Lit Amount work as described above only while it is on. With it off, the sprite simply takes the full result of the 2D lights