Any idea how to setup an skybox as object material?

Hello there ;), ok as the title say, what I’m trying to do is asign an skybox (either 6 sided or procedural) to an object, this is to simulate the skybox through a window, I can’t just open a hole in the mesh to allow player to see normal skybox because there will be objects in the middle. I’m making a game like wolfenstein 3d, as you may know, map shape have not much logic, and it will be nearly impossible just to add windows that allow watching skybox directly because another room will be in the middle, so it’s a fake sky simulation.

Render to texture is not a solution since it will look very unnatural when getting near, I want it to retain the parallax effect when looking by each side.

Thanks!

1 Like

Nevermind, was extremely simple at the end, I found an old thread explining it, in case someone needs it :wink: Shader that only renders the scene's skybox - Questions & Answers - Unity Discussions

3 Likes