This is a fork of PiMaker/VRChatUnityThings, focusing on the AvatarLight part. Instead of changing the indirect skybox color, this version uses a directional light.
-
Import the UnityPackage: Download the UnityPackage provided in the Releases.
-
Add the Prefab to your Scene:
- Open your Unity project.
- Import the UnityPackage you downloaded earlier.
- Locate the Prefab and drag it into your Unity scene.
-
Configure the Unlit_LoopRTBlit Material:
- Make sure you have a video player set up in your project.
- Open the Unlit_LoopRTBlit Material.
- Set your video player's RenderTexture to the appropriate field in the material.
- This process depends on the video player you use.
-
Align the Directional Light:
- Position the Directional Light to match the TV screen.
-
Place the Camera and Quad:
- To prevent them from being visible in the VRChat world, position the camera and quad out of sight. For example, you can place them high up or in an area not visible to players.
This project depends on [UdonSharp] please add it to your Project via the VrchatCreatorCompanion.
All assets in this repository are licensed under the terms of 'CC BY-NC-SA 2.0' unless explicitly marked otherwise. For a complete copy of the license, please visit Creative Commons BY-NC-SA 2.0.
Feel free to reach out if you have any questions or need assistance.