Explorar o código

Editor UI with pbr debug.

clandrin %!s(int64=3) %!d(string=hai) anos
pai
achega
1670262fa1
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      h3d/scene/pbr/Renderer.hx

+ 3 - 0
h3d/scene/pbr/Renderer.hx

@@ -583,6 +583,9 @@ class Renderer extends h3d.scene.Renderer {
 				debugging = true;
 				hxd.Window.getInstance().addEventTarget(onEvent);
 			}
+			#if editor
+			renderPass(defaultPass, get("ui"), backToFront);
+			#end
 		}
 		if( debugging && displayMode != Debug ) {
 			debugging = false;