Skip to content

akihiko47/Unity-Cross-Section-Mesh-Slicing-Shader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross section/Mesh slicing shader

image

How to install

  • Copy Assets/Cross Section Shader folder into your unity project
  • Alternatively, you can install everything you need using the CrossSection.unitypackage file from the repository

Features

  1. Binary partitioning using single plane
  2. Hatching
  3. Lots of color settings
  4. Fog support
  5. Overlapping geometry support
  6. Standart light model

How to use

To use this shader, you need to create a material that uses this shader. You also need to specify the plane parameters for the shader. This can be done using the SlicePlane script, specifying the desired plane and materials in it.

Tip

Check out the Example Scene for an example of how to use it.

image

About

Unity BRP shader for creating cross sections with a variety of settings.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors