• 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.
Distance Shader plugin

Demo Plugins + Scripts Distance Shader plugin

Download [<1 MB]
Demos or "Lite" versions of Paid Content

The Distance Shader plugin is now available.

This plugin creates a more natural visual experience by applying a fade effect based on the distance to a target.

1. Concept​

It recreates the kind of “distance shader” effect commonly seen in environments like VRChat, adapted for use in VaM.
Based on the distance to the target, a full-screen black overlay is applied to create a fade effect.

As the camera moves within a certain range, the screen gradually blacks out,
simulating a more realistic “too close to see” visual response.

It also helps reduce the “unfortunate experience” of the camera clipping through a model when getting too close.

2. Overview of Operation​

Attach the plugin to a Person Atom.
Once attached, the fade effect is automatically enabled using the default target, head.

3. Detailed Explanation of Each Element​

■ Distance-Based Fade (Blackout)​

Applies a full-screen fade effect based on the distance to the target.

■ Automatic Target Selection (Full Body Mode)​


In Full Body Mode (Auto),
the plugin automatically detects and uses the closest body part as the target.

■ Detail Target Mode​



By default, targets are based on the Atom’s body controllers (such as head, chest, etc.).
When this option is enabled,
target selection switches to VaM Atom RigidBody-based targeting,
allowing you to choose from 400+ possible targets.

This mode can also be used together with Full Body Mode.
(This may slightly increase CPU load.)

■ Show Auto Target​

When using Full Body Mode,
you can check which target is currently being referenced.

■ Fade Range Customization​


  • Fade Start: distance where fading begins
  • Fade End: distance where the screen becomes fully black

4. Additional Notes​

  • Compatible with both VR and desktop modes
  • Depending on the settings, blackout may occur earlier than expected
  • This plugin is designed for Person Atoms only.
    Using it on other Atom types may result in unintended behavior
Example
You can achieve results like this without any post-processing.The Distance Shader plugin will continue to evolve.
If you have any feedback or feature requests, feel free to leave a comment!

React to this content...

Share this resource

More resources from Crimeless

Latest reviews

Positive
Version: 2026-04-18
Posted:
Simple plugin that helps immersion in VR. Thank you!
Upvote 1
Positive
Version: 2026-04-18
Posted:
Great plugin my friend!
Upvote 0
Back
Top Bottom