Black texture problem

Some textures come out as very dark after compiling my new map.

By makaiify 9 months ago

Hello.

I've been struggling with this problem for a while now. Basically, I made a new map for CS:GO. Everything goes fine until I finally start testing it ingame. There is this one spot in my map (on the roof, in a very large room) where the wood texture is randomly black. Now, as I said, it's only happening on that one spot, rest of the map is fine.

Here's what I have tried already: - Compile without HDR - Compile with HDR - Full compile - Adding a light source near the spots (just to test if it would brighten up the area) - Moving the light sources near that area - Cubemaps

None have had any affect what so ever. Here is a screenshot of that area:

Screenshot

Please help.

5 posts 1,032 views
  • You must be a member

Replies

  • Troopster's Levels
    • P3: Peasant
      Points: 15,873
    • C1: Member
    • A5: Veteran
      Account Age: 5 years
    Posted 9 months ago

    This happended in my map a couple times, i just kept reapplying the texture to the face. I dont know how exactly i fixed it but it doesnt do it to me anymore. It is a VERY annoying bug and it pissed me off to no end.

    Makin dem maps.
  • will2k's Levels
    • P3: Peasant
      Points: 10,769
    • E4: Teacher
      EF: 117
    • C3: Moderator
    • A4: Graduate
      Account Age: 2 years
    Username
    will2k
    Map Critic
    Posted 9 months ago

    Did you check errors in Hammer (Alt+P) to see if there is an invalid solid causing this issue? Is your compile log clean? Does your console output any errors?

    Are you sure you're not using a model-based texture (vertexlit) instead of brush-based texture (lightmapped)?

    If this is a brush, then most probably it has some weird angles that are not getting light bounces; your best bet is to delete it and rework it and see if it helps (you might slightly modify its shape too)

    If this is a prop then make sure the origin is not hidden inside a brush (you can either add an info_lighting in a well lit area or compile with -staticproplighting parameter)

    Hope this helps

    Will2k

    User Title
    cosa dici!
  • makaiify's Levels
    • P2: Drudge
      Points: 2,450
    • E1: Helper
      EF: 2
    • C1: Member
    • A5: Veteran
      Account Age: 6 years
    Posted 9 months ago

    Thanks for the tip. I finally got it fixed. What I did was delete the affected brushes and remake them but slightly different. Here's the end result:

    All fixed

  • will2k's Levels
    • P3: Peasant
      Points: 10,769
    • E4: Teacher
      EF: 117
    • C3: Moderator
    • A4: Graduate
      Account Age: 2 years
    Username
    will2k
    Map Critic
    Posted 9 months ago

    Posted by makaiify

    Thanks for the tip. I finally got it fixed. What I did was delete the affected brushes and remake them but slightly different.

    Looks much better now. Glad I could be of help and good luck for the map :)

    User Title
    cosa dici!
  • K@rt's Levels
    • P3: Peasant
      Points: 8,480
    • E2: Guide
      EF: 21
    • C3: Moderator
    • A4: Graduate
      Account Age: 3 years
    Posted 9 months ago

    If a func _detail brush is covering a large part of another brush then often the bit left showing will render black or very dark because whats behind the func _detail isn't removed, just considered shadowed.

    You most often see this on the top step of a flight of stairs... the stairs themselves are usually just 8 or so units high, but often the top step isnt a step but the side of the floor brush on the upper level... and if the side goes down far enough behind the steps it gets completely shaded.

    Messiah
  • You must be a member