From 47c323ec9e0c6fa296797c5d8faa14cb84fed674 Mon Sep 17 00:00:00 2001 From: h4570 Date: Sun, 31 Jul 2022 20:01:34 +0200 Subject: [PATCH] clip comments --- .../inc/renderer/3d/pipeline/static/stapip_options.hpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/engine/inc/renderer/3d/pipeline/static/stapip_options.hpp b/engine/inc/renderer/3d/pipeline/static/stapip_options.hpp index 90c23c2..8001189 100644 --- a/engine/inc/renderer/3d/pipeline/static/stapip_options.hpp +++ b/engine/inc/renderer/3d/pipeline/static/stapip_options.hpp @@ -20,12 +20,16 @@ class StaPipOptions : public PipelineOptions { ~StaPipOptions() {} /** - * @brief False -> disables "clip against each plane" algorithm. - * Mandatory, default: True. + * @brief True -> enables "clip against each plane" algorithm. + * Mandatory, default: False. * * Full clip checks are slow, but they are * preventing visual artifacts, which can happen - * for big 3D objects (or objects near camera eyes) + * for big 3D objects (or objects near camera eyes). + * + * There is other way to prevent these glitches. Just convert your triangles + * to smaller triangles (for example 1 big triangle to 10 smaller). It will + * be way faster than enabling this option... */ bool fullClipChecks; };