Outline Effect for Unity

repository·master·Indexed 23 days ago

https://github.com/cakeslice/outline-effect

A Unity image effect package (v2.1.1) that adds outlines to Sprites, Lines, and Meshes. It supports HDR, additive rendering, alpha cutout, merged outlines, and per-renderer color customization for up to three different colors.

Tokens
347
Snippets
1
Records
3
Agent score
32%

What's inside Outline Effect

  1. Overview of Outline Effect features

    master

    Outline Effect is a Unity image effect that provides several rendering capabilities:

    • Renderer Support: Works with Sprite, Line, and Mesh renderers.
    • Visual Styles: Supports HDR (useful for bloom effects), Alpha cutout, and Additive outline rendering.
    • Advanced Outlining:
      • Merged outlines between renderers.
      • Ability to add outlines between different colors.
      • Erase option to keep outlines behind specific renderers.
      • Per-renderer color support (up to three different colors).
  2. Use Outline Effect in Unity

    master

    To implement the outline effect in your scene, follow these two steps:

    1. Setup the Camera: Add the Outline Effect component to your camera.
    2. Setup the Objects: Add the Outline component to the specific renderers (Sprite, Line, or Mesh) that you want to have an outline.
  3. Install Outline Effect via Unity Package Manager

    master

    You can install the Outline Effect package using one of the following methods:

    Method 1: OpenUPM (Recommended) Use the OpenUPM registry to manage the package.

    Method 2: Git URL In the Unity Package Manager, select 'Add package from git URL...' and use: https://github.com/cakeslice/Outline-Effect.git

    Method 3: Asset Store Download the package directly from the Unity Asset Store.

    Method 4: Manual Installation Download the files and place them anywhere in the Assets folder of your Unity project.

    https://github.com/cakeslice/Outline-Effect.git