Hello Developers. Aymoc here.
I’m a builder of an upcoming streets game and I need help with a very simple task but not for me apparently.
So here I am without the coders of the game alone building the city.
Ignore the quality of the window but it’s just a placeholder for now. I just want to learn for my future games.
So I’ve come up with something. I want to make the window change color and material every time It switches between day and night, or the other way.
Right now I’m using realism mod.
Link to the plugin.
Realism Mod
The day is 8 minutes and the night is 6 minutes.
Night color and material:
RGB/Hex: 248, 217, 109
Material: Neon
Transparency: 0
Reflectance: 0
Day color and material:
RGB/Hex: 63, 94, 89
Material: Glass
Transparency: 0
Reflectance: 0.2
If anyone is up please explain and help me with the code in the comments.
Looking forward to getting responses.