Lower portal recursion to 10
This commit is contained in:
parent
1e089f3918
commit
399b640505
@ -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_;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user