diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-01-11 23:16:49 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-01-11 23:16:49 +0100 |
| commit | 18dd6722d1c4b14dfe322b036b6e4fa1281b4712 (patch) | |
| tree | 09dd829a5bdf4f4e69f6d2b66d58584c182c42a7 /shaders/compute.comp | |
| parent | 843dbf7d8dca95883e563d3ba5c20d6b1ee7fd90 (diff) | |
Path tracer write to the swapchain image
Diffstat (limited to 'shaders/compute.comp')
| -rw-r--r-- | shaders/compute.comp | 1 |
1 files changed, 0 insertions, 1 deletions
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); } |
