Commit Graph
23 Commits
Author SHA1 Message Date
Jiaqi (0x7c13) Liu 59ee409e6b 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.
2026-11-12 00:12:20 +08:00
Jiaqi (0x7c13) Liu 3c21e1cfcc 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.
2026-11-11 23:07:30 +08:00
Jiaqi (0x7c13) Liu e757685a90 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.
2026-11-11 14:19:22 +08:00
Jiaqi (0x7c13) Liu e309660c5c 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.
2026-11-11 14:08:24 +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 85d2e15225 Minor refactoring 2024-09-16 02:36:35 -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 b8bb1e018f Update header 2024-01-07 02:37:35 -08:00
Jiaqi Liu 18e3fb68ad Bump year in license 2024-01-01 05:15:04 -08:00
Jiaqi Liu 9caf32c80b Code refactoring 2023-10-24 05:53:12 -07:00
Jiaqi Liu de98baab9b Code refactoring 2023-10-23 06:47:55 -07:00
Jiaqi Liu bdcb7fa784 Code refactoring 2023-10-21 18:08:23 -07:00
Jiaqi Liu 8ef806cca0 Fixed script var value type + code refactoring 2023-10-20 01:59:59 -07:00
Jiaqi Liu e1214f3143 Fix potential issues 2023-10-18 04:34:12 -07:00
Jiaqi Liu 9f4c731069 Code refactoring 2023-10-18 00:20:55 -07:00
Jiaqi Liu 3792944d10 Code refactoring + perf optimizations 2023-10-15 23:52:39 -07:00
Jiaqi Liu 3751ea11a4 Reduce heap allocation in CpkArchive IO ops 2023-10-15 06:07:26 -07:00
Jiaqi Liu 01913ed717 Code refactoring 2023-10-15 05:23:59 -07:00
Jiaqi Liu 3a6016f94e Texture2D and Sprite abstraction 2023-10-14 04:08:46 -07:00
Jiaqi Liu 866e6325f2 Code refactoring 2023-10-13 21:57:14 -07:00
Jiaqi Liu f114592ddc Use ArrayPool to reduce heap allocation during scene load 2023-10-13 20:02:15 -07:00
Jiaqi Liu 72b14f8069 More abstractions to make game code engine agnostic 2023-10-06 20:50:21 -07:00
Jiaqi Liu 5fb27d643e Namespace refactoring 2023-10-04 17:45:26 -07:00