3 ms·
This isn't that though. The geometry is static and the interaction between points is precomputed. The cone tracing into voxels approach ends up being much more
by CyberDildonics 11y ago
This isn't that though. The geometry is static and the interaction between points is precomputed. The cone tracing into voxels approach ends up being much more reasonable since:
1. The color is quantified into evenly spaced segments (ie a 3 dimensional image)
2. Because it is a 3 dimensional image the GPU's filtering hardware can do efficient lookups over a volume using mip mapping techniques.
The approach was originally described in a siggraph paper and there have been a lot of variations (which is usually another sign that something works well). Someone could create an implementation on their own, it isn't much of a stretch. You just rasterize into a voxel image then do a few cone traces at every pixel you shade, guided by the BDRF (a good one to look at would be ggx).