Home › Forums › Programming › transparent background video
- This topic has 7 replies, 3 voices, and was last updated 4 years, 5 months ago by Mikhail Luzyanin.
-
AuthorPosts
-
2020-05-18 at 5:24 am #27688simontdParticipant
ok i learned how to add video recently on an object in verge3d but it doesnt work for videos with transparent background is there command for that i do i need to change that in the html script or the java script thank you
2020-05-18 at 6:32 am #27690GLiFTeKCustomerI haven’t tried it yet, but just as you would with keying out color for a custom alpha using nodes with any image, you’d do the same with video.
This is assuming you haven’t tried using your alpha channel yet…
If you’re using Blender, you’d take your color output of your image texture (video ) node and isolate your negative empty area from your non alpha subject matter, probably using rgb curves nodethen use a black and white node, then a brightness and contrast node if needed, and an invert node if needed,
then use that as the “fac” on a mix shader node where you have your original video (image texture color again) plugged into the bottom socket and a transparency node plugged into the upper shader socket which outputs to your material output node.
Hope that helps.
I’ll try it soonVisit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-05-18 at 7:05 am #27694simontdParticipantyes that would be a good solution if verge 3d supported but as of mow the only way to is by calling the video in a script and even though the video doesnt have a background it still shows in verge 3d as a black color i thought maybe if i made it have transparent background in puzzles it would work but that didnt help
2020-05-18 at 8:44 am #27704Mikhail LuzyaninStaffAwailable with the new release. Article.
Co-founder and lead graphics specialist at Soft8Soft.
2020-05-18 at 2:49 pm #27712GLiFTeKCustomerSo yea use the puzzle in the new update.
Visit this forum section and subscribe to it to be informed when there’s updates.
https://www.soft8soft.com/forum/announcements/Put a single (or multiple) frame of it in your image texture in blender to do what I said above. Then replace that with the texture puzzle
Visit the GLIFTEK Verge3D Plugins Store!
GLIFTEK.com for Plugin Documentation & LIVE DEMOS!
LIKE The GLIFTEK Facebook Page for updates!
Join the Verge 3D Discord Server!
plz share Discord link & on your signature!2020-05-18 at 4:23 pm #27715simontdParticipantok yes thank you i didnt know that i downloaded the new version but im getting an issue with exporting the gltf pls let me know if i am missing something
2020-05-18 at 7:50 pm #27719simontdParticipantok the video works but still cant get transparency working in puzzles is it possible to do that i thought if i enabled it in the innit function in puzzles the transparent background but it doesnt work if there was a fix for this it would really help
2020-05-19 at 6:20 am #27723Mikhail LuzyaninStaffIf you have a sphere or any mesh object that covers background you can’t see transperency. You need to remove all object from the background of the scene.
Co-founder and lead graphics specialist at Soft8Soft.
-
AuthorPosts
- You must be logged in to reply to this topic.