Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Transparency in glass.

Author
Message
Vukgamer
11
Years of Service
User Offline
Joined: 21st Feb 2013
Location:
Posted: 18th Jun 2015 13:49
Im using Holez model pack.There you can find 2 glass entities that are supposed to be transparent,but If I put light behind the glass, entities become invisible.
I have set the transparency to 1 but if it gets in light range they become invisible.
No light: I can see entities behind the glass just fine
Light: entities are invisible behind the glass.
What am I missing here?

He is always watching
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 18th Jun 2015 16:30
Vukgamer
Quote: "No light: I can see entities behind the glass just fine. Light: entities are invisible behind the glass"

Yep, have run into this problem several times in the past.
Right off the top of my head I can't remember what settings to use.
Are your lights static or dynamic? I can't recall which to use, but
it's one or the other. Then you have to play with the "glass/texture" transparency settings.

My games never have bugs. They just develop random features..
Lots and lots of random features...
Madcow
10
Years of Service
User Offline
Joined: 17th Jul 2013
Location: Somewhere, but not over the rainbow.
Posted: 18th Jun 2015 19:05
From Bond1
Quote: "This is not a problem with FPSC or the pack itself. That is a directx 9 "sorting order" issue (supposedtly solved with directx 11).

The fix: Place transparent doors and water in your level LAST, before placing all other dynamic entities. This is how I did the showcase level. If you make a mistake and place more entities down after placing the doors, then delete the doors and rebuild your game. This will reset the "sorting order"."


Utinni !
Vukgamer
11
Years of Service
User Offline
Joined: 21st Feb 2013
Location:
Posted: 18th Jun 2015 19:52
Thanks.Putting them last was the solution to my woes.
Thanks for fast replys everyone.

He is always watching
Madcow
10
Years of Service
User Offline
Joined: 17th Jul 2013
Location: Somewhere, but not over the rainbow.
Posted: 19th Jun 2015 01:03
Anytime



Utinni !

Login to post a reply

Server time is: 2024-03-29 10:56:20
Your offset time is: 2024-03-29 10:56:20