Skip to content

Merge #49 - #50

Merged
tattn merged 2 commits into
mainfrom
feature/mtoon
Aug 19, 2026
Merged

Merge #49#50
tattn merged 2 commits into
mainfrom
feature/mtoon

Conversation

@tattn

@tattn tattn commented Aug 18, 2026

Copy link
Copy Markdown
Owner

No description provided.

* Add MToon rendering support

* Fix MToon shader build on unsupported SDKs

* Fix visionOS RealityKit tests

* Separate unrelated example changes

* Address MToon review feedback

* Improve MToon shading fidelity

* Use bundled RealityKit MToon shaders

* Ensure VRMRealityKit bundle resources exist

* Adjust RealityKit MToon tests for shader fallback

* Clarify RealityKit MToon fallback tests

* Precompile MToon metallibs and make MToon optional

Ship per-platform precompiled MToon Metal libraries as package
resources so CustomMaterial works regardless of the consumer's
build system (swift build does not compile package .metal sources,
and newer Xcodes require a separately installed Metal Toolchain).
Add an isMToonEnabled option (default true) to both loaders,
make shader-load test failures hard failures, unify the example
model rotation offsets, and drop unrelated whitespace changes.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add AR-safe MToon rendering mode for RealityKit.

Introduce VRMRenderingMode (.nonAR default, .ar) to omit geometry modifiers
and outline entities that crash in AR shadow-caster passes, while keeping
CustomMaterial MToon shading. Document AR usage in README and add integration tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Disable shadow casting for AR MToon CustomMaterial rendering.

Apply DynamicLightShadowComponent and GroundingShadowComponent on AR entity
trees, force opaque blending for surface-only MToon, and expand AR integration tests.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix AR rendering mode build on visionOS

* Fix AR MToon alpha blending

* Fix AR MToon texture transforms

* Fix visionOS tests and MToon shade fallback

* Limit MToon rendering support to RealityKit

* Address RealityKit MToon review feedback

* Fix MToon review issues and add example toggles

* Stabilize MToon texture semantic tests

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
@tattn
tattn merged commit 6e5e1be into main Aug 19, 2026
6 checks passed
@tattn
tattn deleted the feature/mtoon branch August 19, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants