Raytraced Reflections implemented

Subscribers:
1,270
Published on ● Video Link: https://www.youtube.com/watch?v=pI4XdWAAZ-g



Duration: 0:56
33 views
1


I am using 5 reflection ray iterations. I'm on a 3080ti and its using about 80% of the GPU because of my naive raytrace implementation. I'm not using spatial partitioning, like an oct-tree yet.

For every ball, it has to check the reflection ray against every other ball. This gets bad performance quickly as the number of balls increases. I think it will be fine for a regular pool game which has a max of 16 balls.