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:
authorClément Foucault <foucault.clem@gmail.com>2021-09-15 14:51:00 +0300
committerClément Foucault <foucault.clem@gmail.com>2021-09-15 14:51:00 +0300
commitae226426907de47ca616d150d723326e57386432 (patch)
tree32ffd1523f216a2a90822f25047b4c7e9505b9a3 /source/blender/draw/CMakeLists.txt
parentedfeca758cf858354faaeccb3c47349367fe2ee3 (diff)
Viewport Compositor: Initial commit
This introduce a new compositor engine. It applies the compositor nodetree onto the render result in the viewport using GLSL shader. For now it only very few nodes are supported and only the combined pass is passed to the evaluation pass. This reuse almost the same pipeline as `GPUMaterial`.
Diffstat (limited to 'source/blender/draw/CMakeLists.txt')
-rw-r--r--source/blender/draw/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt
index f0ad4f27d2e..085a6cda902 100644
--- a/source/blender/draw/CMakeLists.txt
+++ b/source/blender/draw/CMakeLists.txt
@@ -239,6 +239,9 @@ set(LIB
bf_windowmanager
)
+data_to_c_simple(engines/compositor/shaders/compositor_frag.glsl SRC)
+data_to_c_simple(engines/compositor/shaders/compositor_nodetree_eval_lib.glsl SRC)
+
data_to_c_simple(engines/eevee/shaders/eevee_bsdf_lib.glsl SRC)
data_to_c_simple(engines/eevee/shaders/eevee_bsdf_microfacet_lib.glsl SRC)
data_to_c_simple(engines/eevee/shaders/eevee_bsdf_sampling_lib.glsl SRC)