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.
69 questions
0
votes
0
answers
49
views
How to rotate the "top" sky texture with Directx9?
I'm working on designing and animating the sky with a cubemap. The surfaces except for the "TOP" move in a way that follows each other. However, I could never figure out how to adapt the &...
0
votes
0
answers
40
views
I want to change the tint of my panoramic skybox for daylight cycle
So i am trying to create a daylight cycle, where it switches between two panoramic images. The change happens slowly one over 2 minutes and the other over 3. During this the fog and light changes ...
0
votes
0
answers
124
views
Even after changing Default Behaviour Mode to 3D, my scene still remains in 2D. Why?
I had created a new scene, which didn't have sky and directional light.
To solve this, I created a new skybox, then added to the maincamera. But there was no difference to scene & game view.
...
0
votes
1
answer
392
views
Unity scene doesn't have skybox and lightsource
I am a beginner in Unity and 1st time asking in this platform. I am working as a team and I got invited to this project via Github. (if this matters at all)
I want to work in 3D environment and I ...
0
votes
1
answer
119
views
Skybox doesn't get displayed on mobile Chrome in Unity WebGl
In my webgl build skybox is completely purple on mobile Chrome browser but works fine on PC and mobile firefox. Is there any fix for this?
Edit:
This is my skybox material and I didn't do anything ...
0
votes
1
answer
170
views
How to get the direction to the sky a pixel is facing to draw a sky?
I am drawing an empty texture over a framebuffer with a fragment shader active to try and draw a sky, but I need the direction each pixel is facing in (for correct linear perspective) to draw the ...
0
votes
1
answer
149
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 ...
0
votes
2
answers
233
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 ...
0
votes
0
answers
197
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 ...
0
votes
1
answer
169
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,...
0
votes
0
answers
1k
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 ...
0
votes
2
answers
483
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 ...
1
vote
1
answer
1k
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 ...
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 ...
1
vote
0
answers
169
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 ...
0
votes
0
answers
178
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 ...
0
votes
1
answer
184
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 ...
1
vote
1
answer
839
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 ...
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 ...
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 ...
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 ...
2
votes
2
answers
432
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 ...
0
votes
1
answer
769
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/...
1
vote
0
answers
157
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 ...
0
votes
1
answer
635
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 ...
0
votes
0
answers
964
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 ...
1
vote
1
answer
334
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 ...
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 ...
1
vote
0
answers
122
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, ...
4
votes
1
answer
1k
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 ...
0
votes
2
answers
548
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 ...
0
votes
0
answers
84
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 ...
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 ...
2
votes
1
answer
4k
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 ...
4
votes
2
answers
2k
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 ...
1
vote
1
answer
450
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 ...
0
votes
1
answer
627
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 ...
1
vote
1
answer
317
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 ...
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.
1
vote
0
answers
789
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 ...
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
...
2
votes
1
answer
857
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 ...
1
vote
0
answers
731
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 ...
0
votes
1
answer
300
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, ...
2
votes
1
answer
614
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 ...
0
votes
1
answer
49
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 ...
1
vote
1
answer
592
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 ...
1
vote
0
answers
203
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 ...
6
votes
2
answers
11k
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 ...
1
vote
0
answers
706
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 ...