Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/slashrawr/unity-crack-shader
A simple shader that mimics a crack, crevice or hole in a an otherwise solid mesh.
https://github.com/slashrawr/unity-crack-shader
hlsl shader unity vfx
Last synced: 10 days ago
JSON representation
A simple shader that mimics a crack, crevice or hole in a an otherwise solid mesh.
- Host: GitHub
- URL: https://github.com/slashrawr/unity-crack-shader
- Owner: slashrawr
- License: gpl-3.0
- Created: 2018-10-04T11:28:46.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-04T11:34:41.000Z (about 6 years ago)
- Last Synced: 2024-08-02T05:11:50.346Z (4 months ago)
- Topics: hlsl, shader, unity, vfx
- Language: ShaderLab
- Homepage:
- Size: 14.6 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unity-crack-shader
A simple shader to simulate a broken surface like a crack, crevice or hole without manipulating the surface mesh.
## Getting Started
Apply the TransparentWithZWrite shader to a mesh overlaying the break in the surface. Ensure the surface mesh is later in the render queue than the overlay mesh and that ther overlay mesh
is later in the render queue than other objects you might want visible in the crack, crevice or hole.