Hi guys
I want to implement day/night into my game.
When night:
My blueprint for day/night
So i have no idea what is wrong. I tried to find out on net what is wrong but I cant find nothing
Can you help me guys?
Hi guys
I want to implement day/night into my game.
When night:
My blueprint for day/night
So i have no idea what is wrong. I tried to find out on net what is wrong but I cant find nothing
Can you help me guys?
Hi LadIQe,
From just a quick glance things look correct.
To troubleshoot you can place a print string at the end of each event for the “BecomesDay” and “BecomesNight” custom events. That way when the transition to night is happening you can make sure it’s firing. if it is, you can then try promoting the becomes night set intensity to a variable. You can then print string on that and it should tell the new intensity value that is set.
All this should be visible in the output log window if you open that as well.
I’ve got this same project as a complete download on this post if you need to compare: [TUTORIALS] Photons Be Free: Mini-tutorials and other curiosities - Community & Industry Discussion - Epic Developer Community Forums
I’ve also added some updates to it to include a skylight for faked global illumination and adjusted the transition from night to day to have a smooth transition rather than looking like someone just turned off a light switch.
I too started from Gregdumb’s Day/Night tutorial on the Wiki for this project so it shouldn’t look too dissimilar.
Let me know what you find.
ehm Im not sure if understand but I have variables for intensity for “sun”, because when my sun was under map, its shine trough it so when my sun is under horizont my program set intensity to 0, so one problem is solved
but sky is still same, I was doing it with this tutorial
https://wiki.unrealengine.com/Tutorial:_Time_of_Day
this guy get dark sky when night, but in my project nothing happen