diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2018-01-11 22:03:31 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-01-12 03:34:28 +0300 |
commit | 322f0223d04ac36ecc72cd01c371234da6de643c (patch) | |
tree | c1295dc50a4efd3e0a68d460267345fc5f673fba /intern/cycles/render/background.h | |
parent | cce280dd6767bb4588a301f2b966d1b959b01f6b (diff) |
Cycles: option to make background visible through glass transparent.
This can be enabled in the Film panel, with an option to control the
transmisison roughness below which glass becomes transparent.
Differential Revision: https://developer.blender.org/D2904
Diffstat (limited to 'intern/cycles/render/background.h')
-rw-r--r-- | intern/cycles/render/background.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/background.h b/intern/cycles/render/background.h index db20b6ebf87..145c05f1c18 100644 --- a/intern/cycles/render/background.h +++ b/intern/cycles/render/background.h @@ -42,6 +42,9 @@ public: Shader *shader; bool transparent; + bool transparent_glass; + float transparent_roughness_threshold; + bool need_update; Background(); |