• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.
CUAShadowFixer | Fixes shadows on CUAs, while keeping baked lighting and materials intact

Default CUA, without any plugins
Same CUA with CUAShadowFixer
(Environment used in this showcase is Diner by VamX!)

What does CUAShadowFixer do?
Most CustomUnityAssets are built with stock Unity shaders that don't understand VaM's shadow system, so they ignore your scene lighting and look flat. CUAShadowFixer swaps each material onto a VaM-shadow-correct equivalent that keeps the asset's baked lighting, specular, normals and emission fully intact. So correct shadows with the same overall look.

Why not use UnityAssetVamifier?
This only fixes shadows by swapping everything onto VaM's skin shader. It works, but it flattens specular and erases the baked lighting the asset shipped with. CUAShadowFixer changes only the shadow handling, so your asset still looks the way its creator intended.


About the size
This plugin includes a ~22 MB precompiled shader bundle. A VaM plugin can't build shaders at runtime, so the shadow-correct shaders are compiled ahead of time, and the bundle covers every material workflow (metallic/specular/roughness) and lightmap mode so it works on as many CUAs as possible.

Features
  • Correctly receives shadows from VaM lights
  • Metallic / Specular / Roughness properties remain intact
  • Works on Baked Lighting environments and other renamed-Standard shaders
  • Sliders to adjust smoothness, reflection intensity and over-bright surfaces
  • Bonus Face-Hide tool: hide mesh faces to see into a walled room from the outside

Face-Hide
(Environment used in this video is Sports Equipment Room by LDR!)

How to use
  1. Add a CustomUnityAsset atom and load your asset.
  2. In the Plugins tab, add CUAShadowFixer (load the .cslist).
  3. Done. (it might take a few seconds for the shader to apply
Face-Hide
  1. Select Face-hide mode
  2. Hold your cursor over a face until it lights up blue
  3. Hide that face by pressing Space



Tabbed UI made possible with @14mhz 's CustomUI / CustomTabUI!
Chair in the thumbnail is
Leather armchair by Ghostwalden
Images and attachments
  • Diner CUAShadowFixer GIF.gif
    Diner CUAShadowFixer GIF.gif
    24.2 MB · Views: 0
React to this content...

Share this resource

More resources from Mxx

Latest reviews

Positive
Version: 1
YES! thanks to face hide i might not need to keep using CUA editor to search and remove those manually. That is a cherry on top.
Upvote 0
Back
Top Bottom