When I was starting to learn Unity about 3 years ago Minecraft was already very famous so I decided to explore some voxel based tech. I had read about raytracing code for general general geometry so I decided to mix it with voxels to see what happened. In this project, I pre-generate a texture using Perlin Noise, upload it as a Texture2D to be read by the raytracing shader. A second ray is cast to generate shadows.
The original code was done in Unity 3 but I reimported and recompiled it in 4.3.
Web Player
Unity Package
Nice! Would be awesome to see more posts on the blog.
ResponderExcluir