Love this! I do have a question about how to slow down the speed of the Stars Particle system. Changing the simulation speed has no effect. If it's possible to have the stars static in the sky, that would be perfect.
@DeviousShadows2 ай бұрын
Will this work with water shaders and reflections? I can't seem to find a way to make the environment reflections dynamic since it only has "Skybox" and "Custom" as options under the Lighting window
@iconoclassАй бұрын
Either base the water color solely off of a custom reflection probe (that can change thanks to the script) and/or add on to the script with material parameters for your water material that change its color over time (like I did in my world Serene Seaside).
@DeviousShadowsАй бұрын
@@iconoclass That's interesting, thank you!!
@deblob1234567894 ай бұрын
I love that! Is there a way to bake lights using this prefab?
@iconoclass4 ай бұрын
Bc the directional light in this real time and baked lights are static, no. Other static lights can be baked tho
@deblob1234567894 ай бұрын
@@iconoclass Okay thank you!
@ash_dies_alone1602 жыл бұрын
mine dosen't affect the skybox what do i do ???
@iconoclass2 жыл бұрын
Make sure you have Unity’s procedural skybox. I explained it in a different comment or look it up
@jakelongdraco2 жыл бұрын
@@iconoclass can you explain or show how i try proceudal skybox but still not change the color of the skybox is still in blue night or day i need help please
@leejihwan892 жыл бұрын
Hi, Thank you for your video. It is really good tool to have day and night, and I have followed the video to create a sample scene. However, when I 'Build & Publish for Windows' it flags 3 critical error 1) Export Exception - System.IO.File.NotFoundException : AppData/Local/Temp/DefaultCompany/DayandNight/scene-StandaloneWindows64-New Scene.vrcw' deos not exist. 2) Error Building Player because scripts had complier error, and 3) Asset\DayNightCycleUdon_v2\scripts\shadow toggle.cs(4,7) : error CS0246 : The type or namespace name 'UnityEditorInternal' could not be found. It is really unfortune that I have been facing this error for 3days to fix these issues. It would be really appreicated if there are a solution for that. Thank you
@iconoclass2 жыл бұрын
Open shadowToggle.cs and on one of the top lines where it says "import UnityEditorInternal" delete that line.
@leejihwan892 жыл бұрын
@@iconoclass Thank you for your help. It has been resolved, and I was able to upload the scene into VR Chat! Thank you again
@iconoclass2 жыл бұрын
I released a fix on Github. If you're issue is already fixed then you should be good to go. I would recommend hiding the reflection toggle as it has been mistaken for a performance increase.
@fiddlestyx.2 жыл бұрын
@@iconoclass Hello! I'm for some reason still getting the first error even after attempting to install the updated version?
@Lavalinater90002 жыл бұрын
how many minutes does the day night cycle take to do a full cycle? im trying to make a 10 minute day night cycle. (Sorry for the re-post, i just wanted to double check if in the video it got covered)
@iconoclass2 жыл бұрын
Depends on the cycle speed (which can be changed). A value of 1 would mean that the cycle repeats every 1 second. The default cycle speed is 0.001 (should be 16 minutes and 40 seconds) and the default cycle slider bounds are a min of 0 and a max of 0.1 iirc. Ten minutes should be 0.00167 if I did my math right (1/600 seconds). You can set it to whatever you want in the prefab but negative numbers don't work.
@Lavalinater90002 жыл бұрын
@@iconoclass alright thank you
@christoph6055 Жыл бұрын
@@iconoclass you should really invert that and set the cycle speed in seconds
@Yunocat8 ай бұрын
is it possible to make it real time in somewhere timezone? or just local time per user?
@iconoclass8 ай бұрын
idk
@LleraPR21 Жыл бұрын
Hey bro i tried using your prefab and it pops up this error "Assets/DayNightCycleUdon_v2/scripts/DayNightCycleController_v2.cs(205,41): Udon runtime exception detected! An exception occurred during EXTERN to 'UnityEngineMaterial.__SetColor__SystemString_UnityEngineColor__SystemVoid'.
@iconoclass Жыл бұрын
Did you set a color, and set up the other parts of the prefab correctly? Otherwise idk, ask in the vrc discord
@bluesky58512 жыл бұрын
Hi, thank you so much for this tutorial, May I ask? Is this day and night cycle affects vrchat performance? Especially to quest user?
@iconoclass2 жыл бұрын
Yes it affects performance negatively. Users can change their graphics settings by going to Safety>Performance. The shadow can also be toggled off on PC. I forgot to mention that realtime shadows are not supported on Quest (so use EasyQuestSwitch to hide the toggle rather than disable shadows on the light source; the shadows on the light source will not show up on Quest regardless of what the shadow mode is set to).
@bluesky5851 Жыл бұрын
Thank you so much ❤
@georgiaobrien4267 Жыл бұрын
So for me it doesn't work do you have a tutorial for doing it in creator companion?
@iconoclass Жыл бұрын
check the console for errors
@nieshasbjds29142 жыл бұрын
thanks so much! is there any way you can do a tutorial for putting avatars in a world for other people use?
@iconoclass2 жыл бұрын
Find the avatar pedestal in the VRCSDK example assets. If you have any more questions ask in the VRC Discord.