Game Development Community

Transparency

by Priyadarshi Chowdhary · in Torque Game Engine · 04/18/2004 (12:47 am) · 6 replies

I want to apply a .png file to a wall created in worldcraft, of which some part is transparent, but when i run the game the transparent part looks black color.
is transparency supported ? or i am doing some mistake.

About the author

Recent Threads

  • Tnl
  • Max exporter

  • #1
    04/18/2004 (8:25 am)
    Transparency is not supported on interior surfaces. Because of the way culling works there's no guarantee anything is being drawn behind any given wall!
    #2
    04/18/2004 (8:43 am)
    Hmmm but a workaround probably exists, no?

    Try to make a "hole" on the wall so that a portal will be created there. Then manually place a textured quad with transparency at the location, if needed... not sure what you're trying to achieve.
    #3
    04/18/2004 (9:14 am)
    There were a couple of people working on such a beast. Lore has some fences made this way, but I honestly don't know if they are .DIF or .DTS.
    #4
    04/18/2004 (9:39 am)
    Aren't there a res on getting transparent glass in DIFs ??

    I haven't tried this myself but, could this help ??
    www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4648

    The TSE will rock !!
    #5
    04/18/2004 (9:42 am)
    Oh, yes i want to create something like fences, u can see into this URL what i want. if trancparency is not supported then whats the hack for this problem?

    photos.yahoo.com/jidijaat
    u can check the file in the torque folder
    #6
    04/18/2004 (10:09 am)
    Hmm, I would go with .DTS shape on that, probably the best solution...