Skip to content

An HLSL include file for finding the intersection between a line and the following shapes: plane, cylinder, ellipsoid, hyperboloid, paraboloid, ellipse, capped cylinder, capped ellipsoid, capped half hyperboloid, rectangle and a box. Also includes a visualiser shader for URP.

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Radagasd/line-intersections

Repository files navigation

line-intersections

An HLSL include file for finding the intersection between a line and the following shapes: plane, cylinder, ellipsoid, hyperboloid, paraboloid, ellipse, capped cylinder, capped ellipsoid, capped half hyperboloid, rectangle and a box. Also includes a visualiser shader for URP in the samples.

While not tested, the HLSL include file should work with the other render pipelines as it does not rely on URP specific functionality (except for the visualiser).

This package is made for my tutorial on line intersections that can be found here.

About

An HLSL include file for finding the intersection between a line and the following shapes: plane, cylinder, ellipsoid, hyperboloid, paraboloid, ellipse, capped cylinder, capped ellipsoid, capped half hyperboloid, rectangle and a box. Also includes a visualiser shader for URP.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published