content/hifi-public/sam/scripts/render/debugAmbientOcclusion.js
Dale Glass 0d14e5a379 Initial data.
Needs a lot of cleanup. Data has been de-duplicated, and where identical copies existed, one of them
has been replaced with a symlink.

Some files have been excluded, such as binaries, installers and debug dumps. Some of that may still
be present.
2022-02-13 18:59:11 +01:00

24 lines
633 B
JavaScript

//
// debugAMbientOcclusion.js
// examples/utilities/tools/render
//
// Sam Gateau, created on 3/21/2016.
// Copyright 2016 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
var RDT = Render.RenderDeferredTask;
RDT.AmbientOcclusion.enabled = true;
// Set up the qml ui
var qml = Script.resolvePath('ambientOcclusion.qml');
var window = new OverlayWindow({
title: 'Ambient Occlusion',
source: qml,
width: 300
});
window.setPosition(25, 50);
window.closed.connect(function() { Script.stop(); });