Skip to content

Commit

Permalink
vk: rt: fixup reprojection black borders
Browse files Browse the repository at this point in the history
  • Loading branch information
w23 committed Jan 8, 2024
1 parent 20e9af6 commit a147c89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ref/vk/shaders/denoiser.comp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ void main() {
specular = vec3(0.);
}

vec3 new_specular = vec3(0.);
vec3 new_specular = specular;
if (better_depth_offset < depth_treshold) {
diffuse = mix(diffuse, history_diffuse, 0.8);
new_specular = mix(specular, history_specular, 0.3);
Expand Down

0 comments on commit a147c89

Please sign in to comment.