Skip to content

Commit

Permalink
fix(PointCloud): Fix clipping point cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin ETOURNEAU authored and Desplandis committed Sep 10, 2024
1 parent 95d2194 commit 2019826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Renderer/Shader/PointsFS.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ uniform int shape;
void main() {

// Early discard (clipping planes and shape)
#include <clipping_planes_pars_fragment>
#include <clipping_planes_fragment>
if (shape == PNTS_SHAPE_CIRCLE) {
//circular rendering in glsl
if ((length(gl_PointCoord - 0.5) > 0.5)) {
Expand Down

0 comments on commit 2019826

Please sign in to comment.