Awesome
XELF.Hexelate.Shader
- XELF.Hexelate.Shader: Hexelation Shader is an image effect for Unity. Screen will be filtered by hexagonal grids.
- Tested with Unity
2018.2.7f1
2018.3.0b1
Sample
- Hexelated screenshot
- Not hexelated screenshot
Install in Unity 2019.3.0b1
+
Main Menu
: Window
➡ Package Manager
➡ +
➡ https://github.com/xelfia/XELF.Hexelate.Shader.git
➡ Add
Install manually
- Copy this project files to your local project folder📁.
Install via Package Manager in Unity 2018.3.0b1+
- Copy this project files to your local folder📁.
- Open your project in Unity
- Select
Main Menu
:Window
➡Package Manager
- Click
+
Button - Select
Add package from disk...
to open the file dialog - Select the
package.json
from your local folder📁 (of step 1)
Install via Package Manager in Unity 2018.2.x
- Temporal
package.json
is contained for the future. ☛Unity Package Manager
Or you can manually modify Assets/Packages/manifest.json
on your project for Unity 2018+.
- Copy this project files to your local folder📁.
- Insert a line to
Assets/Packages/manifest.json
as a relative file path to your localXELF.Hexelate.Shader
folder📁 like below.
{
"dependencies": {
"info.xelf.shaders.hexelate": "file:../../XELF.Hexelate.Shader"
}
}
How to integrate into a new scene
- Simple script
Hexelate.cs
has ☛Monobehaviour.OnRenderImage
method.
- Add the
Hexelate
component to your camera. - Hexelation image effect can be seen in the game window.
- You can control the effect parameters via
Hexelate.mat
on the inspector window.