Commit Graph

58 Commits

Author SHA1 Message Date
ritenseki 988e8789f4 Fix BlinkLight, WashLight, Spotlight3d to use material properties
Stage light objects have no Unity Light components — they are
self-illuminated meshes. All three handlers now write to MeshRenderer
material properties instead.

BlinkLight: GetComponentsInChildren<Renderer> → _Color + _ColorPower.
pattern==0 uses per-renderer color0Array/powerArray; blink cycle
multiplies col * intensity into _Color.

Spotlight3d: adds _Color + _ColorPower writes after transform update.
color/colorPower fields were previously unused.

WashLight: sets _ProjectorColorPower from CameraProjectionColorPower
on projector materials. _ProjectorMulColor0 left at material default
(no color field in keyData).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 14:38:36 +08:00
ritenseki fefcd96b07 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>
2026-05-07 14:17:41 +08:00
ritenseki c0c7a5bfbe Fix BlinkLight flicker and ParticleGroup dual-rate emission
BlinkLight (pattern != 0): was always on; now computes intensity each
frame from turnOnTime/keepTime/turnOffTime/intervalTime/waitTime/
loopCount/powerMin/powerMax — supports fade-in, hold, fade-out, interval
cycle. pattern == 0 retains the original static per-light path.

ParticleGroup: was driving emission from FlickerLightRate only;
now uses MinMaxCurve(FlickerDarkRate, FlickerLightRate) so Unity
randomly samples between the two rates each emission event.

Also adds TODO comments on WashLight, Laser, UVScrollLight incomplete
fields, updates CLAUDE.md track table and live-shader-todo.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 13:16:44 +08:00
ritenseki 2e0f28ad7e Add Live stage lighting and effects tracks
New data classes (11):
  BlinkLight, GlobalFog, Spotlight3d, UVScrollLight,
  VolumeLight, LightShafts, Particle, ParticleGroup,
  WashLight, Laser + CLAUDE.md

WorkSheet: added 11 new [SerializeField] fields
LiveTimelineControl: added 9 new events + AlterUpdate_SimpleListControl helper
Director: added handlers for all new tracks

Key fixes:
  - StageController: register light objects in StageObjectMap (was skipped
    with continue), fixes missing stage props like ceiling neonsign
  - Spotlight3d handler: use keyData.assetName for StageObjectMap lookup
  - BlinkLight: SetActive + child Light color/intensity from timeline data

Coverage (58 songs): BlinkLight 56/58, Effect 55/58, GlobalFog 40/58,
  UVScrollLight 32/58, Spotlight3d 30/58

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-07 11:34:04 +08:00
ritenseki abdbfc0f42 Add Live Effect track (track ID 60) implementation
- LiveTimelineEffectData.cs: new data class with full field set
  (color, offset, owner, occurrenceSpot, IsLinkOwner*, etc.)
  derived from actual cutt asset bundle TypeTree dump
