One-sided mirror possible? (impossible)
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.
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
One-sided mirror possible? (impossible)
I am aware of the line special for mirrored lines but is there a way to make the line only mirror one side and not the other?
Last edited by Tormentor667 on Thu May 07, 2015 6:47 am, edited 1 time in total.
- Caligari87
- Admin
- Posts: 6240
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: One-sided mirror possible?
Not sure if it's possible with a double-sided line, although I might be wrong. I thought mirrors had to be one-sided anyway.
Otherwise, I guess you could just do another non-mirrored line on the other side with the correct midtexture, placed very close.

Otherwise, I guess you could just do another non-mirrored line on the other side with the correct midtexture, placed very close.

- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: One-sided mirror possible?
That's the problem actually
It needs to be mirroring from one side and see-through from the other 


- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: One-sided mirror possible?
The mechanics of mirrors pretty much prohibit such a scenario. Remember: Void space behind!
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: One-sided mirror possible?
Sad actually, as this feature would make up for some pretty interesting workarounds and hacks.
- Kappes Buur
-
- Posts: 4197
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: One-sided mirror possible?
Is the void space absolutely required for GZDoom?
I don't seem to have a problem with a short space behind the mirror.
Example map
I don't seem to have a problem with a short space behind the mirror.
Example map
Spoiler:as seen with GZDOOM
Spoiler:as seen with ZDOOM
Spoiler:
- Caligari87
- Admin
- Posts: 6240
- Joined: Thu Feb 26, 2004 3:02 pm
- Preferred Pronouns: He/Him
- Contact:
Re: One-sided mirror possible?
It doesn't require the full mirror void space like ZDoom does, but it does require a void.


- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: One-sided mirror possible?
Precisely. The hardware renderer has better means to clip the geometry but it's not completely immune from problems here. The biggest problem is that sprites get collected per sector so the very least that should be done is to ensure that no sector can be in front and behind the mirror line.
- Kappes Buur
-
- Posts: 4197
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: One-sided mirror possible?
So, with GZDoom something like this is possible
Example map
Example map
Spoiler:as seen in GZDOOM
Spoiler:
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49252
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: One-sided mirror possible?
Don't count on that setup being completely glitch free.
Re: One-sided mirror possible?
Could you share the map please?Kappes Buur wrote:as seen in GZDOOMSpoiler:
- Kappes Buur
-
- Posts: 4197
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: One-sided mirror possible?
Leonard2 wrote:Could you share the map please?
- Attachments
-
mirror102.wad
- map for GZDoom with 3 mirror walls
- (9.93 KiB) Downloaded 131 times
Re: One-sided mirror possible?
got a mirror of that? XD
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: One-sided mirror possible?
So, why isn't it possible then to only make a line one-sided mirroring?
Re: One-sided mirror possible?
Because you shouldn't be able to see the other side of a mirror in the first place. Even in GZDoom, the lack of void space is not actually considered safe for rendering reflections (even if it is more lax on how much space is actually required, due to it being a view portal, rather than a BSP redraw), and all sorts of weird sorting issues can manifest due to the lack of occlusion. Plane reflections are more easily broken, for example, in situations where if the surrounding area below isn't properly cleared.