PTE Build 82098-pte is now up!

Discussion in 'Planetary Annihilation General Discussion' started by mkrater, May 22, 2015.

  1. FSN1977

    FSN1977 Active Member

    Messages:
    657
    Likes Received:
    232
    Any ETA on some Server optimization , 50% of the games I play is slowmotion when we come to the 30-40 min of the game.
    ace63 likes this.
  2. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    With SAO off and HDR on? That shouldn't happen. I've got a AMD GPU from the same generation, and for me, with the swapped shader order, and SAO deactivated, these dull colors are completely gone.
  3. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Looks still dull to me.
    [​IMG]

    But I dunno how it even is supposed to look when it is correct.
    Running a Radeon HD 7850 as well.
  4. Alpha2546

    Alpha2546 Post Master General

    Messages:
    977
    Likes Received:
    1,561
    MY EYES

    It doesnt fix it for me too btw. Running HD7850 too btw
  5. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    @cola_colin Looks like @bgolus should get himself a 7850 as well.

    Something is really, really wrong about that picture. I get the same result when I deactivate HDR, since the bloom shader is running havoc if HDR is not active.

    So why isn't HDR working for you, like, at all?

    I changed the position of the HDR calculation to be at the end of the pipeline, to cover all effects which had been disregarded previously. Without that change, it was bright for me as well, but not THAT bright.


    Wait a moment... HDR did work for you. The average brightness is reasonable. But your skybox. It's much, MUCH darker than the stock one. Which would cause the HDR shader to trip as scenes with much of the skybox visible would be much darker on average.


    That explains why it is so much brighter for you. So the bloom shader hits you double.


    Well, next try. This time, I also removed bloom from the postprocessing pipeline, in addition to correcting the execution order. Please try with the new post.json, SAO and HDR on.

    It appears as if SAO isn't faulty either, but only amplifies the effect of the bloom shader even more.

    PS: Why isn't there a setting to remove bloom???

    Checklist up to this moment:
    • Bloom shader is broken on AMD GPUs
    • HDR average is computed too early in the post processing pipeline
    • HDR average sliding average depends on framerate(!!!)
    • Checkbox for deactivating bloom is missing

    That bloom bug... It looks much like the bug the bloom shader from original SupCom caused on AMD GPUs as well.

    On an unrelated topic: The wireframe shader on the unit canon while under construction is ... wrong. The lines are much, MUCH too thin. Becomes very much visible when bloom is turned off.

    And the unit selection circle needs a larger texture. That thing looks jagged when selecting larger buildings.

    Attached Files:

    • post.zip
      File size:
      855 bytes
      Views:
      2
    Last edited: May 25, 2015
    Remy561, zx0 and ace63 like this.
  6. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I am not using the stock skybox, so mine is different and maybe darker in some places.

    On your newest post.json:
    [​IMG]
    settings
    [​IMG]

    and this happens when I turn off ambient occlusion and HDR with your post.json
    [​IMG]

    Reminds me of what I had before at times. That is btw the day side. Night looks sorta okay.

    [​IMG]

    Recently I play with the "no sun" mod and disabled shadows.
    No sun = No brightness issues.
  7. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    That one is really interesting. Because it means that your bug occurs independent from the post processing chain.

    In the previous screenshot, about all the details visible have only been reconstructed by the SAO shader.

    But your night time screenshot is wrong as well oO

    Just as your daytime screenshot is just perfect, flat grey (all channels clipped at 0xac), your nighttime screenshot is completely tainted blue.

    I don't see even the slightest trace of green, neither at day nor at nighttime.

    So whatever happened, the color balance between night and daytime is completely off.


    That would explain why the "no sun" mod fixes it for you - without sun, no broken day or nighttime. Great, that means that there is yet another bug. One more on the list....


    Nonetheless, it's still wrong. If it looks always like the nighttime screenshot for you, it means that the colors are still missing.
    Last edited: May 25, 2015
  8. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Well I don't know if it is "fixed" without sun. But it looks okay to me.

    [​IMG]
    [​IMG]
    [​IMG]

    HDR and AO is on, default post.json
    Just no sun (however that is achieved) and a custom skybox
  9. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    @cola_colin Ah sorry, mistook it for a different biome type. It's an ice, not a desert planet...

    In that case, I think the day time screenshot with with new post.json (the one without bloom shader) actually looked the way it should look like.


    Almost, at least. It takes 15-30 seconds before HDR adapts to the day side of a planet, thanks to that framerate dependency bug. Just zoom in on a location with vision coverage, and it should normalize quickly.

    There still IS a bug somewhere earlier in the pipeline, which causes a bias, which then propagates, but it only trips the bloom shaders and it is catched by HDR when evaluated late enough.

    Attachment now contains "instant HDR, no bloom" - full HDR adaption is a single frame. I don't think that slow HDR adaption was a smart idea to begin with. This is not an RPG or shooter where you remain in the same area for long, so HDR adaption shouldn't take anywhere as long as it does.

    The other one has instant HDR adaption with original shader order. If bloom isn't bugging out for you, use that one.


    PS: There is still something wrong with HDR o_O
    It's not sampling the entire scene. HDR only adapts to center of the scene, not the border. You can have the sun covering 1/4th of the screen, and it's not triggering HDR as long as the sun isn't centered...

    Attached Files:

    Last edited: May 25, 2015
    zx0 likes this.
  10. nixtempestas

    nixtempestas Post Master General

    Messages:
    1,216
    Likes Received:
    746
    The no sun mod you are probably using is Deep Space (I don't know of any others), which quite simply sets the ldr and hdr intensity to 0 in all the terrain jsons and kills the sun itself via the sun.fs file by setting its color to 0 (which I doubt will effect terrain at all). Basically a more extreme version of the AMD brightness fix mod.

    Hope this info helps troubleshooting.
  11. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    GOD BLESS RADAR FIXES
  12. MrTBSC

    MrTBSC Post Master General

    Messages:
    4,857
    Likes Received:
    1,823
    another request:

    commander state when being idle ... also ui healthstate of comm ...
  13. imperatorurist

    imperatorurist Member

    Messages:
    72
    Likes Received:
    62
    Radar fixed which is good. Still want Air & AA to be reworked.
  14. MrTBSC

    MrTBSC Post Master General

    Messages:
    4,857
    Likes Received:
    1,823
    .... like what?
  15. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    maybe an attempt (successful?) to make HDR react to the planet and not to the background?
  16. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    Don't know, but sounds plausible.

    As far as it goes for me, I'm now personally satisfied with my post processing chain.

    Instant HDR, HDR compose -> bloom -> SAO -> HDR average.

    It's looking a bit dull on ice planets, but I think that's actually supposed to look like that.

    Could someone package them as a mods and put them on PAMM? The no bloom one makes it even more eye friendly IMHO.

    Attached Files:

  17. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    @mkrater if you would be so kind, please add a comment when you update the main post. Even just a few words so it shows up in the news feed.
    mkrater and Quitch like this.
  18. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    - New AI personality setting enable_commander_danger_responses; always true
    - A lot of tweaks to AI metal building - I had seen it stuck a few times in the last build
    - One instance of PlanetCanBeUsedAsWeapon to changed to PlanetCanBeUsedAsKineticWeapon - possible new call (or maybe just renamed)
    - Two new commanders (sale status TBD)
    Quitch and Remy561 like this.
  19. nixtempestas

    nixtempestas Post Master General

    Messages:
    1,216
    Likes Received:
    746
    I'll throw them up as soon as github stops fighting me

    EDIT: They are now up, I just called them Modded Post Processing Chain and Modded Post Processing Chain (no bloom) for lack of a better name. I have not tested them so let me know if I messed up somewhere.
    Last edited: May 27, 2015
    exterminans and ReddWolff like this.
  20. exterminans

    exterminans Post Master General

    Messages:
    1,881
    Likes Received:
    986
    Looks like they are working, thanks.

Share This Page