Description
Expected Behavior
Setting the video transparency to 100 using the video sensing block set video transparency to 100
block should cause the video to be totally transparent, and not visible.
Actual Behavior
set video transparency block to 100
seems to make the parts of the video that are white be white and the things that are dark to be clear. It seems to be using the brigthness channel to affect the transparency in some way.
The color that you set the background to seems to matter. This issue is not observable if you set the backdrop to white, but the contrast changes depending on what color the backdrop is.
White/Clear backdrop at 100% transparency:
Purple backdrop at 100% transparency:
Here is an example project made by @ericrosenbaum to illustrate that. scratch.mit.edu/projects/314377995
It is also worth noting that less transparent video sensing makes the colors look strange.
50% transparent on white backdrop:
50% transparent on purple backdrop:
Steps to Reproduce
Create a new project
Add the video sensing extension
Turn video on
Note: the colors in the video look a little desaturated
Drag out a Set video transparency block to
block out
Set the value to 100 and run the block
Note: the video appears to disappear
Add a backdrop, it's easy to see if it is a solid color
Note: the video on the stage is still visible.
Operating System and Browser
Mac Chrome, Mac Safari