From 3897716ff5730c0f3ffb21c963599857be7366ff Mon Sep 17 00:00:00 2001 From: samcake Date: Thu, 8 Oct 2015 17:49:55 -0700 Subject: [PATCH] Simplifying the DrawOpaqueStencil Pixel shader --- libraries/render-utils/src/drawOpaqueStencil.slf | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libraries/render-utils/src/drawOpaqueStencil.slf b/libraries/render-utils/src/drawOpaqueStencil.slf index 033c2fec5a..43e9c5c27a 100644 --- a/libraries/render-utils/src/drawOpaqueStencil.slf +++ b/libraries/render-utils/src/drawOpaqueStencil.slf @@ -12,16 +12,5 @@ // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // -in vec2 varTexCoord0; - -//uniform sampler2D depthTexture; -out vec4 outFragColor; void main(void) { -/* float depth = texture(depthTexture, varTexCoord0.xy).r; - if (depth >= 1.0) { - discard; - }*/ - - outFragColor = vec4(1.0); - }