Billboards

Started by Upon Infinity, September 27, 2012, 06:54:52 AM

Previous topic - Next topic

Upon Infinity

Hey all,

This is probably going to be an easy answer but if I'm importing an object as a billboard and there is a white background for transparency in the image, how do I get Terragen to block out the white background? 

Thanks.

j meyer

If you don't want to change that white background to black,
you could try it with a b/w image mask either separate or
as alpha channel.

Upon Infinity

My bad.  The background is not white, it is transparent in the .png file, but it is coming out white in the render.  I'm just curious what setting I need in the default shader in order to get it to work.

cyphyr

In the default shader use the Opacity Tab and copy/paste your image in there, tick "Use alpha channel" and if necessary "Invert opacity image".
If the alpha is correct in your png this should  work. I've also (rarely) come across cases where you also had to un-tick "unpremultiply colour" in the images tab.
Hope this helps
Richard
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

Upon Infinity

Go it.  You have to put the image into one of the diffuse, translucency, or luminosity tabs as well.  I was also getting a reflected image on the other side of the billboard, handily fixed by taking double sided surfaces off.  Thanks you two.