Opened 18 years ago

Last modified 9 years ago

#46 new task

Skybox

Reported by: Stuart Walpole Owned by:
Priority: Nice to Have Milestone: Backlog
Component: Core engine Keywords:
Cc: myconid Patch:

Description (last modified by Matei)

  • Plug in Matt Green's.
  • Skybox 3 options:
    • Simple RGB color -> Already in game
    • Skybox primary (for the actual sky texture) -> Added by Matei
    • Skybox secondary (for clouds, sun and moon objects, etc..) - not a priority

Change History (7)

comment:1 by Matei, 18 years ago

Description: modified (diff)
Owner: set to Matei

comment:2 by Erik Johansson, 15 years ago

Owner: Matei removed

comment:3 by (none), 14 years ago

Milestone: Environment Demo

Milestone Environment Demo deleted

comment:4 by Andrew, 14 years ago

Milestone: Backlog

comment:5 by historic_bruno, 11 years ago

Cc: myconid added

CC'ing myconid to see if he's got any comments on this task. I seem to recall the skybox is still a WIP. If not, I guess we can close this ticket.

comment:6 by myconid, 11 years ago

We have just the primary skybox at present, which uses plain images from cubemaps that contain all sky elements, like clouds, sun, etc. The images are generally very low quality and not suitable for display. That's okay for the moment, since we only use them for water reflections.

If we decide we want to display the sky in-game and have it integrate with the terrain, then we definitely do need better sky rendering. A second skybox could help slightly, but as you can imagine that wouldn't make a huge improvement visually. 

We could consider rendering onto a skydome, as that could look nicer and be easier to fade with distant terrain on circular maps. Ideally, we'll throw an atmospheric scattering shader into the mix...

Worth looking at what Flightgear does, and maybe we can leverage some of their existing code.

Hmm.. Probably keep the ticket open, or create a new more detailed one. I believe weather effects are reserved for 0ad part deux, and this could overlap with that quite a bit.

comment:7 by historic_bruno, 9 years ago

Skybox implementation is awful right now, so first priority would be to rewrite it with proper texture loading (and maybe implement for GLES too, as a bonus).

Note: See TracTickets for help on using tickets.