overte-JulianGro/scripts/developer/utilities/render/debugDeferredLighting.js

20 lines
547 B
JavaScript

//
// debugSurfaceGeometryPass.js
//
// Created by Sam Gateau on 6/6/2016
// Copyright 2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html
//
// Set up the qml ui
var qml = Script.resolvePath('deferredLighting.qml');
var window = new OverlayWindow({
title: 'Deferred Lighting Pass',
source: qml,
width: 400, height: 400,
});
window.setPosition(250, 750);
window.closed.connect(function() { Script.stop(); });