primary rays #1

Open
opened 2026-10-29 23:12:17 +00:00 by molive · 0 comments
Owner

The pathtracer for Solari uses raytracing everywhere, but the realtime version uses rasterization for primary rays. We can't rasterize the implicit surfaces

Three options:

  • Realtime uses raytracing for primary rays
  • Solari renders primary rays, then we come along and use raytracing to add the implicit surfaces to the gbuffer
  • Solari renders primary rays, then we come along and use async compute shaders to add the implicit surfaces to the gbuffer

I personally like the third one the most. It lines up with the idea that we only use the analytical versions of SDFs for primary rays (and maybe shadows). This would mean that the raytracing step of solari only needs to care about the spatial texture versions.

The pathtracer for Solari uses raytracing everywhere, but the realtime version uses rasterization for primary rays. We can't rasterize the implicit surfaces Three options: * Realtime uses raytracing for primary rays * Solari renders primary rays, then we come along and use raytracing to add the implicit surfaces to the gbuffer * Solari renders primary rays, then we come along and use async compute shaders to add the implicit surfaces to the gbuffer I personally like the third one the most. It lines up with the idea that we only use the analytical versions of SDFs for primary rays (and maybe shadows). This would mean that the raytracing step of solari _only_ needs to care about the spatial texture versions.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molive/bevy-tape-drive#1