Closed tinkertims closed 9 months ago
The lens helped me to discover a bug in snap lens tool.
But the real problem here is that this lens is using some assets with an "unsuported blend mode". Which will result in log.txt error messages like:
Core: Unknown blend mode
"Lens not loaded exception: Unknown blend mode"
I managed to fix the blend mode manually. This will be done automatically in the next major release of snap camera server. And it will be an upcoming feature of snap lens tool.
No Filter Active
Filter Active with Blend Mode (Normal)
Here is the fixed lens for download, you would have to manually upload it to server. PAEyesBlendFixed.zip
If you are the creator of the lens, you should be able to switch to another blend mode in lens studio. And then re-publish the lens.
Here is a list of supported blend modes:
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 |
Docker throws this error: Invalid argument, expected lens object
System Information:
Log: Log.txt
Lens share link:** https://www.snapchat.com/unlock/?type=SNAPCODE&uuid=bba25a0521164a52bdfc70137d6e18da&metadata=01