Is it possible to use a trigger to change a skybox?

Hello,

I made a couple of skyboxes and I can’t find anything on changing them with a trigger. I intend to have you going down a tunnel and when you come out of the other end, the skybox will have changed.

Or at least a trigger that changes the image if the whole thing can’t be changed.

I’m using blueprints if that makes a difference.

Is your skybox just a material on a sphere?

I think so. I tried copying what the default one is. I made a blueprint class and chose BP_Sky_Sphere. And that’s where I put my material on, the texture for the material is made sky box in texture group.

If I look at the sky box to the right when clicking on World Outliner, it’s details tell me that it is a SkySphereMesh and it does indeed have a static mesh that’s a sphere and it’s material is the one I gave it.

I don’t have v4 any more, but the principle is the same in 5 ( and I’m doing it with a HDR skybox, but it doesn’t matter ).

You just plonk a trigger volume in the level and set the material change to happen when you overlap with it

sky

2 Likes

That worked thanks!

2 Likes