Day Night Cycle Prefab and Realtime GI Tutorial

  Рет қаралды 8,116

Iconoclass

Iconoclass

Күн бұрын

Пікірлер: 31
@bhoffman1967
@bhoffman1967 2 ай бұрын
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.
@DeviousShadows
@DeviousShadows 2 ай бұрын
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
@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
@DeviousShadows Ай бұрын
@@iconoclass That's interesting, thank you!!
@deblob123456789
@deblob123456789 4 ай бұрын
I love that! Is there a way to bake lights using this prefab?
@iconoclass
@iconoclass 4 ай бұрын
Bc the directional light in this real time and baked lights are static, no. Other static lights can be baked tho
@deblob123456789
@deblob123456789 4 ай бұрын
@@iconoclass Okay thank you!
@ash_dies_alone160
@ash_dies_alone160 2 жыл бұрын
mine dosen't affect the skybox what do i do ???
@iconoclass
@iconoclass 2 жыл бұрын
Make sure you have Unity’s procedural skybox. I explained it in a different comment or look it up
@jakelongdraco
@jakelongdraco 2 жыл бұрын
@@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
@leejihwan89
@leejihwan89 2 жыл бұрын
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
@iconoclass
@iconoclass 2 жыл бұрын
Open shadowToggle.cs and on one of the top lines where it says "import UnityEditorInternal" delete that line.
@leejihwan89
@leejihwan89 2 жыл бұрын
@@iconoclass Thank you for your help. It has been resolved, and I was able to upload the scene into VR Chat! Thank you again
@iconoclass
@iconoclass 2 жыл бұрын
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.
@fiddlestyx. 2 жыл бұрын
@@iconoclass Hello! I'm for some reason still getting the first error even after attempting to install the updated version?
@Lavalinater9000
@Lavalinater9000 2 жыл бұрын
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)
@iconoclass
@iconoclass 2 жыл бұрын
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.
@Lavalinater9000
@Lavalinater9000 2 жыл бұрын
@@iconoclass alright thank you
@christoph6055
@christoph6055 Жыл бұрын
@@iconoclass you should really invert that and set the cycle speed in seconds
@Yunocat
@Yunocat 8 ай бұрын
is it possible to make it real time in somewhere timezone? or just local time per user?
@iconoclass
@iconoclass 8 ай бұрын
idk
@LleraPR21
@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
@iconoclass Жыл бұрын
Did you set a color, and set up the other parts of the prefab correctly? Otherwise idk, ask in the vrc discord
@bluesky5851
@bluesky5851 2 жыл бұрын
Hi, thank you so much for this tutorial, May I ask? Is this day and night cycle affects vrchat performance? Especially to quest user?
@iconoclass
@iconoclass 2 жыл бұрын
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
@bluesky5851 Жыл бұрын
Thank you so much ❤
@georgiaobrien4267
@georgiaobrien4267 Жыл бұрын
So for me it doesn't work do you have a tutorial for doing it in creator companion?
@iconoclass
@iconoclass Жыл бұрын
check the console for errors
@nieshasbjds2914
@nieshasbjds2914 2 жыл бұрын
thanks so much! is there any way you can do a tutorial for putting avatars in a world for other people use?
@iconoclass
@iconoclass 2 жыл бұрын
Find the avatar pedestal in the VRCSDK example assets. If you have any more questions ask in the VRC Discord.
@Bunguz
@Bunguz 2 жыл бұрын
Like comment and subscribe!!!!!!!!
1) Setup - Create Your First VRChat World
8:55
Iconoclass
Рет қаралды 175 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 99 МЛН
Day and Night Cycle - Quick Setup
8:16
immersive insiders
Рет қаралды 9 М.
Making an atomic trampoline
58:01
NileRed
Рет қаралды 6 МЛН
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,5 МЛН
3 Hours vs. 3 Years of Blender
17:44
Isto Inc.
Рет қаралды 4,8 МЛН
Mastering Sub-D and Low Poly 3D Modeling
9:48
On Mars 3D
Рет қаралды 82 М.
10) Uploading to PC & Quest - Create Your First VRChat World
10:05
5) External Assets and Prefabs - Create Your First VRChat World
19:33
How to Teleport a Player - Udon / VRChat SDK3.0
4:02
PlayerBush001
Рет қаралды 33 М.
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 99 МЛН