Skip to content

UdonSunController provides the ability to freely control the Directional Light at runtime for your VRChat Udon world.

License

Notifications You must be signed in to change notification settings

Fallen-Angel-R-K/UdonSunController

 
 

Repository files navigation

UdonSunController

You can download latest unitypackage from here!!

Bright daylight, Reddish sunsets or Dark night...

UdonSunController provides the ability to freely control the Directional Light at runtime for your VRChat Udon world. Just place the prefab in your scene. It automatically controls the brightness and color temperature from the direction of sun. Reflection probes can also be re-baked.

Requirements

Update to latest version.

Usage

  1. Put Assets/UdonSunController/SunController.prefab into the scene.
  2. Press Setup Fom Sene Button on the inspector of placed SunController.

When you added new Reflection Probe (s)

  1. Press Setup From Scene again.

Migration from v2.x to v3.x.

  • Directional Light has been removed from the prefab. Add to your scene manually or keep the initially created one.
  • The ReflectionProbeUpdator has been removed, please remove the UdonBehaviour that references it that you added to ReflectionProbe. UdonSunController will now update them directly.

License

MIT License

Gallary

Inspector Day Night

About

UdonSunController provides the ability to freely control the Directional Light at runtime for your VRChat Udon world.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 87.9%
  • ShaderLab 12.1%