Questions tagged [sky]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
172 views

How to make a sky with gradient color in OpenGL?

I'm making a game with OpenGL and would like to add dynamic sky colors with gradients. However, I don't know how to achieve this. Here's an example (in Minecraft) of what I would like to have: In ...
Vincent's user avatar
  • 63
1 vote
1 answer
339 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
2 votes
1 answer
523 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
3 votes
0 answers
372 views

Atmospheric scattering and fog

I've implemented a dynamic sky model (Preetham). I've got Rayleigh and Mie scattering working fine, but I'm not sure how to get the foggy effects in this Unity article Here is what I have so far: ...
dotminic's user avatar
  • 1,627
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
3 votes
1 answer
515 views

Skydome and Ambient Intensity (Unity)

I've made a custom skydome in my game. For all my lights I have set them to not affect the skydome. The only thing affecting the skydome is the ambient light. For my game I have ambient intensity at ...
Unresolved External'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
4 votes
1 answer
712 views

Using sky for indirect lighting - should I remove the sun?

I'm attempting to achieve slightly more realistic ambient lighting in outdoor scenes using the sky cubemap. When rendering an object, I first calculate the direct lighting contribution using ...
a5681419's user avatar
1 vote
1 answer
486 views

how to calculate sky color hue in a specific way?

I have a day cicle in my game. I want to add a bluish hue to my terrain in the early morning and evening-night. I want to start transitioning from 0 hue color to the full hue color at 20 PM and reach ...
user avatar
5 votes
3 answers
1k views

How to skip the sky in lighting shaders?

I recently implemented a sky in my deferred rendered game. It is a procedurally calculated sphere with a texture applied to it. Unfortunately all lighting shaders (light sources, ambient occlusion) ...
danijar's user avatar
  • 5,661
17 votes
2 answers
2k views

Why is my sky color calculation in Mathematica incorrect?

I'm trying to implement an algorithm to calculate sky color based on this paper (Perez' model). Before I start programming the shader I wanted to test the concept in Mathematica. There are already ...
Nico Schertler's user avatar
18 votes
2 answers
12k views

What are the differences between a skybox and a skydome?

What are the differences/pros/cons between a skybox and a skydome?
Friso's user avatar
  • 419
52 votes
7 answers
5k views

Why no night sky with realistic star constellations?

As an amateur stargazer I noticed that many games which have night scenarios use textures for the night sky where the stars seem to be arranged entirely randomly. It seems like they were created by an ...
Philipp's user avatar
  • 118k
4 votes
1 answer
5k views

How does Minecraft render its sunset and sky?

In Minecraft, the sunset looks really beautiful and I've always wanted to know how they do it. Do they use several skyboxes rendered over eachother? That is, one for the sky (which can turn dark and ...
Nick's user avatar
  • 1,595
8 votes
3 answers
818 views

How do I create a horizon?

I added a sky to my raytracer that gets sampled when a ray completely misses any object. What I'm doing here is if a ray completely misses anything in the scene, it returns the Perlin noise function ...
bobobobo's user avatar
  • 16.9k
2 votes
1 answer
2k views

using blender to generate a 3D skybox

Is it possible for me to use Blender to generate a 3D skybox? The concept is fairly simple: I create a scene that I want to display on the skybox (mountains, clouds, water, etc). Then, couldn't ...
CodeBunny's user avatar
  • 205
10 votes
1 answer
6k views

How can I create a "night sky" effect in OpenGL?

I am creating a game using OpenGL and I want to render the effect of a night sky with a few stars in it. I want to have a shiny black effect in the sky so that it looks good. Could some one help in ...
noddy's user avatar
  • 647
3 votes
1 answer
974 views

How can I achieve the realtime clouds/sky effect of Lumion?

Does anyone know how they do this? They're not truly volumetric - you can't fly through them - it's still a texture. http://vimeo.com/16534222 It looks like it's a perlin based solution, but I ...
George R's user avatar
  • 261
4 votes
3 answers
4k views

Skybox textures for our solar system

For a solar system simulation project I'm looking for a good (semi-accurate) set of textures to texture the skybox. I've already found these http://paulbourke.net/miscellaneous/starfield/ and we ...
Roy T.'s user avatar
  • 10.2k
12 votes
5 answers
8k views

Skybox texture artifact on edge

I have strange problem with drawing skybox texture on Mac. On iPhone everything is going fine. I have tried to change near and far planes value with no success. It is a skybox of six textures, and ...
martin pilch's user avatar
3 votes
1 answer
846 views

Rendering skybox in first person shooter

I am trying to get a skybox rendered correctly in my first person shooter game. I have the skybox cube rendering using GL_TEXTURE_CUBE_MAP. I author the cube with extents of -1 and 1 along X,Y and Z. ...
brainydexter's user avatar
4 votes
2 answers
2k views

C# XNA - Sky Sphere Question

I have been banging my head against the wall trying to get a sky sphere to work appropriately in XNA 4.0. I have the sphere loading correctly, and even textured, but i would like something a little ...
Wade's user avatar
  • 173
3 votes
3 answers
661 views

Skybox Development Help

I'm a freelance game designer, and I can't afford to hire someone to do skyboxes for me. However, I am unable to do them my self. Let's say I have a texture that can be tiled on four sides... If I ...
Georges Oates Larsen's user avatar
13 votes
3 answers
2k views

How can I create my own sky maps? [closed]

What are the methods/tools for generating realistic skies with clouds and atmospheric shading? FOSS alternatives and spherical projections get extra points.
muhuk's user avatar
  • 300