From 18dd6722d1c4b14dfe322b036b6e4fa1281b4712 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 11 Jan 2021 23:16:49 +0100 Subject: Path tracer write to the swapchain image --- shaders/compute.comp | 1 - 1 file changed, 1 deletion(-) (limited to 'shaders/compute.comp') diff --git a/shaders/compute.comp b/shaders/compute.comp index 2b08c5c..633fa50 100644 --- a/shaders/compute.comp +++ b/shaders/compute.comp @@ -224,6 +224,5 @@ void main() { float spp_scale = (1.0 / samples_per_pixel); out_color = sqrt(out_color * spp_scale); - // image[y * width + x] = sqrt(out_color * spp_scale); imageStore(output_image, ivec2(x, y), out_color); } -- cgit v1.3