danielshervheim / atmosphere

A tool to precompute atmospheric scattering tables for real-time dynamic atmosphere rendering.
BSD 3-Clause "New" or "Revised" License
41 stars 9 forks source link

Weird results #1

Open StarArawn opened 4 years ago

StarArawn commented 4 years ago

First off thanks for this really neat tool to pre-compute the scattering tables.

I'm seeing some issues that don't make much sense to me:

Screen Shot 2020-05-17 at 5 35 21 PM Screen Shot 2020-05-17 at 5 35 34 PM

Some things I've done differently:

One thing I noticed is that the resulting exr images appear to have white pixel data to the right side of the texture:

Screen Shot 2020-05-17 at 5 42 53 PM Screen Shot 2020-05-17 at 5 43 06 PM

When I converted these textures to hdr they seemingly turn to black for some reason.

danielshervheim commented 4 years ago

Apologies for the long-delayed response. I would guess that something is going wrong in the EXR to HDR conversion process, since the textures shouldn't turn black. That said, they do contain linear data, so they should not be treated as sRGB textures. The white strip is a problem that I have encountered myself, I have not yet determined the cause of it. The first image you posted almost looks like its tone mapped incorrectly (but this might be due to treating the textures as sRGB rather than linear data)...