Profile PictureAndron827
$0+

Free - Skybox Switcher script for VRChat (Udon Graph)

8 ratings
Add to cart

Free - Skybox Switcher script for VRChat (Udon Graph)

$0+
8 ratings

This is a simple skybox switcher script for VRChat. It's based on the tutorial by PlayerBush001, I'm just saving you having to make the script in Udon Graph (woohoo).

The original YouTube is here:
https://www.youtube.com/watch?v=yC9h-51jvBg



Included in package

1. 'Skybox Toggle' - a cube (the button that switches skyboxes)

2. 'Skybox Toggle Udon Graph Program Asset' - Udon graph script



How to use

1- Start a new project in VCC or Unity Hub using 2019.4.3 1f1 and VRCSDK3

2- Drag & Drop my asset into your Project

3- Put the (button) prefab in your hierarchy, place it wherever you like. Apply whatever material you want to the button.

4- In the inspector -> Public Variables -> 'Skyboxes' set # to how many skyboxes you want to toggle (e.g., night/day, cycle through different colors, whatever you like).

5- Drop your skybox materials into the array, compile and you're ready to go.

Need VRchat compatible skyboxes? I recommend these or other free ones:
https://assetstore.unity.com/packages/2d/textures-materials/sky/allsky-free-10-sky-skybox-set-146014

Note: This only changes the skybox, it won't rebake reflections so only use where changing the sky won't make things look weird (unless you want them to look weird, then cool, go ahead! LOL)



Can I make my own button?

Yep. No need to use my cube, you can just drop the script into your own object.

How?

1- Select your object. In the inspector, add Udon Behavior.

2- Use the dropdown to ensure the program source will be an Udon Graph Program Asset.

3- Drop my script into the "Program Source" (it is literally called Skybox Toggle Udon Graph Program Asset)

4- Do step 4 and 5 (listed above)



Need help?

Happy to help if you join my discord or DM me.

Discord: Andron#7777 | Server: https://discord.gg/B2HK9Nvx5S

Misc thoughts

This is free, please don't take credit and sell it or do bad things with it.

If it breaks due to updates in VRchat or whatever, I might not be able to help, though will try ;)

PS: AI generated image of a girl pushing a button from DallE2, because plain unity cubes look boring...

Hugs,
Andron827

$
Add to cart
89 downloads

You'll get the unity asset which includes a button and Udon Graph script!

Copy product URL

Ratings

5
(8 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%