DistanceCullingMirrors Save

Udon script that exposes additional options for mirrors giving the ability to set distance based culling per layer functioning like an adjustable far clip distance.

Project README

DistanceCullingMirrors Licence Releases

Udon script that exposes additional options for mirrors giving the ability to set distance based culling per layer functioning like an adjustable far clip distance. This will help with creating more optimized mirrors.

Requirements

Usage

Add this script to any existing mirror or use the included mirror prefab.

Setting the culling distance to 0 will disable culling behaviour for that layer.

Examples

Settings used for the video example.

DCM

Video

Nothing on this mirror is being updated. This is a normal mirror that has an internal culling distance set for players. This makes it so only players near the mirror will be rendered.

https://user-images.githubusercontent.com/74171114/130367299-b0a98aae-1b92-4a40-9026-975f3ac10e57.mp4

Manually setting culling distances in the layer array.

https://user-images.githubusercontent.com/74171114/130734783-cf06b9c2-bc15-45b6-8e38-fbf2d20dcc90.mp4

Elements correspond to layer number.

ArrayExample

Example World

An example world that contains a mirror with this script applied can be found here:

https://vrchat.com/home/world/wrld_6eaf7a85-ffcb-4765-a9b6-c7e435802079

Open Source Agenda is not affiliated with "DistanceCullingMirrors" Project. README Source: Superbstingray/DistanceCullingMirrors
Stars
33
Open Issues
0
Last Commit
11 months ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating