Skip to content

General purpose wireframe shaders for use in Unity.

Notifications You must be signed in to change notification settings

insominx/unity-wireframe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

46a40df · Aug 29, 2024

History

22 Commits
Aug 29, 2024
Aug 29, 2024
Aug 29, 2024
Aug 29, 2024
Jun 2, 2017
Aug 29, 2024
Aug 29, 2024
Aug 29, 2024

Repository files navigation

Unity Wireframe Shaders

These are general purpose wireframe shaders adapted from Unity's built-in SpatialMappingWireframe shader.

Unity Forums Thread

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

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) 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.

About

General purpose wireframe shaders for use in Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ShaderLab 64.1%
  • C# 18.0%
  • HLSL 17.9%