#4292: Fog?
-------------------------------------------------+-------------------------
        Reporter:  NoQ                           |      Owner:
            Type:  patch (an actual patch, not   |     Status:  new
  a request for one)                             |  Milestone:  unspecified
        Priority:  normal                        |    Version:  unspecified
       Component:  other                         |
Operating System:  All/Non-Specific              |
-------------------------------------------------+-------------------------
 I don't remember whatever motivation was there for removing it, but it
 seems easy to bring it back.

 The following patch brings back fog, sets its color to values found in the
 old campaign scripts, and exposes fog color to javascript for day-night
 stuff.

 The only problem is, some models get their alpha-transparency broken. The
 only case i noticed is the new pine tree models. If anybody fixes that,
 probably even on the model side(?), maybe it's worth it to re-enable the
 fog?

 If so, please review, as i'm not good with OpenGL stuff (we need something
 like `glClearColor()` to change the whole background color around the map,
 not only gl fog).

--
Ticket URL: <http://developer.wz2100.net/ticket/4292>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project

Reply via email to