Skip to content

4d raytracer unity project - with shadows, reflections and lighting.

License

Notifications You must be signed in to change notification settings

NegInfinity/4dRaytracerUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is something I wanted to tinker with for a long time - a 4d raytracer.

This is a unity project adapted from shader posted on shadertoy, here:

Which is also made by me.

Raycasting is performed by shooting rays into the world through an object that serves as a portal.
The difference is that calculations are performed in 4d space. There are no manual controls in the project,
the movement is hardcoded into the shader, and moves along predefined coordinates.

I initially made it into a Unity project, because I wanted to see how 4d parallax would look in a google cardboard headset.

Unfortunately, the results weren't as good as I expected them to be.

Anyway, it is available under zlib license and you can tinker with it. Have fun.

Victor "NegInfinitY" Eremin, 2018/07/05

About

4d raytracer unity project - with shadows, reflections and lighting.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published