From eb227b399508be631428dbdc180877a08d7f1158 Mon Sep 17 00:00:00 2001 From: Yan Date: Tue, 25 Feb 2020 19:12:12 +0100 Subject: [PATCH] cubemap: get rid of lines between panes with :wrap :clamp-to-edge Default wrapping :repeat gives rough edges. --- examples/cubemap.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/cubemap.lisp b/examples/cubemap.lisp index f94b6d2..07dbfd7 100644 --- a/examples/cubemap.lisp +++ b/examples/cubemap.lisp @@ -28,7 +28,7 @@ "ThickCloudsWater/down.png" "ThickCloudsWater/front.png" "ThickCloudsWater/back.png")) - (setf sampler (sample tx)) + (setf sampler (sample tx :wrap :clamp-to-edge)) (let* ((bx (dendrite.primitives:box-data)) (data (make-gpu-array (first bx) :element-type 'g-pnt)) (ind (make-gpu-array (dendrite.primitives:swap-winding-order (second bx))