Vulkan ray tracing app

Started by
2 comments, last by taby 11 months, 1 week ago

So I've now gotten a lot of things working in my Vulkan ray tracer – https://github.com/sjhalayka/sw_partial_reflectivity

  • Reflection and refraction (Fresnel)
  • Chromatic aberration
  • Multiple shadow-casting lights
  • Multiple textures
  • Fast glossy (noisy) reflections
  • Fast blurry (noisy) shadow edges
  • Volumetric fog via ray marching/tracing
  • Large-format screenshots

I recently redid the fog code, and it's working how I want it.

Advertisement

Looks good.

Quick improvement that comes to my mind is step in fog - I assume you see the banding - I've used small random offsets when sampling it to break the banding (on the other hand that will and small noise instead of banding). It tends to be easier/possible to converge that way.

My current blog on programming, linux and stuff - http://gameprogrammerdiary.blogspot.com

Thanks again for your input. I’ll perturb the rays and see what it looks like. ?

This topic is closed to new replies.

Advertisement