Skip to content

mcclure/UnityLegacyRaytraceExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is sample code showing a minimal example of ray tracing in Unity with with the Legacy graphics engine and the "Inline Raytracing" feature. It requires Unity 2023.2 or newer. The plane in SampleScene draws blue if a ray cast "through" the pane collides with something, green if a ray cast "off" the pane collides with something, and red if there is no collision.

This is written by Andi McClure andi.m.mcclure@gmail.com and I will update this repository later with specific instructions and a license.

About

Minimal ray tracing in Unity 2023.2 or later, Legacy graphics pipeline.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published