Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xelfia/XELF.Hexelate.Shader
XELF.Hexelate.Shader: Hexelation Shader is an image effect for Unity. Screen will be filtered by hexagonal grids.
https://github.com/xelfia/XELF.Hexelate.Shader
effects hexagonal-grids image-effects shaders unity
Last synced: 4 months ago
JSON representation
XELF.Hexelate.Shader: Hexelation Shader is an image effect for Unity. Screen will be filtered by hexagonal grids.
- Host: GitHub
- URL: https://github.com/xelfia/XELF.Hexelate.Shader
- Owner: xelfia
- License: mit
- Created: 2018-09-10T09:07:05.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-08-28T06:53:00.000Z (almost 5 years ago)
- Last Synced: 2024-01-07T00:52:46.579Z (6 months ago)
- Topics: effects, hexagonal-grids, image-effects, shaders, unity
- Language: ShaderLab
- Homepage:
- Size: 186 KB
- Stars: 17
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-unity-open-source-on-github - XELF.Hexelate.Shader - Hexelation Shader is an image effect Screen will be filtered by hexagonal grids (Post Effect)
README
# 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
![After: Hexelated](image/hexelated.png)
* Not hexelated screenshot
![Before: Unhexelated](image/unhexelated.png)
## Install in Unity `2019.3.0b1`+
`Main Menu`: `Window` ➡ `Package Manager` ➡ `+` ➡ `https://github.com/xelfia/XELF.Hexelate.Shader.git` ➡ `Add`## Install manually
1. Copy this project files to your local project folder📁.
## Install via Package Manager in Unity 2018.3.0b1+
1. Copy this project files to your local folder📁.
2. Open your project in Unity
3. Select `Main Menu`: `Window`➡`Package Manager`
4. Click `+` Button
5. Select `Add package from disk...` to open the file dialog
6. 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](https://docs.unity3d.com/Packages/[email protected]/manual/index.html)
Or you can manually modify `Assets/Packages/manifest.json` on your project for Unity 2018+.
1. Copy this project files to your local folder📁.
2. Insert a line to `Assets/Packages/manifest.json` as a relative file path to your local `XELF.Hexelate.Shader` folder📁 like below.```javascript
{
"dependencies": {
"info.xelf.shaders.hexelate": "file:../../XELF.Hexelate.Shader"
}
}
```## How to integrate into a new scene
* Simple script `Hexelate.cs` has ☛[`Monobehaviour.OnRenderImage`](https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnRenderImage.html) method.
1. Add the `Hexelate` component to your camera.
2. Hexelation image effect can be seen in the game window.
3. You can control the effect parameters via `Hexelate.mat` on the inspector window.