Frictional Games Forum (read-only)
Billboards help? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Billboards help? (/thread-18033.html)



Billboards help? - bjaffedj - 08-29-2012

i am trying to make a billboard. what im trying to do is make a part of the billboard transparrent so only the important part is visible. but all my tries has ended out with a black or white background on my billboards. can somehere teach me how to do it?
thanks


RE: Billboards help? - Statyk - 08-29-2012

Did you apply an alpha channel to the image in photoshop/gimp?


RE: Billboards help? - bjaffedj - 08-29-2012

no? how do i do that? and what for= Smile


RE: Billboards help? - Statyk - 08-29-2012

Alpha channels hold transpancy levels in an image. Which program are you using?


RE: Billboards help? - bjaffedj - 08-29-2012

i am using photoshop Smile


RE: Billboards help? - Statyk - 08-29-2012

In the tab where you see layers, go to "channels", or go to Window>Channels.

Create a new channel and it should automatically make it an alpha. Alpha transparency works in greyscale.

White areas = Fully visible
Grey (depending on shade) = translucence. Whiter, more visible; darker, more INvisible
Black Areas = Invisible/100% transparent

Paint in the alpha channel with your shades of preference and make sure you save it either as a .tga, or if you have .dds, save it using DXT5.


As for the material (.mat), open the Material Editor and change soliddiffuse to "translucent" and change Blend Type to "Alpha". Put your image in there and test the transparency until you're happy.


RE: Billboards help? - bjaffedj - 08-29-2012

thank you man! i worked perfectly!