This is a collection of cross-section shaders, scripts, prefabs and example scenes. It contains the cross-section substitutes for the Unity Standard shader and other built-in shaders in Unity. The cross section tool can work on planes, cylinders and spheres.
The meshes contained in subjected objects should be closed and not intersecting.
- Ready for VR / AR, (tested on OculusQuest and Go)
- Support for post processing effects, including Post-Processing Stack v2
- Selective outline post processing effect
- Support for Standard (Built in), URP (since 2019.2.16.) and HDRP (since 2020.1.0.) render pipelines
You can find more details on the online wiki page with
instructions and documentation.Note:
The assets specific for scriptable render pipelines are located inside separate unitypackages.You can see it in action in the demos:
-
WebGL demo with 16 demo scenes
-
WebGL URP demo with 11 demo scenes
-
WebGL examples with 2 example scenes
-
WebGL URP examples with 2 example scenes
-
.apk demo (builtin) download for Android with 16 demo scenes
-
.apk demo (URP) download for Android with 11 demo scenes
-
Standalone Windows HDRP demo with 6 demo scenes
The demo scenes are included into the package.
Note:
The latest asset version was uploaded ad the demo scenes were built from Unity 2020.2.2. The advertised features relate to the latest version and might not be present in the earlier version. Please check the documentation changelog. You can also find some info on the
forum thread.This asset uses
phuongfi91/unity-threading under MIT License and
aybe/MathGeoLib.Exports under Apache License 2.0; see
Third-Party Notices.txt file in package for details