"Portal" Texture?
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
"Portal" Texture?
Does something like portals exist for [G]Zdoom? Similar to how portals work for ceilings and floors, but the 2 rooms are linked together by a texture instead. I know there are camera textures, but the other room seen throiug the texture is rended into a 2D image. Was thinking about good ways to create inter dimensional gateways for DE, and not sure if the Camera texture was the best way to do it.
Re: "Portal" Texture?
Yeah Isle put up wall portal example a long time ago but I can't find the links anymore.
I do remember there being 2 versions because each version worked exclusively for a specific renderer (the GZDoom approach doesn't work in the software renderer and vice versa).
I do remember there being 2 versions because each version worked exclusively for a specific renderer (the GZDoom approach doesn't work in the software renderer and vice versa).
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: "Portal" Texture?
No. The current portal code has a few problems with recursion detection that make wall portals difficult to handle. I'm working on it but I don't really have time so it's going extremely slowly.
@Nash: As this is a hack, anyone using it is on their own when copying it. No guarantee that it will survive a proper implementation.
@Nash: As this is a hack, anyone using it is on their own when copying it. No guarantee that it will survive a proper implementation.
Re: "Portal" Texture?
First hack I can think of is having a sloped portal connection, but Isle may have already done that and it would be hell to handle traveling between them.
Re: "Portal" Texture?
nah just use a portal room behind it with line_horizon on the outer walls. seems to still work with the newer portals.
oh yeah, doesn't work in gzdoom though
oh yeah, doesn't work in gzdoom though
- Graf Zahl
- Lead GZDoom+Raze Developer

- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: "Portal" Texture?
Isle wrote:nah just use a portal room behind it with line_horizon on the outer walls. seems to still work with the newer portals.
oh yeah, doesn't work in gzdoom though
No, and it never will. That's an unsupported construct, even in ZDoom. In other words: May break at any time.