mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Patching opti's problem
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user