Notifications
4d raytracer
Showcase
72
3
This is something I wanted to try for some time - 4d raytracer program. Lighting works the same way, except computations are performed in 4d space. This project is based off shadertoy shader I also wrote: https://www.shadertoy.com/view/4dGBRy I"ve ported it to unity in order to see if 4d parallax woudl look interested in VR Cardboard headset. Unfortunately, the effect was not as strong as I expected.
The code is currently available on github, under zlib license.

Victor Eremin
Freelancer - Programmer
8
Comments
Victor Eremin
5 months ago
Freelancer - Programmer
@emidude Yes, you can have controls on shadertoy. Here's a project (made by someone else) that uses keyboard: https://www.shadertoy.com/view/MddGzf . I simply wrote the 4d shader in a hurry so I haven't bothered with the key support.
0
e
emidude
5 months ago
Student
emidude@Victor Eremin Thanks for this! I am wanting to make some interactive 4D spaces but I am new to shaders and have not used them in unity (only played around a bit with the book of shaders).
@Victor Eremin (sorry sent that before I had finished writing) You mentioned that the movement was hardcoded into the shader and I wanted to ask you whether you knew if it was possible to have input controls to shaders like there are in shader toy? Also, how would you compare implementing this in Unity compared to shadertoy? I am currently not sure whether to use unity or webVR for my 4D interactive project and I'd love any advice you could offer me!
0
e
emidude
5 months ago
Student
@Victor Eremin Thanks for this! I am wanting to make some interactive 4D spaces but I am new to shaders and have not used them in unity (only played around a bit with the book of shaders).
0