Skip to content

URP shader for Unity that shows a cross section of an object using clipping plane

License

Notifications You must be signed in to change notification settings

dedovskaya/CrossSectionShader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cross Section Shader for URP

cross-section-shader

Cross Section Shader shader facilitates the visualization of an object's cross-section by incorporating a clipping plane. This shader is specifically designed to provide a detailed and dynamic representation of the internal structure of an object.

The project includes a shader graph and corresponding material. Unity version is 2021.3.20f1. To run the demo install TextMeshPro and its additional files and set Universal Rendering Pipeline as your rendering pipeline. The ClippingPlane script is attached to a plane object, dynamically modifying the material at runtime to synchronize with the position and rotation of the plane.

The skull model was taken from: https://free3d.com/3d-model/skull-v3--785914.html

EB, 2023

About

URP shader for Unity that shows a cross section of an object using clipping plane

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published