Mark Sibly 7 years ago
parent
commit
407eb581f6
1 changed files with 1 additions and 8 deletions
  1. 1 8
      modules/mojo3d/assets/shaders/lighting-deferred.glsl

+ 1 - 8
modules/mojo3d/assets/shaders/lighting-deferred.glsl

@@ -205,15 +205,8 @@ void main(){
 	vec4 vpos4=r_InverseProjectionMatrix * vec4( v_ClipPosition,-1.0,1.0 );
 	
 	vec3 vpos=vpos4.xyz/vpos4.w;
-
-	//debug vpos x/y
-	//
-	if( abs( vpos.x )>=1.0 || abs( vpos.y )>=1.0 ){
-		gl_FragColor=vec4( 0.0,0.0,1.0,1.0 );
-		return;
-	}
 	
-	//debug z
+	//debug z coord...
 	//
 	if( abs( vpos.z-r_DepthNear)>0.00001 ){
 		gl_FragColor=vec4( 1.0,0.0,0.0,1.0 );