Ellipsoids through matrices
vchizhov opened this issue · comments
For the sphere primitive a 4x4 matrix can be uploaded instead of a center and radius. This allows supporting any form of ellipsoid if the code can be adapted to support instances.
Realtime Vulkan path tracer from scratch kind of thing
vchizhov opened this issue · comments
For the sphere primitive a 4x4 matrix can be uploaded instead of a center and radius. This allows supporting any form of ellipsoid if the code can be adapted to support instances.