Threex.chromakey icon indicating copy to clipboard operation
Threex.chromakey copied to clipboard

opacity

Open hartbeatnt opened this issue 7 years ago • 1 comments

Hello,

First of all I would like to say thank you, this is super helpful for what I am working on.

I have one question though -- I want to fade the video in and out, but using this shader the material's opacity value is being ignored. How would I adjust it so that lowering/raising the material's opacity has an effect on the video?

Thanks,

hartbeatnt avatar Oct 27 '17 21:10 hartbeatnt

This module uses a different shader implementation, but in the demo you can see that adjusting the Smoothness value toward 1 has the effect of affecting opacity.

In that demo, Dat.gui is set so the max value is clamped to 1 leaving it slightly visible at value of 1. I imagine values >1 would make it fully transparent.

drinkspiller avatar Jan 18 '23 22:01 drinkspiller