+ | Patching opti's problem

This commit is contained in:
TheRedShip
2025-01-19 15:48:25 +01:00
parent d0d67b8bd7
commit 71df788350
6 changed files with 2636 additions and 2870 deletions

View File

@ -46,7 +46,7 @@ void BVH::updateBounds(std::vector<GPUTriangle> &primitives)
void BVH::subdivide(std::vector<GPUTriangle> &primitives)
{
if (_primitive_count <= 4)
if (_primitive_count <= 100)
return ;
glm::vec3 extent = _aabb.max - _aabb.min;