F# implementation of The Ray Tracer Challenge by James Buck. If you haven't done the challenge you should! 🚀 It's tons of fun.
- Soft shadows
- Composable materials
- Fresnel reflections
- Textures (UV mapped)
- Color, specular, ambient occlusion and alpha channels
- Normal bump mapping
- Ambient occlusion
- Antialiasing
mono-libgdiplus
if you're on a mac. More here
Some scenes use textures. None of the textures are included in this repo, but some of them can be downloaded from 3dtextures.me.
Other scenes use external 3D models which are also not included in the repo.
dotnet run
in RayTracer
directory.
Choose what scene to render in RayTracer/Program.fs
. Existing scenes are in RayTracer/Scenes
.