how to disable fog of war on gas giants?

Discussion in 'Mod Discussions' started by skypheonix20, October 5, 2014.

  1. skypheonix20

    skypheonix20 Member

    Messages:
    70
    Likes Received:
    48
    is this possible?

    im wondering because you dont need fog of war on gas giants as its not really used, in system editor it shows gas giants in there full color potential but playing a game thay become dull because of the fog of war.

    is there a possible way to disable fog of war just on gas giants without editing unit vision range and would it be client side so no server mods are needed.

    gas playing.jpg gas sys edt.jpg gas playing 2.jpg gas sys edt 2.jpg
  2. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Unfortunately it's not likely. Last time I checked it's was impossible to assign effects per-planet. :-(

    Would be cool if someone from Uber can clarify this. E.g let's try to ask @bgolus! ;)
    skypheonix20 likes this.
  3. skypheonix20

    skypheonix20 Member

    Messages:
    70
    Likes Received:
    48
    @bgolus where are you.....
  4. bgolus

    bgolus Uber Alumni

    Messages:
    1,481
    Likes Received:
    2,299
    Short answer: No.

    Long answer: If you were to change the shader used for gas giants to be a transparent effect then it won't write to the depth buffer and fog of war won't work on it (like the water shader). You'd then also have to change the gas giant shader to do it's own lighting from the main light (also like the water shader), and it won't receive shadows properly or other dynamic lights. So yes! But it's not as simple as flipping a setting or adding a line to a .json file.


    Really it would be nice to have the option to disable fog of war on planets you're not currently focused on. Once you get far enough away from a planet the fog of war resolution gets low enough that it's kind of wasted processing anyways. I can't give any kind of ETA when something like this might happen, if ever, but fog of war improvements aren't out of the question in a future update.
    Remy561, wondible, Fr33Lancer and 2 others like this.
  5. skypheonix20

    skypheonix20 Member

    Messages:
    70
    Likes Received:
    48
    ahh ok no worries i thought it might have been as easy as adding a line to .json file or something like that as thats all my brain can handle when it comes to modding at the moment haha well thank you for the detailed reply.

    i was just thinking if you could remove it as its not used then gas giants would look a bit better but its mostly cosmetics so nothing important.

    iv noticed gas giants look perfect on nvidea cards but AMD have over brightness issues that iv tried to mod and sort out but still makes colors go dull.
    Last edited: October 8, 2014

Share This Page