ambiera home ambiera home

Ambiera Forum

Discussions, Help and Support.

Create a new account, Search, or Login:
Name:  Password:
Ambiera Forum > CopperLicht
Transparency on BillboardSceneNode
Author Text

boxbee
Registered User
Quote
2013-01-11 09:36:52

How do you get transparency to work on a BillboardSceneNode? I have tried using a whole bunch of different .png's that have transparent parts, but the image shows up with a white background. Do you have to specify somewhere that the image contains some transparency?


niko
Moderator
Quote
2013-01-11 10:51:00

Yes, you need to set the material type of the billboard to CL3D.Material.EMT_TRANSPARENT_ALPHA_CHANNEL. You usually do this like this:
yourNode.getMaterial(0).Type = CL3D.Material.EMT_TRANSPARENT_ALPHA_CHANNEL;



boxbee
Registered User
Quote
2013-01-11 21:28:08

Niko, thanks again! You are a genius.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Interna?ional" (you are not logged in)


Text:

 

  

Forum Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   





Software: Ambiera Light Forum. © 2008-2019 Nikolaus Gebhardt, Ambiera e.U.