From 2019826684e387ab1eb5b961179b2941cf212028 Mon Sep 17 00:00:00 2001 From: Kevin ETOURNEAU Date: Fri, 23 Aug 2024 15:14:15 +0200 Subject: [PATCH] fix(PointCloud): Fix clipping point cloud --- src/Renderer/Shader/PointsFS.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer/Shader/PointsFS.glsl b/src/Renderer/Shader/PointsFS.glsl index 378c0d6491..a63b808c64 100644 --- a/src/Renderer/Shader/PointsFS.glsl +++ b/src/Renderer/Shader/PointsFS.glsl @@ -17,7 +17,7 @@ uniform int shape; void main() { // Early discard (clipping planes and shape) -#include +#include if (shape == PNTS_SHAPE_CIRCLE) { //circular rendering in glsl if ((length(gl_PointCoord - 0.5) > 0.5)) {