How can I go about making a room invisible?

NameUser

L1: Registered
Sep 15, 2011
45
1
Here's the deal. I want a room in the map to be completely invisible, even from people with noclip.

My first thought was to make the outside of the textures completely black so they'd blend with the void. However, since source doesn't render the first texture between void and inside the map when you're in the void, that didn't work as you'd see X-ray right into the room.

My next thought was to construct a pure black box around the room so that Source would not render that, yet still render the room inside. However, that doesn't work because you can see fog inside the box.

Does anyone know how I can go about making a room completely invisible? Thanks.
 
Last edited:

Blade x64

Logical insanity
aa
Sep 3, 2009
239
633
Duplicate the toolsblack vmt and add $nofog 1. Don't forget to include the material with the release.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Uhh... black won't work. It will show up as a solid black area within the hall of mirrors. Basically the only way to do it is to put your map at one end of the grid and the room at the other, and use simple distance to make it hard to locate.
 

Micnax

Back from the dead (again)
aa
Apr 25, 2009
2,109
1,585
Since it looks like it's impossible to make the room truly invisible (unless you did what Boojum said and use trigger_teleport), why not make it visible but unreachable? And if people use noclip, just line the walls with trigger_hurt so that when they try going into it, it'll just kill them?
 

henke37

aa
Sep 23, 2011
2,075
515
I don't think that it is possible to hide data when you are giving people all the data.