Lower portal recursion to 10

This commit is contained in:
tovjemam 2025-08-15 19:58:33 +02:00
parent 1e089f3918
commit 399b640505

View File

@ -42,11 +42,11 @@ namespace gfx
std::shared_ptr<VertexArray> portal_vao_;
void SetupPortalVAO();
size_t max_portal_recursion_ = 24;
size_t max_portal_recursion_ = 10;
// Minimum distance to portal mesh from eye
// If the distance is smaller, portal plane is shifted to avoid clipping by near plane
float min_portal_distance_ = 0.01f;
float min_portal_distance_;
glm::mat4 proj_;