Daemon icon indicating copy to clipboard operation
Daemon copied to clipboard

pbr: Maybe fix weird dark artifacts in PBR

Open DolceTriade opened this issue 1 year ago • 0 comments

Looking at https://github.com/Nadrin/PBR/blob/master/data/shaders/glsl/pbr_fs.glsl, this repo does PBR slightly differently. In general, the calculations are similar until they come to adding it to the color. This change ported from this renderer appears to help remove black artifacts.

Before

unvanquished_2024-05-10_231751_000

After

unvanquished_2024-05-10_231807_000

DolceTriade avatar May 11 '24 06:05 DolceTriade