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 artist from scratch without looking at a star chart. Why don't they use a night sky texture where the stars are arranged like on the real night sky, so you can make out well-known constellations?

Games which take place in a fantasy or science fiction scenario are obviously excused, but why do games which take place on earth spend so much work on realism, but neglect this one aspect, even though there are plenty of public domain resources which could be used to create a realistic night sky?

+1 and making this a favourite, as even I didn't realize this. I suppose though, what the stars look like on a skymap is probably an after thought when it comes to game development.
–
Vincent PJan 18 '13 at 11:09

1

It's kinda ironic because Fantasy and Science Fiction-Games often have a more thought through star system. Fallout 3, Oblivion and Skyrim for example.
–
API-BeastJan 18 '13 at 11:13

6

When you play a shooter with tense action.Nobody will have a time to admire the stars :) .Making realistic night sky is a waste of time and resources
–
user1075940Jan 18 '13 at 11:19

I'm a programmer at Naughty Dog. The night sky in Uncharted 3 is based on accurate astronomical data, and the brightest stars are based on the brightest objects in the real-world sky. The sky even uses the PS3 clock to position itself correctly based on the location of the game setting. (I think this feature may have been removed from the final game build, though.) Our lead graphics programmer is an astronomy enthusiast, and he invested a good deal of time making the sky as authentic as possible.
–
ThisIsTheDaveJan 24 '13 at 8:12

7 Answers
7

All the current answers are very good, but I want to propose a different point of view.

Even though I would say the vast majority of games don't get their stars right is out of straight laziness and/or ignorance. The same goes for firearm sounds, physics (ever played a racing game? any racing game?), history (for historical games) and many other fields.

However, if I were directing a game, I may not aim for realism in certain elements such as the star field, and I would do so intentionally, on aspects that are not crucial to gameplay.

The reason behind this is that the more you aim for realism, the larger the player expectations will be on that realism. And while player expectations have no limit, budget and time do.

So suppose I got a star chart for my game, and I use that as my skybox. Players who notice that, will then criticize that the stars are 3 degrees off, or that based on the vegetation you see in the game, you can estimate the latitude where the game is taking place, and that the star field doesn't correspond to such a latitude.

So even if I fix that, more players would then criticize that you can't see the ISS, or that some star has an apparent magnitude of 4.5, but in the game it looks like 4.8.

Rinse and repeat.

The point here is that, the more you aim for realism, the bigger your players' expectations will be. If your game requires realism in some aspect, then by all means dedicate your time and money to maximizing this realism. For all the rest, I would probably intentionally make it unrealistic, so I can keep my focus and that of my players in the parts of the game that actually matter.

Your question is based on the false assumption that most games are realistic. This is not the case, even if games take place in a familiar setting. Consider, for example, health regeneration in modern shooters.

Game developers that "spend so much work on realism" and aim for realism as a selling point are actually quite rare and are usually found in niche genres like aircraft or military sims.

An example is the Arma series games, based on VBS, which does have realistic star constellations (and basically everything else):

VBS2 is highly accurate in its rendering of seasonal patterns. Thus
daylight hours, the sun's path across the sky, star constellations and
moon phases are all simulated correctly given the current terrain's
world location. Tides are also accurately simulated, and can be
somewhat hard to predict as different seasons and moon phases create
vastly differing high/low water marks.

In short: most games are not accurate simulations of real-life. And if a feature costs money (and they all do) and does not add value (except to a handful of star gazers/gun nuts/medical professionals) it won't make the cut. This is why you won't see a lot of realistic nightskies/weapon reloading/gunshot wound treatment in games.

This is a good answer. For most games, it's about play. They're as concerned about an "accurate" night sky as they are about an "accurate" earth land-scape ("accurate" continents/"accurate" hills and valleys)
–
boboboboJan 18 '13 at 15:06

I'd put it shortly like this: Because nobody implemented it. Making realistic sky is more expensive than making one up, and most of the time nobody notices. So the management has no reason to allocate funds to such an endeavor. (And indies, well, don't have funds. :)
–
verFeb 12 '13 at 7:35

I'd just say memory restrictions: It's far easier to use a relatively small texture (either due to hardware restrictions or for performance reasons) and just repeat it over and over again instead of mapping the whole sky "as is" as long as it's no core gameplay element (and just decoration). This has been even more noticeable in old games, e.g. on consoles from the 80's or 90's where you usually had a very simple pattern (if any at all; i.e. 1-2 stars per tile only).

