Add ChromaticAberration, HdrBloom, ColorCorrection post-processing tracks
Three new URP Volume Override tracks (Path A): ChromaticAberration (73): power → intensity, isEnable toggles effect. Per-channel redOffset/greenOffset/blueOffset not expressible in URP built-in CA. HdrBloom (38): bloomIntensity → Bloom.intensity, threshold → Bloom.threshold. Fields unconfirmed (no bundle data in 30-song scan). ColorCorrection (61): saturation (game 1.0=neutral) → ColorAdjustments.saturation (URP range -100..100). redCurve/greenCurve/blueCurve → ColorCurves via TextureCurve. Depth curves and selective color have no URP equivalent. Director.InitializeTimeline() acquires or creates a Volume on Camera.main and adds the required overrides programmatically. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyChromaticAberrationData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public int isEnable;
|
||||
public Vector2 redOffset;
|
||||
public Vector2 greenOffset;
|
||||
public Vector2 blueOffset;
|
||||
public float power;
|
||||
public float clip;
|
||||
public int effectType;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyChromaticAberrationDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyChromaticAberrationData>
|
||||
{
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineChromaticAberrationData : ILiveTimelineGroupDataWithName
|
||||
{
|
||||
private const string default_name = "ChromaticAberration";
|
||||
public LiveTimelineKeyChromaticAberrationDataList keys;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 577536d7b04577e4f97cd0c33c4c54d9
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyColorCorrectionData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
public int enable;
|
||||
public float saturation; // 1.0 = neutral
|
||||
public int mode;
|
||||
public AnimationCurve redCurve;
|
||||
public AnimationCurve greenCurve;
|
||||
public AnimationCurve blueCurve;
|
||||
public AnimationCurve depthRedCurve;
|
||||
public AnimationCurve depthGreenCurve;
|
||||
public AnimationCurve depthBlueCurve;
|
||||
public AnimationCurve blendCurve;
|
||||
public int selective;
|
||||
public Color keyColor;
|
||||
public Color targetColor;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyColorCorrectionDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyColorCorrectionData>
|
||||
{
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineColorCorrectionData : ILiveTimelineGroupDataWithName
|
||||
{
|
||||
private const string default_name = "ColorCorrection";
|
||||
public LiveTimelineKeyColorCorrectionDataList keys;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3bbc9d423334b7e4fbce26081357344f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Gallop.Live.Cutt
|
||||
{
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyHdrBloomData : LiveTimelineKeyWithInterpolate
|
||||
{
|
||||
// TODO: fields unconfirmed — no bundle data found in 30-song scan.
|
||||
// Likely candidates based on URP Bloom: intensity, threshold.
|
||||
public float bloomIntensity;
|
||||
public float threshold;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineKeyHdrBloomDataList : LiveTimelineKeyDataListTemplate<LiveTimelineKeyHdrBloomData>
|
||||
{
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public class LiveTimelineHdrBloomData : ILiveTimelineGroupDataWithName
|
||||
{
|
||||
private const string default_name = "HdrBloom";
|
||||
public LiveTimelineKeyHdrBloomDataList keys;
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6de4d415603668a47807908ceac5e327
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user