- 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
- Hexelated screenshot
- Not hexelated screenshot
Main Menu
: Window
➡ Package Manager
➡ +
➡ https://github.com/xelfia/XELF.Hexelate.Shader.git
➡ Add
- Copy this project files to your local project folder📁.
- 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)
- 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"
}
}
- 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.