Digital Paint Discussion Board

Development => Mapping => Topic started by: ravo on April 13, 2017, 04:19:49 PM

Title: 1 way transparent, light blocking wall
Post by: ravo on April 13, 2017, 04:19:49 PM
Hello, does anyone know how I can make a transparant wall(preferably 1 way) block light.
I want a dark room that allows you to look into a bright room but not the other way around.

Pls if you know how, or if you have seen this somewhere let me know. Ty
Title: Re: 1 way transparent, light blocking wall
Post by: Ace on April 13, 2017, 10:05:54 PM
To make anything invisible, just add the surface flags "sky" and "nodraw".

You'll see in the map attached that I leave a 1x1 unit hole in the wall. The wall WILL NOT WORK correctly if there isnt a gap. You won't notice the hole anyways.

(https://preview.ibb.co/kEsmi5/sshot0011.jpg) (https://ibb.co/dmLvbQ)
(https://preview.ibb.co/iuC8wQ/sshot0012.jpg) (https://ibb.co/kMoRi5)

Title: Re: 1 way transparent, light blocking wall
Post by: ravo on April 14, 2017, 06:50:38 AM
Thanks, I had tried sky but didnt know about a little hole for it to render thing.