mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:12:53 +02:00
Simplifying the DrawOpaqueStencil Pixel shader
This commit is contained in:
parent
d7dd90f87e
commit
3897716ff5
1 changed files with 0 additions and 11 deletions
|
@ -12,16 +12,5 @@
|
||||||
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
// 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) {
|
void main(void) {
|
||||||
/* float depth = texture(depthTexture, varTexCoord0.xy).r;
|
|
||||||
if (depth >= 1.0) {
|
|
||||||
discard;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
outFragColor = vec4(1.0);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue