Anyway, I've been trying to work with world portals and trying to make a frame for it.
The first thing I did was to edit a stock texture from the game, by adding a $color option to the .VMT.
The .VMT here:
LightmappedGeneric
{
$baseTexture "Tile/white_wall_tile003a"
$surfaceprop metal
$bumpmap "tile/white_wall_tile003_height-ssbump"
$ssbump 1
$normalmapalphaenvmapmask 1
$envmapcontrast 1
$envmapsaturation 1
$envmaptint .3 .3 .3
$detail "detail\white_floor_detail_height-ssbump"
$detailscale 80
$detailblendfactor 1
$detailblendmode 10
$color "[0 0.31 0.52]"
"%keywords" "portal2 chamber"
}
However, I've encountered a small problem.
The texture works if it's a func_detail.

But, once I turn in into a func_brush, it shows the original texture, without the color.

And, shining a light using a flashlight to it shows the color when it's a func_brush.

I have no idea what I'm doing wrong here. If anyone knows, please do let me know. Thanks!

