Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaser324/unity-wireframe
General purpose wireframe shaders for use in Unity.
https://github.com/chaser324/unity-wireframe
game-development shaders unity unity3d wireframe
Last synced: 2 days ago
JSON representation
General purpose wireframe shaders for use in Unity.
- Host: GitHub
- URL: https://github.com/chaser324/unity-wireframe
- Owner: Chaser324
- Created: 2017-06-02T15:09:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T21:34:37.000Z (4 months ago)
- Last Synced: 2024-12-14T06:02:29.494Z (9 days ago)
- Topics: game-development, shaders, unity, unity3d, wireframe
- Language: ShaderLab
- Homepage:
- Size: 15.2 MB
- Stars: 599
- Watchers: 23
- Forks: 80
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unity Wireframe Shaders
These are general purpose wireframe shaders adapted from Unity's built-in SpatialMappingWireframe shader.
![](https://raw.githubusercontent.com/Chaser324/unity-wireframe/gh-pages/Screenshots/2017-06-02_13-40-13.gif)
[Unity Forums Thread](https://forum.unity3d.com/threads/free-open-source-generic-wireframe-shaders.473968/)
## Requirements
* These shaders will only work on devices that support at least Shader Model 4.0. Most mobile devices do not meet this requirement.
## Installation
* Download from the package manager using the url: https://github.com/insominx/unity-wireframe.git?path=/Packages/unity-wireframe
## Usage
* Add the `Wireframe` directory to your Unity project's `Assets` directory.
* To use the wireframe shaders, set your material's shader to `SuperSystems/Wireframe`, `SuperSystems/Wireframe-Transparent`, or `SuperSystems/Wireframe-Transparent-Culled`.
* To use the replacement shader image effect, add the `WireframeImageEffect` component to your camera. Some other effects like GlobalFog will interfere with the replacement shaders and will need to be disabled.## License
All code in this repository ([unity-wireframe](https://github.com/Chaser324/unity-wireframe)) is made freely available under the MIT license. This essentially means you're free to use it however you like as long as you provide attribution.