Transfer_CeilingLight/Transfer_FloorLight on 3D structures?

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Rex Claussen
Developer
Developer
Posts: 2659
Joined: Tue Jul 11, 2006 18:36
Contact:

Transfer_CeilingLight/Transfer_FloorLight on 3D structures?

Post by Rex Claussen »

I have tried using Transfer_CeilingLight/Transfer_FloorLight specials on the control sectors for 3D constructs, but they don't seem to do anything. Is this a limitation of the GZDooM engine, or am I just doing it wrong?

[The way I do it is to assign a tag to the control sector, then use another control sector with the desired lighting and assign the transfer light special to one of the linedefs in the second control sector. In other words, virtually the same way I've used transfer light specials dozens of times before. And yes, I do realize that I need to transfer light to the floor of the 3D control sector when I want the "ceiling" of the 3D sector to be lighted up, and vice versa.]

I did a search on these forums for the issue but came up empty, so I don't know if this is simply not an issue or if others haven't tried to use this special in this way (hard to believe, as transfer light specials are such a common part of modding).
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Transfer_CeilingLight/Transfer_FloorLight on 3D structur

Post by Graf Zahl »

This doesn't work because 3D floors directly access the light value of the control sector, not the floor and ceiling light values.
User avatar
Rex Claussen
Developer
Developer
Posts: 2659
Joined: Tue Jul 11, 2006 18:36
Contact:

Re: Transfer_CeilingLight/Transfer_FloorLight on 3D structur

Post by Rex Claussen »

Very good. Thanks for clarifying.
User avatar
NeuralStunner
Posts: 253
Joined: Tue Dec 29, 2009 3:46
Location: IN SPACE
Contact:

Re: Transfer_CeilingLight/Transfer_FloorLight on 3D structur

Post by NeuralStunner »

Trying to think of a way to fake this. You could put another exceptionally thin, invisible and nonsolid 3D Floor directly above and underneath, and use the light inside those to force it back to the darker level.

Inversely: Make the destination sector fullbright, and darken the real walls and floor you don't want affected. This has thew only drawback that actors inside will be brightened also.

Also you could make a flat fullbright in GLDefs, but this won't help much once 3D Floors are in the ZDoom too. (Besides it would affect that flat everywhere.)
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
User avatar
Rex Claussen
Developer
Developer
Posts: 2659
Joined: Tue Jul 11, 2006 18:36
Contact:

Re: Transfer_CeilingLight/Transfer_FloorLight on 3D structur

Post by Rex Claussen »

NeuralStunner wrote:You could put another exceptionally thin, invisible and nonsolid 3D Floor directly above and underneath, and use the light inside those to force it back to the darker level.
Some of my 3D sectors are sloped, so supplemental translucent/transparent 3D would not work. However, for flat 3D sectors your suggestion will do the trick. Thanks for the idea.
Inversely: Make the destination sector fullbright, and darken the real walls and floor you don't want affected. This has thew only drawback that actors inside will be brightened also.

Also you could make a flat fullbright in GLDefs, but this won't help much once 3D Floors are in the ZDoom too. (Besides it would affect that flat everywhere.)
I have already implemented the GLDEF brightness for most flats, and perhaps I ought to extend it to the ones in question here. Good idea. So far, however, the simplest work-around I have found is to place one or more dynamic lights close to the 3D surface I want brightened.
User avatar
NeuralStunner
Posts: 253
Joined: Tue Dec 29, 2009 3:46
Location: IN SPACE
Contact:

Re: Transfer_CeilingLight/Transfer_FloorLight on 3D structur

Post by NeuralStunner »

Brings up an interesting idea: Since floor/ceiling lighting is possible in ZDoom, I wonder if it would be possible for software mode to have fullbrighting per flat...
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
Locked

Return to “GZDoom”