Skip to content
Snippets Groups Projects
Commit 0b6294f4 authored by Alexander Rose's avatar Alexander Rose
Browse files

check for shadow in PostprocessingPass.isEnabled

parent 7b130dc0
No related branches found
No related tags found
No related merge requests found
...@@ -368,7 +368,7 @@ export type PostprocessingProps = PD.Values<typeof PostprocessingParams> ...@@ -368,7 +368,7 @@ export type PostprocessingProps = PD.Values<typeof PostprocessingParams>
export class PostprocessingPass { export class PostprocessingPass {
static isEnabled(props: PostprocessingProps) { static isEnabled(props: PostprocessingProps) {
return props.occlusion.name === 'on' || props.outline.name === 'on' || props.background.variant.name !== 'off'; return props.occlusion.name === 'on' || props.shadow.name === 'on' || props.outline.name === 'on' || props.background.variant.name !== 'off';
} }
static isOutlineEnabled(props: PostprocessingProps) { static isOutlineEnabled(props: PostprocessingProps) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment