Change skybox textures realtime?

I’m working on a catoon style game where I need a day/night cycle…

But I’m using a custom skybox with HDR sky textures that I have made… Like morning sky, day sky and night sky

Is it possible to get my skybox to transition between the skyboxes depending on time of day?

The problem is I want it to transition between them depending on the time of day…

Anyone know how I can achieve this??

Take a look at the engine content sky sphere material.

The exact name is: M_Sky_Panning_Clouds(2) (Not sure if I accidentally duplicated it once or not… so it might be without the two. Yay for “testing” projects that are supposed to be temporary but aren’t in the end!).

It’s setup in a way that allows a dynamic transition between night and day based on a float spanning between -1 and 1 which is mapping to color values on curves that in the end drive the time of day.

Using the engine skybox and my own color curves I got it working with day and night cycle.

Thank you…

,

Can you post a screen cap of your BP? I’m trying to do this too and it might help others who are stuck.

There is no additional BP code needed for this.

The BP in question exists as part of the engine content.

Color curves are an asset type that you can create and replace the default engine curves with your own to create your own style with the preexisting skybox.

Did not make any blueprint changes…

I copied the engine default skybox BP and color curves into my project…

Then open the skybox bp and replace the curves with the ones I copied…

I can now modify sky colors by changing the colors inside the color curves…