Questions tagged [skybox]

A method of creating backgrounds to make a level look bigger than it really is. Typically a set of sky textures are mapped to a cube that doesn't move when the player moves around the level.

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

Skybox not texturing

I have looked for a solution for a little while now however I'm not sure if other people have encountered my same problem. I am trying to draw a skybox in a blank opengl window, I have camera controls ...
Ben Duguid's user avatar
0 votes
2 answers
61 views

Skybox looks distorted when camera nears sides of the cube

I created a cubemap for skybox, but there were problems with displaying UV for it. when I appear in the world, everything looks fine as it should, BUT when I approach one of the sides of the cube, its ...
Roolld's user avatar
  • 1
0 votes
0 answers
125 views

How to convert Unreal skyboxes to Unity skyboxes?

I have purchased some Unreal skyboxes in the past. Now, I want to use these Unreal skyboxes in Unity to develop mobile apps. Is there an easy way to convert Unreal skyboxes to Unity skyboxes ? I am ...
Job_September_2020's user avatar
0 votes
1 answer
76 views

How can I change the default dawn and dusk times in Unity?

I'm working on a game in which the season is particularly important to the player, along with sunlight. It progresses from early spring to late fall. I have a very basic day/night cycle system working,...
Michael Macha's user avatar
0 votes
0 answers
978 views

Set Fog Color to match dynamic skybox in URP

I have a dynamically changing procedural skybox. That's a procedural skybox with dynamic day and night cycle. The main directional light keeps rotating over time by a script, to achieve the day/night ...
TheUnknown's user avatar
0 votes
2 answers
267 views

How would I go about preparing my skybox for a z-up world orientation?

**Solved!** Special thanks to comments from Maximus Minimus and Jherico. Scroll down for the solution made in the shader. I am working on a vulkan renderer in rust using the ash crate. I would like to ...
Joseph Vargas's user avatar
1 vote
1 answer
840 views

HLSL Converting View Direction into Equiangular UVs

