Jump to content

[CS:GO] Bug - Lightmapped4way problem


Recommended Posts

Posted

Hello! New here, but definitely not to mapping. I've been mapping for over a decade at this point. I recently returned to Source engine after a long time in UE and it's been well...challenging. One of the issues I'm facing is with Lightmapped4way materials for displacements. There's this strange error where, if a displacement is viewed at a certain angle, the fourth texture (ALWAYS the fourth) gets very dark, and turns either brown or a muddy blue. There also looks to be some other texture mapped onto it, I sometimes see striations. I've checked the .vmt and couldn't find anything off about it.

ubMUIXP.jpg

4Vq1law.jpg

EDPtfRS.jpg

VhSzyKe.jpg

As you can see, the problem is pretty glaring.

Here is my vmt:
 

Quote

 

Lightmapped_4WayBlend
{
    "$basetexture"              "militia_classic/rockblend01"
    "$surfaceprop"              "rock"
    "$texture1_lumstart"        "0.0"
    "$texture1_lumend"          "0.5"

    "$basetexture2"             "militia_classic/sand01"
    "$surfaceprop2"              "sand"
    "$texture2_lumstart"        "0.0"
    "$texture2_lumend"          "0.5"
    "$texture2_blendmode"       "0"
    "$texture2_blendstart"      "0.8"
    "$texture2_blendend"        "0.9"
    "$texture2_uvscale"         "[1.0 1.0]"

    "$basetexture3"             "militia_classic/sand02"
    "$surfaceprop3"              "sand"
    "$texture3_blendmode"       "0"
    "$texture3_uvscale"         "[2.0 2.0]"
    "$texture3_lumstart"        "0.0"
    "$texture3_lumend"          "0.05"
    "$texture3_blendstart"      "0.8"
    "$texture3_blendend"        "1.0"

    "$basetexture4"             "militia_classic/sand03"
    "$surfaceprop4"              "sand"
    "$texture4_blendmode"       "0"
    "$texture4_uvscale"         "[2.0 2.0]"
    "$texture4_lumstart"        "0.0"
    "$texture4_lumend"          "0.2"
    "$texture4_blendstart"      "0.9"
    "$texture4_blendend"        "1.0"

    "$lumblendfactor2"          "0.5"
    "$lumblendfactor3"          "0.7"
    "$lumblendfactor4"          "0.4"
}

 

 

Any help is greatly appreciated. I'll definitely stick around and help whoever I can with their issues. Cheers!

 

Posted

Had a similar bug. I fixed it with looking at other 4wb materials, and using all parameters they used. My observation was that propably the missing detail  texture might lead to the problem, but it could be another value that I didn't recognize that I changed.

Quote

        "$detail"              "detail\dt_stone1"
       "$detailscale"         "[8 8 8]"
        "$detailblendfactor"   ".5"
        "$detailblendfactor2"  ".3"
        "$detailblendfactor3"  "0"
        "$detailblendfactor4"  "0"

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...