We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

transparent background video

Home Forums Programming transparent background video

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #27688
    simontd
    Participant

    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

    #27690
    GLiFTeK
    Customer

    I 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 node

    then 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 soon

    #27694
    simontd
    Participant

    yes 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

    #27704

    Awailable with the new release. Article.

    Co-founder and lead graphics specialist at Soft8Soft.

    #27712
    GLiFTeK
    Customer

    So 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

    #27715
    simontd
    Participant

    ok 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

    #27719
    simontd
    Participant

    ok 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

    #27723

    If 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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.