GraphicsProgramming / RVPT

Realtime Vulkan path tracer from scratch kind of thing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.