- LiveTimelineWorkSheet: add effectList field
- LiveTimelineControl: add OnUpdateEffect event and AlterUpdate_EffectControl
- Director: add OnEffectUpdate handler and ApplyEffectTransform helper
  loads prefab from 3d/effect/live/pfb_{name}, instantiates per key frame

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 21:24:52 +08:00
CroakFang 009f142f5b Fix some VMD export issues and some other changes (#100)
* Bug fix, improved UI layout and live vocals

* Bug Fixes, New Live Compatibility

* Android build support

* Update build.yml

* Fix issues with the new version of the game

* bug fix

* add config button

* Improve performance

* Sync fork

* bug fix, new uma compatibility

* Add /UserSettings to gitignore

* bug fix, add live characher shader control

* fix compilation errors

* fix compilation errors 2

* fix the live lighting calculation logic

* bug fix, add editor layout settings to gitignore

* bug fix, add editor layout settings to gitignore

* Add time scale keys for live

* live camera bug fix

* add live stage control, optimize live performance

* fix build error

* add uma head custom

* Add tiptoes rotation for VMD export

* Add a save path prompt when exporting VMD files.

* Remove the debug code for body dragging.

* Remove unused physics components to improve performance.

* Fix incorrect VMD exports for loop animations
Fix VMD motion errors during repeated recordings
Fix ghost bone persistence after multiple recordings

* Revert "Remove unused physics components to improve performance."

This reverts commit 7a1ae7f7d13d05380f9215b653d1c6719303a458.

* Reapply "Remove unused physics components to improve performance."

This reverts commit fe4c05f6942198864ca06e25f17a11440961040d.

* fix https://github.com/katboi01/UmaViewer/issues/95

* live timescale bug fix

* bug fix for skin and tail textures in live

* bug fix for skin and tail textures in live (2)

* fix https://github.com/katboi01/UmaViewer/issues/108

* message ui bug fix
2025-07-31 20:43:45 +02:00
CroakFang 204752d7d6 Add custom head, live character shader control, and live stage control. (#88)
* Bug fix, improved UI layout and live vocals

* Bug Fixes, New Live Compatibility

* Android build support

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Fix issues with the new version of the game

* bug fix

* add config button

* Improve performance

* Sync fork

* bug fix, new uma compatibility

* Add /UserSettings to gitignore

* bug fix, add live characher shader control

* fix compilation errors

* fix compilation errors 2

* fix the live lighting calculation logic

* bug fix, add editor layout settings to gitignore

* bug fix, add editor layout settings to gitignore

* Add time scale keys for live

* live camera bug fix

* add live stage control, optimize live performance

* fix build error

* add uma head custom
2025-07-11 17:23:57 +02:00
katboi01 d97cb906de Sync fork (#73)
* Improved UI layout and live vocals

* New Live Compatibility

* Android build support

* Update build.yml

* Fix issues with the new version of the game

* add config button

* Improve performance

* bug fix, new uma compatibility

---------

Co-authored-by: CroakFang <1605296300@qq.com>
2024-11-06 23:58:45 +01:00
katboi01 3b2bae40cd Merged changed from Croakfang's branch. (#72)
* merge (#71)

* Bug fix, improved UI layout and live vocals

* Bug Fixes, New Live Compatibility

---------

Co-authored-by: CroakFang <1605296300@qq.com>

* recovered shader functions

* Fixed texture loading for costume 0015

---------

Co-authored-by: CroakFang <1605296300@qq.com>
2024-09-09 10:27:37 +02:00
katboi01 7e08e9f88b Cleanup (#54)
Removed most of Gallop and DereScript code that did not affect the application.
2023-12-31 05:21:12 +01:00
CroakFang 423b22df4a bug fix 2023-09-18 01:28:05 +08:00
CroakFang 2a0b8082c0 bug fix 2023-09-18 01:00:56 +08:00
CroakFang 3d3b81679b bug fix 2023-09-08 23:20:14 +08:00
CroakFang 070b005216 fix new live error, add live Lyrics ui 2023-08-28 00:57:47 +08:00
Katboi01 124e03fb9c CurrentUmaContainer is now of type UmaContainerCharacter 2023-08-20 22:27:30 +02:00
CroakFang ee5ca42421 improve live recording 2023-08-05 22:30:16 +08:00
CroakFang fc10540182 add KeyReduction setting 2023-08-03 21:11:04 +08:00
CroakFang 9d27eb87ed bug fix 2023-07-31 21:25:32 +08:00
CroakFang 2a3cb02153 add live multi camera (WIP) 2023-07-31 01:05:51 +08:00
CroakFang 1d86d459b4 bug fix 2023-07-30 22:31:49 +08:00
左右看 6b476cf1dc minor bug fix 2023-07-30 18:30:20 +08:00
CroakFang eb3173f6ac add morph convert config 2023-07-30 14:54:00 +08:00
左右看 2a26536d74 more precise height value 2023-07-30 04:20:28 +08:00
左右看 d9e021286c imporve live morph speed 2023-07-30 01:12:16 +08:00
CroakFang bbc2cbb171 add live vmd recording support (wip) 2023-07-29 23:56:55 +08:00
CroakFang c2a8ee3852 bug fix 2023-07-27 22:39:12 +08:00
左右看 1ff1ec02af imporve live camera 2023-07-24 11:42:01 +08:00
CroakFang a13cac6ede add live camera support 2023-07-23 17:48:49 +08:00
左右看 77e8332126 No Criware Anymore 2023-07-16 11:02:18 +08:00
左右看 bb6ea01094 improve live 2023-07-15 08:50:37 +08:00
左右看 064c5d13c1 Merge branch 'master' of https://github.com/croakfang/UmaViewer 2023-07-15 06:36:43 +08:00
左右看 3fb1064f13 minor update 2023-07-15 06:36:39 +08:00
CroakFang ff406c4632 improve performance 2023-07-14 23:24:05 +08:00
CroakFang 060ca0f259 Improve Asset Loading 2023-07-13 01:41:59 +08:00
左右看 9bc7e58d50 minor bug fix 2023-07-12 18:27:55 +08:00
左右看 d1d1a2f771 simple progress bar 2023-07-12 17:22:00 +08:00
左右看 76c812431a minor bug fix 2023-07-12 10:11:32 +08:00
左右看 709a086ed6 Merge branch 'master' of https://github.com/croakfang/UmaViewer 2023-07-12 09:27:26 +08:00
左右看 c627e0a080 minor bug fix 2023-07-12 09:27:23 +08:00
CroakFang 1ea26223fc bug fix 2023-07-12 09:21:08 +08:00
CroakFang d31328023f improve scene loading 2023-07-11 22:55:07 +08:00
CroakFang abb4d90a62 bug fix 2023-07-10 15:46:09 +08:00
左右看 32e7c660a5 Try unload scene 2023-07-09 19:57:57 +08:00
左右看 45e05b5800 fix scene(failed) 2023-07-09 17:33:52 +08:00
左右看 e5a7e1d879 bug fix 2023-07-09 16:14:44 +08:00
左右看 c7f254a025 add simple live mode 2023-07-09 16:12:39 +08:00
左右看 f0c76b12b2 improve live lipsync 2023-07-07 11:01:19 +08:00
左右看 c0c5aefb21 minor update 2023-07-07 09:56:01 +08:00
左右看 220e6e160f minor update 2023-07-07 09:54:42 +08:00
左右看 6a89bba5e3 improve live 2023-07-07 05:30:20 +08:00