Skip to content

Commit d377bc8

Browse files
committed
fix(soba/materials): add null to meshtransmissionmaterial background option
1 parent f048731 commit d377bc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/soba/materials/src/lib/mesh-transmission-material.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export type NgtsMeshTransmissionMaterialOptions = Partial<NgtThreeElements['ngt-
5151
/** Refraction samples, default: 6 */
5252
samples: number;
5353
/** Buffer scene background (can be a texture, a cubetexture or a color), default: null */
54-
background?: THREE.Texture | THREE.Color;
54+
background?: THREE.Texture | THREE.Color | null;
5555
};
5656

5757
const defaultOptions: NgtsMeshTransmissionMaterialOptions = {

0 commit comments

Comments
 (0)