Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2020-02-25 17:35:42 +0300
committerJeroen Bakker <jeroen@blender.org>2020-02-25 17:39:25 +0300
commit5943e7d02e65b9cdd3f569a6c7fe7ff73f7a28d8 (patch)
treee0ac87e906e173ef178775aac2251bbf6aef6425
parent0c09700f20646bb4083063bfe525e05d52e79b10 (diff)
EEVEE: First Buffer Drawn Incorrectly
SSS buffers are lazy initialized when needed. When shaders recompile the SSS buffers could be incorrectly drawn. During the render passes project we tried to fix this, but that resulted in incorrect result of the first sample after a shader was compiled. We revert this change knowing that we know the issue, but haven't found a proper solution for it.
-rw-r--r--source/blender/draw/engines/eevee/eevee_engine.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_engine.c b/source/blender/draw/engines/eevee/eevee_engine.c
index f8e68156aa8..6480847092b 100644
--- a/source/blender/draw/engines/eevee/eevee_engine.c
+++ b/source/blender/draw/engines/eevee/eevee_engine.c
@@ -177,9 +177,6 @@ static void eevee_cache_finish(void *vedata)
if (g_data->queued_shaders_count != g_data->queued_shaders_count_prev) {
g_data->queued_shaders_count_prev = g_data->queued_shaders_count;
EEVEE_temporal_sampling_reset(vedata);
- /* At this moment the TAA sampling will be redrawn in the next iteration.
- * we set the taa_current_sample to 0 so the next iteration will use sample 1 */
- stl->effects->taa_current_sample = 0;
}
}