windows transparency

Materials, textures, lighting, postfx
5 posts Page 1 of 1
bsisko
Posts: 83
Joined: Mon Jun 19, 2017 7:28 pm
by bsisko » Wed Jul 15, 2020 6:10 am
I have an issue trying to get transparent levels to work in my game level. I want to create windows in my buildings.
I'm using Gimp to create the textures, Trenchbroom and Constructor to create the levels, and finally TGE 1.4 for the game!
Duion
Posts: 1622
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Wed Jul 15, 2020 9:33 am
So what is the issue? Maybe an image? If you are using TGE we cannot really give you exact support, since most are using Torque3D. The issue with windows is really about chosing the right blending algorithm for your case.
bsisko
Posts: 83
Joined: Mon Jun 19, 2017 7:28 pm
by bsisko » Wed Aug 05, 2020 1:06 am
Thanks, Duion
Duion
Posts: 1622
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Wed Aug 05, 2020 1:43 am
The most elegant solution is probably to use a dirty window texture that uses alpha threshhold and then use a cubemap for reflection, that way you don't have to deal with the issues that come with the different transparency methods. I think the Chinatown Demo does it that way.

Simple solution is just to use a transparency method with any texture that looks remotely glassy.
Bloodknight
Posts: 304
Joined: Tue Feb 03, 2015 8:58 pm
by Bloodknight » Sat Aug 08, 2020 6:03 pm
theres a glass object and sample in the FPS tutorial download, which I would post but the forum is scrooge with bandwidth aven 460k is too big
5 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests