-
-
Notifications
You must be signed in to change notification settings - Fork 57
Lens Blend Modes
Patrick Trumpis edited this page Mar 9, 2025
·
1 revision
The blend modes listed below are supported by the Snap Camera application.
BlendMode | Value | Expression |
---|---|---|
Normal | 0 | SrcAlpha, OneMinusSrcAlpha |
MultiplyLegacy [DEPRECATED] | 1 | DstColor, OneMinusSrcAlpha |
AddLegacy [DEPRECATED] | 2 | One, One |
Screen | 3 | One, OneMinusSrcColor |
PremultipliedAlpha | 4 | One, OneMinusSrcAlpha |
AlphaToCoverage | 5 | Blend Disabled |
Disabled | 6 | Blend Disabled |
Add | 7 | SrcAlpha, One |
AlphaTest | 8 | Blend Disabled |
ColoredGlass | 9 | Blend Disabled |
Multiply | 10 | DstColor, Zero |
Min | 11 | One, One |
Max | 12 | One, One |
Custom | 13 | Unknown |
Snapchat has introduced new blend modes for Lens Studio that are not supported by the Snap Camera application.
Attempting to activate lenses created with an unsupported blend mode will trigger one of the following errors in your application log file.
Core: Unknown blend mode
"Lens not loaded exception: Unknown blend mode"