Broken Lighting + Pink Squares In Reflections

Discussion in 'Mapping Questions & Discussion' started by butter_milch, Feb 13, 2011.

  1. butter_milch

    butter_milch L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    After compiling and starting the map I'm working on I get the reflection of pink squares on water and glass plus the rocks I use in the map recieve different lighting although their lighting values are all the same.

    Here are two screens of the bugs + a console screen:

    1. the rock on the left is much darker than the rest: http://saved.im/mtgwnjazbnq1/tf2mpbg1.jpg

    2. pink squares reflected on glass: http://saved.im/mtgwnja0c293/tf2mpbg2.jpg

    3. console with various error messages: http://saved.im/mtgwnja1zwl1/tf2mpbg3.jpg

    Also, it happens with all compiling methods, fast and final. I don't know what to do, Google couldn't help me.
     
  2. Steff0o

    Steff0o L6: Sharp Member

    Messages:
    295
    Positive Ratings:
    115
    • Thanks Thanks x 1
  3. Another Bad Pun

    Server Staff Another Bad Pun over my dead body

    Messages:
    585
    Positive Ratings:
    1,212
    To fix the pink checker board squares, you need to add some env_cubemaps.
    Once you put them in the level, (one in about every room,) compile your map. It will look the same, but to get the refelctions right you need to go to the develepor console and type in these commands in order.

    mat_specular 0
    buildcubemaps
    mat_specular 1
    disconnect
    sv_cheats 1
    mat_reloadallmaterials
    sv_cheats 0

    Restart the game, load your map, and it will work.

    The dark rock which is strangely darker than the rest can be fixed using this tutorial by Youme: http://www.nodraw.net/2010/12/lighting-compile-options/
     
    • Thanks Thanks x 1
  4. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    Don't worry about the console errors; they're skybox- and cubemap-related, and the ones about SOLID_VPHYSICS can be fixed by making those props nonsolid.
     
    • Thanks Thanks x 1