Displacement has weird lighting in hdr compile

Avatar
Motanum
248 Posts
Posted Jun 08, 2013
Hey everyone!

When I compile my map in normal, it looks fine. But when I wanted to test the HDR lighting, it looks very weird on the displacements! http://steamcommunity.com/sharedfiles/f ... =151478230

The texture I used for it is: nature/blendrockdirt_tunnel03a

The compile options I used are:
Full compile - HDR only
$light_exe -- -textureshadows -hdr -StaticPropLighting -StaticPropPolys -game $gamedir $path\$file

I tried building cubemaps, but it doesnt not seem to help.

Thanks!

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Jun 09, 2013
Replied 15 hours later
There is a rock texture that does that and I had that problem previously in tc_vitrified when compiled with HDR. I believe it is something to do with a variable inside the .vmt.

Try using a different blend texture or make your own.
Below is my .vmt for custom texture: blendrockdirt_tunnel03c

WorldVertexTransition
{
$basetexture "nature/rockwall_cave02a"
$basetexture2 "nature/dirtfloor004a"
//$seamless_scale ".0015"
$surfaceprop rock
"%noportal" 1
"%keywords" "portal2 underground"

"GPU>=1"
{
$blendmodulatetexture "nature/rockblendtexture001a"
$bumpmap "Nature/rockwall_cave_02a_height-ssbump"
$ssbump 1
$normalmapalphaenvmapmask 1
$envmap "cubemaps/cubemap_cave01"

$envmapcontrast "0.0"

$envmaptint "[ .035 .035 .035 ]"
}
}

EDIT: Looking into my vmf I still use that texture. Not sure what I actually did to fix it... The only reason I commented out the scaling was because I wanted to use that texture inside the 3D skybox.

Avatar
Motanum
248 Posts
Posted Jun 09, 2013
Replied 14 hours later
Thanks! I shall give it a try tomorrow!
Avatar
Lpfreaky90
2,842 Posts
Posted Jun 27, 2013
Replied 17 days later
Bumping here; there was a problem with this specific texture on high or very high shaders.
I contacted valve about it and it is fixed with a small little patch now! :biggrin:
Avatar
josepezdj
2,386 Posts
Posted Jun 27, 2013
Replied 1 hour later
So, I guess it's an automatic fix that we should be having already installed right? :biggrin:
Advertisement
Registered users don’t see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Jun 27, 2013
Replied 2 hours later

josepezdj wrote:
So, I guess it's an automatic fix that we should be having already installed right? :biggrin:

Yup, it should be a very tiny update to portal 2 :smile: