diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-06-10 19:34:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-06-22 14:28:01 +0300 |
commit | fed101a7be119f2e0c4ed64d13fd65f7a1c16118 (patch) | |
tree | 37ecf96cc6d2a82119de1879b998de0ec494e643 /intern/cycles/kernel/kernel_types.h | |
parent | c7d940278b16bb357a848f176d070e1784ccdde2 (diff) |
Cycles: always perform backface culling for curve, remove option
The hair BSDFs are already designed to assume this, and disabling backface
culling would break them in some cases.
Ref T73778
Depends on D8009
Maniphest Tasks: T73778
Differential Revision: https://developer.blender.org/D8010
Diffstat (limited to 'intern/cycles/kernel/kernel_types.h')
-rw-r--r-- | intern/cycles/kernel/kernel_types.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h index 75d988365a2..4cb4bbcda43 100644 --- a/intern/cycles/kernel/kernel_types.h +++ b/intern/cycles/kernel/kernel_types.h @@ -1428,8 +1428,7 @@ static_assert_align(KernelBVH, 16); typedef enum CurveFlag { /* runtime flags */ - CURVE_KN_BACKFACING = 1, /* backside of cylinder? */ - CURVE_KN_RIBBONS = 2, /* use flat curve ribbons */ + CURVE_KN_RIBBONS = 1, /* use flat curve ribbons */ } CurveFlag; typedef struct KernelCurves { |