From f58b79c9da80b9ab6dab08b17c356ab92b4a0cfc Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Tue, 29 Aug 2017 15:35:02 -0400 Subject: [PATCH] Stop depth plane from always passing depth test --- Source/Scene/DepthPlane.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Scene/DepthPlane.js b/Source/Scene/DepthPlane.js index 8559baa6219a..9ba1cd4831c9 100644 --- a/Source/Scene/DepthPlane.js +++ b/Source/Scene/DepthPlane.js @@ -117,8 +117,7 @@ define([ enabled : true }, depthTest : { - enabled : true, - func : DepthFunction.ALWAYS + enabled : true }, colorMask : { red : false,