Skip to content

ErikRikoo/com.rikoo.dead-signs-shader

Repository files navigation

Dead Signs Shader - Unity

The package which contains the shader developped for the video game Dead Signs

Installation

To install this package you can do one of this:

  • Using Package Manager Window

    • Opening the Package Manager Window: Window > Package Manager
    • Wait for it to load
    • Click on the top left button + > Add package from git URL
    • Copy paste the repository link
    • Press enter
  • Modifying manifest.json file Add the following to your manifest.json file (which is under your project location in Packages folder)

{
  "dependancies": {
    ...
    "com.rikoo.dead-signs-shader": "https://github.com/ErikRikoo/Dead-Signs-Shaders.git",
    ...
  }
}

Updating

Sometimes Unity has some hard time updating git dependencies so when you want to update the package, follow this steps:

  • Go into package-lock.json file (same place that manifest.json one)
  • It should look like this:
{
  "dependencies": {
    ...
    "com.rikoo.dead-signs-shader": {
      "version": "https://github.com/ErikRikoo/Dead-Signs-Shaders.git",
      "depth": 0,
      "source": "git",
      "dependencies": {},
      "hash": "hash-number-there"
    },
    ...
}
  • Remove the "com.rikoo.dead-signs-shader" and save the file
  • Get back to Unity
  • Let him refresh
  • Package should be updated

How does it work

Just include it and test the shaders 😄

Old TV Effect

For this effect, we tried to reproduce an old tv screen while running some post processing stuff on wolrd space UI. It gave multiple effects:

  • Horizontal Lines to simulate pixels while drawing some lines on top of the texture
    • Vertical pixel count which allows you to specify an amount of lines (not really precise)
    • Vertical Pixel Intensity gives you the ability to make the lines hard or smoother
  • Vignetting
    • Vignette Color which allows you to specify which color you want for the vignette, defaulted to black
    • Vignette Intensity
    • Vignette Roundness
    • **Vignette Smoothness
  • Distorsion which deforms the image as there was some glass on it
    • Distorsion Intensity is there to give the percentage of distorsion, it can be negative to inverse the effect

Highlight Effect

This shader can be used as on overlay over an object to show that it is interactible. It looks like effect we can see un The Last Of Us and has been inspired by febucci tutorial. You can configure the speed of the effect and the highlight color.

Suggestions

Feel free to suggest features by creating an issue, any idea is welcome !

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published