Allowing Portals on Materials
LightmappedGeneric
{
$basetexture tilefloor
$surfaceprop glass
$bumpmap tilefloor_Bump
}
I do know how to stop the use of portals on a surface using the "%noportal" 1 command in the VMT but is their an inverse to that?
Yottabyte wrote:
I have chosen glass as the materias using this ($surfaceprop glass) line in my VMT. And the glass material, by default, won't materialize portals.
that's an interesting conundrum.
you could try using the tile surfaceprop, that sounds similar and accepts portals.
p0rtalplayer wrote:
you could try using the tile surfaceprop, that sounds similar and accepts portals.
Ultimately using the tile surface will be my backup plan and I have tried using the tile surfaceprop. True this surface does allow portals, you know... the point of Portal, but the collision sound isn't what I was hoping for.
Off topic, but still related to this material; is their a way to make the surface more reflective? I haven't looked though the Source Dev Wiki for this one yet. And if I can make my tiles more reflective/glossy it's surfaceprop won't be as important to me.
That would be with the reflective map.
Remmiz wrote:
That would be with the reflective map.
This will helps but my only concern is that it says The reflection is not dynamic. Will that mean that the player or anything that moves won't be reflected?
Yottabyte wrote:
Remmiz wrote:That would be with the reflective map.
This will helps but my only concern is that it says The reflection is not dynamic. Will that mean that the player or anything that moves won't be reflected?
True, unfortunately. I think there is a func_mirror or something similar, but I don't know if it's present in Portal and it doesn't reflect the player, which is rather important in Portal.
Omnicoder wrote:
reflective_mirror is unacceptable for use in a map as it is low res, grainy, glitchy and doesn't work with Portals. There is no way to do dynamic reflections on brushes.
Ah.
Well then, disregard my earlier post.