In Unity, I am attempting to create a custom skybox that use a single render texture to create a flat unmoving skybox (the render texture source will do it's own movement) and reflect off objects as ...
Benjamin Danger Johnson's user avatar
0 votes
0 answers
1k views

Skybox from file at runtime in Unity: Error assigning 2D texture to CUBE texture property '_Tex': Dimensions must match

I'm downloading skyboxes at runtime, and then I'd like to set them as the current scene's Skybox. After I successfully downloaded the desired cubemap into the ApplicationData folder, I'm trying to set ...
Tudvari's user avatar
  • 721
1 vote
0 answers
108 views

How to make Unity ground mix up with sky

I'm building up a scene with Unity, I want the plane to extend far enough and mixed up with sky like the picture showing bellow The only way I can think off in unity is by creating two plane with 90 ...
Dew's user avatar
  • 137
0 votes
0 answers
119 views

Repeat/Scroll texture on CubeMap

I need a method to scroll an image across all sides of a cube map in a way similar to scrolling a UV texture across a water's texture to give the appearance of movement by shifting the normals. I want ...
TheGamerPlayz's user avatar
0 votes
1 answer
140 views

Stride: Can't see shadows in programmatically created scene

As a learning exercise I'm trying to recreate the 'new game' scene with the sphere on a plane. Mostly working but two issues: Shadows are not working. Skybox light (reflected on the sphere) is not ...
Paul Whiting's user avatar
1 vote
1 answer
735 views

Unity 2019.3 HDRI SkyBox

I am trying to create an HDRI SkyBox out of 6 textures but after I create the cubemap with Assets → Legacy → Cubemap and drag it in the HDRI Sky I get an all white environment. Is this a problem with ...
mavish's user avatar
  • 151
1 vote
1 answer
1k views

How do I safely change properties on my skybox?

Usually in Unity, when your scripts make changes to something at runtime, those changes are not persisted back to design-time. This is generally considered a good thing. But for whatever bizarre ...
Mason Wheeler's user avatar
1 vote
1 answer
2k views

How to sample from six cubemap images for a skybox in Shader Graph?

I'm trying to update a skybox shader to URP and reimplement it in Shader Graph. The shader code itself is pretty straightforward, but I don't know enough about Shader Graph yet to set up the basic ...
Mason Wheeler's user avatar
0 votes
0 answers
1k views

How to rotate a skybox cubemap using Unity Shadergraph

@Seyed Morteza Kamali solved his own problem of rotating a mesh cubemap with shadergraph here: How can I rotate cubemap in shadergraph? However, I have a starry night cubemap inside my Skybox shader ...
Laiton Kuu's user avatar
2 votes
2 answers
328 views

Multiple cameras using a single skybox with same perspective

I am using the enviro package for weather and to have a moving sun in the background. I'm building an installation with 3 screens and I want to have the sun track across the screens. However what I ...
Tom's user avatar
  • 190
0 votes
1 answer
604 views

How to fix 'procedural skybox' visible horizon line on 'screen space camera' canvas?

I can see the horizon line through my screen space camera canvas. Here are the steps to reproduce it for 2019.3.0f3: create a new scene create a new material for the Skybox set shader to Skybox/...
aybe's user avatar
  • 773
1 vote
0 answers
110 views

how to make a seemingly endless backdrop in Unity

Potential solution at the bottom. I have a rocket which flies straight up, as it gets higher you can see the edge of the terrain. I want the rocket to eventually leave the atmosphere and then the ...
Lonchenzo's user avatar
0 votes
1 answer
504 views

Unity - adding camera constraint to prevent the player from seeing beyond the scene

Like the title says, I'm after some kind of constraint for the camera to prevent the player from seeing beyond the scene and seeing the Skybox. I came across the code to add a ...
DustyShinigami's user avatar
0 votes
0 answers
776 views

DirectX 11 - Skybox Texture messed up

I'm attempting to create a skybox and I'm currently having some issues with the texture where it looks like this: It seems the textures are not really "sticking to their sides" correctly as it looks ...
codelyoko373's user avatar
0 votes
1 answer
225 views

How Frustum Culling and Sky Box Working Together ? The skybox appears where it should not appear

When i did frustum culling, far parts of land not rendering. It is good like i want. But after I see sky box instead of these parts. My question is, is this normal ? Or what i need to see or what i ...
Emre Kaya's user avatar
  • 535
1 vote
0 answers
1k views

Realistic intensity of a sun in Unity to match the outside world

I am creating an ARCore application in Unity where I want to make lighting shadows that match the real lighting outside. For this, I have made a rotational directional light that simulations the ...
Daniel's user avatar
  • 559
1 vote
0 answers
64 views

How to make backgrounds for 3D games? [closed]

I've started to study game design and I couldn't really find an answer for this one. Let's imagine a small level with a nice (non passable) background in the distance. The background has mountains, ...
Raoul L'artiste's user avatar
4 votes
1 answer
900 views

How to create a skybox in an infinite world like minecraft?

I'm making a minecraft-clone game in C++ using OpenGL. I created a skybox using OpenGL's cube map but the camera can go outside of the skybox since it's an infinite world. Then I changed it to update ...
shun-sato93's user avatar
0 votes
2 answers
224 views

Default skybox missing in new scene

Now on my existing project, if I create a new scene, my game view looks like this: The game view has a solid colour background, instead of a 3D-looking skybox. I'm expecting something like below (my ...
questionasker's user avatar
0 votes
0 answers
73 views

SuperBible Skybox

I'm reading the SuperBible book which describe and interesting way of rendering a skybox. The Idea is to render only a plane, instead of a cube, and only change the texture coordinates depending on ...
FloFu's user avatar
  • 372
0 votes
1 answer
1k views

DDS load texture and cubemaps

I'm trying to render a skybox with a cubemap on it and to do so I'm using DDS Texture Loader from DirectXTex library. I use texassemble to generate the cubemap (texture array of 6 textures) into a DDS ...
Luca's user avatar
  • 143
2 votes
1 answer
3k views

Unity procedural skybox shader texture stretching

I am using the procedural skybox shader that Unity provides, but have tweaked it so that I can have a cloud texture. The problem I have, is that the texture is not tiling correctly, even though it is ...
JacketPotatoeFan's user avatar
4 votes
2 answers
1k views

In VR Games, i frequently notice that skyboxes look too close. Would this be a method for making them appear more distant, especially for space games?

I was playing Star Trek Bridge Crew, and noticed that the starfield looks oddly close. The same goes for the sky in other games. I realized that this is because when rendering the skybox in a game, VR ...
NazzerDawk's user avatar
1 vote
1 answer
343 views

Render 2D texture on the cube texture at given location

I would like to simulate a moving sun on the sky. What I have managed to do so far is calculating the exact location of the sun, that is the 3D direction vector from the camera's position in the world ...
Artulec88's user avatar
0 votes
1 answer
496 views

Black Area in skybox in opengl [duplicate]

Hi I am using opengl and I am having a problem if I go further from the skybox with the camera I get black areas, a smaller radius of the skybox will make the camera too close to the object to stay ...
Omar Hossam Ahmed's user avatar
1 vote
1 answer
212 views

Panorama from cube map without geometry

Is it possible to achieve effect equivalent to looking on the cube textured from cube map from its center, but without creation of its faces (6 quads or 12 triangles)? Say, one needed a skybox, but ...
Tomilov Anatoliy's user avatar
0 votes
2 answers
2k views

How to remove skybox in unity using C#

How to change or remove Skybox on run time in unity using C#? Is there any way to remove it while its not even required? Or load it using http link for material we are using in Skybox.
Maaz Irfan's user avatar
1 vote
0 answers
728 views

Blending between 2 cube maps using the procedural skybox shader

I want to create a day night cycle using the procedural skybox shader. The shader doesn't have options to do any blending between cube maps. I want to be able to set a cloud cube map and a night ...
JacketPotatoeFan's user avatar
1 vote
2 answers
2k views

How do I create a view matrix that does not contain the camera translation?

I'm looking at this tutorial https://capnramses.github.io/opengl/cubemaps.html about half way down the webpage, there is a description of a vertex shader ...
Nebulous Ryan's user avatar
2 votes
1 answer
790 views

OpenGL Cubemap skybox edge issue

I implemented a skybox into my program using a tutorial, and using the provided 6 textures from that tutorial to make a cube map texture, my skybox looked fine. However, ever since then every other ...
Rilgon's user avatar
  • 43
1 vote
0 answers
706 views

Video play in unity3d skybox

I want to play 360 video in skybox. Is there any direct way avaiable to do this task. One long, boring, inefficient procedure which seems that Convert 360 to frames Convert frames into cubmap Use ...
Muhammad Faizan Khan's user avatar
0 votes
1 answer
265 views

How do I center a sky sphere on the camera?

I'm trying to render a sky using D3D 11. What I have seen in tutorials so far uses cube mapping, which I don't want to use. I want to create a sphere, texture it, and center that sphere on the camera, ...
ahmed andre's user avatar
2 votes
1 answer
533 views

Combining skydome and fog

I am developing a 3D game in DarkBASIC Professional, and I have a theoretical problem with the combination of skydomes and fog in general. My question is not specific to a programming language, so I ...
Daniel Marschall's user avatar
0 votes
1 answer
39 views

Advice on how to approach building background glow for 3d galaxy?

I've got a proceduraly generated 3d galaxy galaxy, very large. Milky Way scale. It is broken up into sectors, where I can relatively quickly get the star density and average star color of any given ...
user avatar
1 vote
1 answer
537 views

Texture being stretched when using D3DTADDRESS_CLAMP

I'm trying to create a skybox using a cube and using one of this textures: http://forum.unity3d.com/threads/mundus-skybox-pack-01-released.202748/ I've got it working well, but I noticed there are ...
eric.m's user avatar
  • 123
1 vote
0 answers
191 views

Trouble creating fog and lighting in unity [closed]

I am trying to create a model in unity that looks like this picture by Escher I can create the lattice, however, I can not create the fog and background/lighting effect. When I adjust the fog in ...
user3517501's user avatar
6 votes
2 answers
9k views

How do I convert a panorama image into a skybox?

I have two panoramas (1, 2) that are the same but are shaped a little different. I don't care which one, but how should I go about converting them into a Skybox? I was looking for something like ...
Rontron's user avatar
  • 163
1 vote
0 answers
665 views

Is it possible to generate a Spheremap from a Texture2D in Unity at run-time?

I was trying to create a spheremap from a Texture2D for a skybox at run-time (Standalone build) in Unity. Does anyone know if this is possible and how to do that in Unity? In the editor you can set ...
Ben BearFish's user avatar
0 votes
1 answer
898 views

Rotate about a skybox

I'm a beginner with OpenGl so please discount my ignorance. I've managed to create a skybox (with a texture mapped cube) and would like to rotate the view (eye) around the center of the box, so I can ...
Sredni's user avatar
  • 163
2 votes
1 answer
793 views

How can I prevent seams when attempting to create a skybox for Unity5?

After following the documentation for how to create a skybox, seams are appearing around all sides of my 6 textures (sorry for faintness of image): There are no active lights in my scene. What am I ...
Mir's user avatar
  • 322
1 vote
2 answers
2k views

Problems with rendering a SkyBox

At the moment I'm writing an Android OpenGL ES 2.0 game but now I get stuck on rendering a SkyBox. Here is my (a bit simplified) code for the SkyBox: ...
Cilenco's user avatar
  • 113
1 vote
2 answers
3k views

How do I create the visual effect of transitioning between night and day?

I am making an open-world project in Unity 4.5.5 and I want to create a visual effect of transitioning from day to night? The Legend of Zelda: Wind Waker HD has a great example of such a transition. ...
kprovost7314's user avatar
1 vote
1 answer
3k views

How to animate clouds [closed]

I am creating an open-world in Unity 4.5.5 and I do not know how to make the clouds move. This video of The Legend of Zelda: Wind Waker HD is a perfect example of the clouds moving in the sky. How can ...
kprovost7314's user avatar
5 votes
2 answers
2k views

Skybox rendering

I am sorry if this is trivial, but I got into OpenGL just very very recently. I am trying to render skybox (with cubemaps) and this is what I have done: Created a VBO with vertices positions (36 of ...
gufranc's user avatar
  • 123