From time to time devs still tend to include some well known constellations just for people to notice them.

Two examples coming to my mind, first one being Illusion of Gaia (known as Illusion of Time in Europe), where the Cygnus constellation played a major role in the plot (the red "star" is meant to be a new star that appeared heralding things to come):

Another example would be Mega Man 2. There's one stage featuring stars in the background. They've added a very easily noticeable Ursa Major right before the end of the Crash Man stage:

There's also Eve Online, which - although having it's own constellations, as it's taking place "in another galaxy", takes care to render them in proper locations depending on the solar system you visit.
–
skolimaJan 18 '13 at 15:50

1

Yes and no, there's a limited set of fixed star backgrounds based on the region you're in. On top of that layer they add adjacent solar systems (you can reach with local stargates) as additional stars.
–
MarioJan 18 '13 at 16:19

Reason number one: Laziness. It's much easier to just hit random noise on a texture and be done with it.

Reason number two: Artistic direction. Have you noticed how ludicrous the moon is on the night sky in the games that have it?

Reason number three: resources. Once you start to strive for realism in the night sky, you want a very, very high-resolution texture to pull it off. Having a lower-resolution texture, or using tiling tricks to get a higher resolution, makes it harder for the "realistic night sky" to look good while looking "right".

Actually, a better name for reason one is "budget" :)
–
LiosanJan 18 '13 at 13:31

2

I don't buy #2. Do art directors spoil realistic night skies with their big moons? And as for #3: there are games that do it pretty well.
–
EricJan 18 '13 at 13:39

1

Not that much big of a resource cost, especially in modern 3d games. A notable exception is Operation Flashpoint, from 2001, where the star map was correct, even regarding the hour of the night, and one mission actually required navigating using the stars, as your compass was lost.
–
vszJan 18 '13 at 18:07

The simple answer is that to do a realistic night sky including constellations, you either need to use a lot of texture resolution, or a lot of geometry. Or both.

Most modern games want to spend their texture budget and rendering draw calls on things which impact directly on the play experience, which they know that every player is going to be focusing on for most of the time. Which means that the only games which typically spend a lot of time representing stars and constellations accurately are detailed space sims, where they can be important for navigation. (I expect that you'd see them in sailing sims, too, for the same reason)

+1; there are a LOT of stars in the sky and how many are visible depends on local viewing conditions, so it's quite a complex simulation for something that would fall into "nice to have".
–
Darth MelkorJan 18 '13 at 15:09

You are talking about a different kind of realism here. When referring to games, "realism" usually means that when an object appears it looks like it's actually there. (Or given it's on a flat screen, perhaps a photograph is a better analogy?) The effect is usually obtained via high resolution textures and so on.

The realism you are referring to, however, is that an object exactly represents the corresponding real-world object. So if you have a brick wall with some mold on, by your definition it must only appear in exactly the way mold grows in real life. Or if the game is set in New York, every shop must be exactly what is in the real city, and every trash can and subway entrance must be in exactly the correct place.

As I'm sure you can understand, it's incredibly difficult to make every single detail like this accurate. Games just take a "good enough" approach. How many users are ever going to know that the stars are not correct? However, the sky is realistic by the usual definition, in the sense it looks like real stars and are not pink blobs in the sky.

One good reason is that most gamers don't go outdoors much. To check that the star display in a game is indeed authentic, they will probably Google it, ironically. So this is a waste of effort. It's also pointless in any game which portrays an imaginary world, only making sense in games or simulations which have real settings.

The focus in modern game graphics is realism, rather than authenticity, because realism is what enhances the sense of immersion into the game's world, whereas authenticity is more of an intellectual aspect.

"most gamers don't go outdoors much" That's a sweeping generalization that has no basis in reality. -1 Answers should be based on fact and reality, not woefully inaccurate stereotypes.
–
Byte56♦Jan 18 '13 at 22:04

1

The statement that gamers don't go outdoors much is not even a valid point to the question aswell.
–
DaveJan 18 '13 at 23:25

3

There are a lot of places where I expect such stereotypes being thrown around. But on gamedev SE? I'm disappointed.
–
ChristianJan 19 '13 at 3:04

So you go outdoors much and have a good grasp of the night sky, being able to navigate and predict sunrise from just looking at the patterns?
–
phresnelAug 7 '14 at 15:37