Skip to content

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.

License

Notifications You must be signed in to change notification settings

Superbstingray/DistanceCullingMirrors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 

Repository files navigation

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.

LayerDistanceMirror.mp4

Manually setting culling distances in the layer array.

AdjustingPerLayer.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

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages