Add beautify post process to project

This commit is contained in:
Lucien
2026-08-03 16:52:25 +02:00
parent 3cd1ca53fd
commit 98a9c89de6
248 changed files with 23693 additions and 3085 deletions
@@ -0,0 +1,18 @@
using UnityEngine;
using Beautify.Universal;
using Input = Beautify.Demos.InputProxy;
namespace Beautify.Demos {
public class ToggleDoF : MonoBehaviour {
void Update() {
if (Input.GetMouseButtonDown(0)) {
// toggles DoF state by overriding the volume property
bool state = BeautifySettings.settings.depthOfField.value;
BeautifySettings.settings.depthOfField.Override(!state);
}
}
}
}