Commit Graph
50 Commits
Author SHA1 Message Date
Jiaqi Liu 8ef2c946db Migrate PAL3/PAL3A rendering to URP Forward+ with independent Toon lighting (#90)
* Migrate original rendering and frosted UI to URP Forward+

Port the original materials, fog and screen passes to URP. Capture the finished scene for frosted UI and keep the renderer assets ready for clustered lighting.

* Add standalone Toon lighting and shared model rendering support

Add independent Toon shaders, scene and character lighting, contact shadows and fire controls. Share POL materials, preserve MV3 seams and texture swaps across both styles, and support scene-specific Toon water.

* Skip redundant CVD mesh updates

Reuse unchanged poses and UVs, and recompute Toon normals only when geometry or the linear transform changes.

* Manage game Bloom and screen effect state by camera

Expose a persisted Bloom switch, restore the active style default on reset, and release camera and volume state when the manager is disposed.

* Restore opt-in story VFX loading

Use the existing local VFX resource path for synchronous and asynchronous loading. Keep the preference off by default and document compatible optional assets.

* Save Unity 6.6 and URP project settings

Persist the current graphics, quality, player and shader graph settings plus the URP material upgrade marker.

* Fix Unity 6.6 startup compiler warnings

Use Unity assembly discovery and object lookup APIs, keep PAL3 command reflection independent of UnityEngine, and preserve the runtime GDB dictionaries in JSON exports.

* Use the new Input System as the only input backend

Select Input System Package as the sole backend. Remove the extra scroll-sensitivity reductions in the console and file browser, preserving their previous Both-mode scrolling behavior.

* Preserve two-sided model normals across animation

Recognize coincident MV3 vertices by their complete animation trajectories and skeletal vertices by their bind positions and bone. Separate opposing faces only where a source normal group is shared, preserving UV seams and adjacent single-sided faces.

* Isolate optional VFX lifetimes and private asset builds

Centralize optional prefab loading, persistent attachments, active-effect cleanup and cache invalidation. Runtime toggles hide active effects and restore surviving attachments. Block private VFX and legacy Toon assets in public builds, with an explicit local private-build override.

Release portal attachments on destruction, reject dead parents and prune orphaned persistent attachments.

* Manage camera post-processing, anti-aliasing and menu glass

Give each game camera its own VolumeStack without mutating shared profiles, and restore inherited camera and effect state on disposal. Map the old PPv2 Bloom intensity through its exponential compositing coefficient; this does not establish visual equivalence across pipelines. Share saved and live MSAA handling with ResourceViewer, and make the main menu acrylic background whiter with less scene color showing through.

Restore pipeline settings even after partial initialization or service cleanup failure. Protect the persistent URP asset from ordinary Play Mode saves and restore the two runtime fields across Play exit and script reloads without reverting unrelated edits.

* Tune Toon lighting, water and bounded point-light shadows

Strengthen indoor and outdoor lighting contrast, integrate SSAO and baked shading while retaining character detail, and light transparent water with the shared Toon shader. Expose independent switches and strengths through the console. Support up to four shadowed fires with bounded allocation-free selection, preserve saved preferences, adapt the shadow atlas, and default desktop devices to four shadowed fires.

Report invalid console strengths and shadow budgets without saving rejected values.

* Fix DXT3 alpha decoding that produces foliage stripes

Expand the high alpha nibble into both halves of the output byte. Fully opaque DXT3 texels now decode to 255 in both pixel positions, preventing alternating coverage in the cutout and blended rendering passes. Add editor regressions for opaque RGB/alpha, all sixteen alpha levels in pixel order, and partial blocks with buffer-tail protection.

* Document Unity CI after disabling the Codacy integration
2026-11-12 02:28:17 +08:00
Jiaqi (0x7c13) Liu 59c8223c37 Upgrade to Unity 6000.6.8f1 2026-11-10 23:20:46 +08:00
Jiaqi Liu c946f8956b Upgrade to Unity 6.5
Upgrade project to Unity 6.5
2026-06-20 16:26:21 +08:00
Jiaqi Liu 2a8b8f64c8 Upgrade to Unity 6.1 2025-07-06 14:44:02 -07:00
Jiaqi Liu efcb28734d Upgrade packages 2025-03-09 01:39:02 -08:00
Jiaqi Liu b1d9e3b0ac Bug fix + Bump Unity version + Update copyright text
- Fixed a bug caused by inconsistent state check between managed and native object.
- Bump Unity version.
- Update copyright text
2025-03-05 21:13:59 -08:00
Jiaqi Liu 2bb0d5e2f3 Upgrade to Unity 6 LTS 2024-10-17 21:37:38 -07:00
Jiaqi Liu 487fc773fe Upgrade project to Unity 6
Upgrade project to Unity 6
2024-09-14 16:21:12 -07:00
Jiaqi Liu 991bb6823b Code refactoring: Use explicit type instead of var
Code refactoring: Use explicit type instead of var
2024-09-09 03:41:55 -07:00
Jiaqi Liu 8433938a0e Upgrade Unity version and fixed a collider bug
Upgrade Unity version and fixed a collider bug
2024-07-17 18:40:09 -07:00
Jiaqi Liu 66324a805b Bump Unity version 2024-03-26 18:54:29 -07:00
Jiaqi Liu 1ff06369e8 Bump Unity version 2023-12-29 03:51:49 -08:00
Jiaqi Liu be0b9758cb Downgrade to 2022.3.15f to make CI pass 2023-12-27 00:16:09 -08:00
Jiaqi Liu f7c9d805bb Bump Unity version 2023-12-26 16:38:06 -08:00
Jiaqi Liu 1a03b20e0e More abstractions and bug fixes 2023-10-11 20:49:46 -07:00
Jiaqi Liu 1337a185bf Code refactoring to get rid of UnityEngine dependencies 2023-09-21 20:20:50 -07:00
Jiaqi Liu a20430358c Bump Unity version + code refactoring 2023-08-29 20:38:03 -07:00
Jiaqi Liu b1e199e0fb Read and parse ComboSkills + EffectLinkers 2023-08-12 05:45:15 -07:00
Jiaqi Liu c3893fbf47 Implement PAL3A SceneEnableFogCommand + code refactoring
- Implement PAL3A SceneEnableFogCommand
- Improves logging
- Object 46 in scene M03-1 should block player
-
2023-08-02 19:42:22 -07:00
Jiaqi Liu 78e9692abc Upgrade dependencies 2023-07-29 14:55:58 -07:00
Jiaqi Liu 3e8f350740 Upgrade packages 2023-07-01 23:34:41 -07:00
Jackie Liu 4d23ec3c47 v0.64 2023-06-29 11:23:27 -07:00
Jackie Liu cf015037bf Upgrade project to Unity 2022.3 LTS 2023-06-01 19:26:48 -07:00
Jackie Liu a8bfe5917b Upgrade NugetForUnity and nuget packages 2023-04-10 02:42:27 -07:00
Jiaqi Liu fbcba999aa Upgrade input system package 2023-03-31 00:35:37 -07:00
Jiaqi Liu 94c8e824d2 Upgrade Unity version to 2022.2.12 + Finishing up BuildPipelines 2023-03-23 00:06:26 -07:00
Jackie Liu 6c6f11fb84 Upgrade Unity version to 2022.2.11 2023-03-15 23:41:37 -07:00
Jackie Liu f22e037bb5 Upgrade Linux toolchain version 2023-03-04 00:48:16 -08:00
Jackie Liu 6bed3676a3 Bump Unity version 2023-03-04 00:35:08 -08:00
Jackie Liu 066712e887 Fixed a bug in jump logic + upgrade Unity version 2023-02-18 05:47:59 -08:00
Jiaqi Liu 906a651140 Update Rider plugin version 2023-01-21 02:19:48 -08:00
Jiaqi Liu 9dad13af49 Upgrading editor version to 2022.2.2f1 2023-01-17 22:37:02 -08:00
Jiaqi Liu 7ba42aefdf Use pushable object forward direction instead of world direction 2022-12-11 17:00:51 -08:00
Jiaqi Liu 5eedfcbbd5 Destroy combat npc on collision enter 2022-12-08 00:32:19 -08:00
Jackie Liu e3540daa19 Implement player actor switching logic 2022-11-17 15:34:02 -08:00
Jackie Liu 1f9e2b10f9 Upgrade to Unity 2022.2.x 2022-11-08 00:04:46 -08:00
Jackie Liu 9d62fc637a Code refactoring 2022-10-15 12:13:29 -07:00
Jackie Liu a8b73c2060 Implement CursorManager and bump Unity version 2022-10-01 03:59:37 -07:00
Jackie Liu 867639f42b Upgrade Unity version and fix dialogue selection issue
Upgrade Unity version and fix dialogue selection issue
2022-08-29 11:51:59 -07:00
Jiaqi Liu 284ce1d64a Update Unity version
Update Unity version
2022-07-21 05:16:02 -07:00
Jackie Liu 91b836ea89 Perf & GC optimizations for Mv3 renderer
Perf & GC optimizations for Mv3 renderer
2022-04-17 03:01:24 -07:00
Jiaqi Liu c7330b5309 Bump Unity version + code refactoring
Bump Unity version + code refactoring
2022-04-07 02:55:02 -07:00
Jiaqi Liu ab058f390b Upgrade dependencies
Upgrade dependencies
2022-04-03 12:58:01 -07:00
Jackie Liu 5181aa3f32 Implement post-processing effects using PPv2
Implement post-processing effects using PPv2
2022-04-03 01:09:36 -07:00
Jackie Liu dcb7e7ac33 Revert "Upgrade to URP and implement vintage effect"
This reverts commit 9427886fc7.
2022-04-03 00:25:03 -07:00
Jackie Liu 9427886fc7 Upgrade to URP and implement vintage effect
Upgrade to URP and implement vintage effect
2022-04-02 18:28:17 -07:00
Jiaqi Liu f5ecada4e2 Code refactoring & perf optimizations
Code refactoring & perf optimizations
2022-03-20 14:45:58 -07:00
Jiaqi Liu 6f9ac04d69 Bump Unity version to 2021.2.16f1 2022-03-19 23:41:28 -07:00
Jackie Liu b9c0175f1c Deprecating blob shadow projector for better perf
Deprecating blob shadow projector for better performance
2022-03-19 02:59:21 -07:00
Jiaqi Liu d3c05ce1c1 Init
Init
2022-02-27 17:26:01 -08:00