This repository contains the code behind the project for Rendering Glinty Granular Materials in Virtual Reality. The project is implemented in Unity version 2021.2.15f1. The demo (SandRenderingDemo folder) has been developed for Oculus Rift and has not been tested for other versions. A unity project (TextureGeneration folder) has been added that allows the user to generate sand textures in the Editor.
Below are listed the assets used in the project. Assets are listed as
"Description" by NameOfCreator from LinkToAsset
- "Updated Stanford Bunny" by KickAir_8P from https://blenderartists.org/t/uv-unwrapped-stanford-bunny-happy-spring-equinox/1101297 (originally by Stanford University Computer Graphics Laboratory from http://graphics.stanford.edu/data/3Dscanrep/)
- "Low poly sticky notes" by 6amsunset from https://sketchfab.com/3d-models/low-poly-sticky-notes-a528cfc3e30c466cb7cd8e3ea12e8c9b
- "Texture baking project" by sheha-belkhale from https://github.com/sneha-belkhale/shader-bake-unity
- "Approach for creating ripples" by Alan Zucconi from https://www.alanzucconi.com/2019/10/08/journey-sand-shader-6/
- "Voronoi noise generation" by Ronja's tutorials from https://www.ronja-tutorials.com/post/028-voronoi-noise/
- "Implementation of the fast version of "An analytic BRDF for materials with spherical Lambertian scatterers"" by AndrewHelmer from https://www.shadertoy.com/view/ftlXWl
- "Sand details normal textures" by AtwoodDeng from https://github.com/AtwoodDeng/JourneySand/tree/master/Assets/SandRendering/Image
- "Moon texture" by EntityNull0 from https://github.com/EntityNULL0/TimeOfDay/blob/master/Assets/Textures/moon.jpg
- "Stars texture" by Ernie Wright (Nasa Scientific Visualization Studio) from https://svs.gsfc.nasa.gov/4851
- "Cumbled paper normals" by MAFIAARTIST from https://mafiaartist.wordpress.com/2015/04/28/misc-group-04-uv-unwrap-fix/
- "An analytic BRDF for materials with spherical Lambertian scatterers" by Eugene d'Eon from https://arxiv.org/abs/2103.01618
- "Day / Night cycle" by Probably Spoonie from https://www.youtube.com/watch?v=m9hj9PdO328
- "Simple Dynamic Clouds" by Butterfly World from https://assetstore.unity.com/packages/tools/particles-effects/bfw-simple-dynamic-clouds-85665#description
- "Oculus integration" by Oculus from https://assetstore.unity.com/packages/tools/integration/oculus-integration-82022#description