Part of World Components

VRC_CustomRendererBehaviour

This script is currently only used for adding realtime global illumination updates to an object with emission.

It can be used with the VRC Sync Video Player and VRC Video Screen components to illuminate a room based on the current frame of the video.

Properties Description
Update GI Materials Every Tick Update global illumination from attached renderer emission every tick.

Usage

This script must be attached to a game object that has a mesh renderer component. In the case of the video player example, it would need to be added to the screen. Keep in mind:

  • Realtime Global Illumination must be checked in the Lighting Properties of your project.
  • The renderer this script is attached to must me marked as lightmap static.
  • The realtime GI updates will only affect other lightmap static objects.
  • If you move the renderer with this behavior attached, it will not update as expected as it's based on the lightmap data.

Reference

https://docs.vrchat.com/docs/vrc_realtimegiupdate