Jump to content

trying to insert a glass watermark logo...


Zimbofly
 Share

Recommended Posts

Hi all,  hope you had a great start to the new year!

 

I'm trying to place a logo (with transparent background) onto my glass window as a kind of watermark.

 

BUT - the transparent background is turning black!!!!  any idea what I'm doing wrong?

 

//logo glass watermarks  
    var water = new BABYLON.Mesh.CreatePlane("water", 0.1, scene);
    water.material = new BABYLON.StandardMaterial("", scene);
    water.material.diffuseTexture = new BABYLON.Texture("./GalleryAssets/Artwork/PerformLogo1.png", scene);
    water.material.backFaceCulling = true;
    //water.material.emissiveColor = new BABYLON.Color3(0.7, 0.7, 0.7);
    water.position = new BABYLON.Vector3(-6.9, 6.8, 4.3);
    water.scaling = new BABYLON.Vector3(2.7, 1, 0.05);
    water.rotation.y = Math.PI * 3 / 2;
 
ta for any input!

post-9224-0-86225400-1420985100.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...