Problem reflecting a skybox. HELP!

Discussion in 'Mapping Questions & Discussion' started by beasthunter, Sep 10, 2009.

  1. beasthunter

    beasthunter L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    People !May be this post isnt new. My glass surfaces including water dont reflect surrounding world.There are emo squares(black and pink) instead. Some one told that there is a problem with HDR skybox but im not so experienced to fix this.

    PLEASE HELP!

    many thanx

    P.S. sorry for my English
     
  2. Pilk

    Pilk L2: Junior Member

    Messages:
    66
    Positive Ratings:
    4
    Last edited: Sep 10, 2009
  3. Altaco

    Altaco L7: Fancy Member

    Messages:
    485
    Positive Ratings:
    121
    What you need to do is place env_cubemap entities around your map, usually 1 in each distinct area. and near reflective surfaces, about 64 units off the ground is typically good (eye level). Then run these commands:

    -load the map
    -mat_specular 0
    -buildcubemaps
    -disconnect
    -mat_hdr_level 0
    -map <mapname>
    -buildcubemaps
    -disconnect
    -mat_specular 1
    -mat_hdr_level 2
    -reload map and enjoy

    This will use the env_cubemaps as places to take snapshots of your map from, which it will use as reflections, getting rid of those pink and black checkers.
     
  4. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    Alternatively, my sig. Maybe I should update the VDC page as everyone seems to link to that...
     
  5. beasthunter

    beasthunter L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    thank you for attention Altaco. of cource it is easier to post a link than explain me. I used cube maps but they didnt work. and actualy i was asked about default reflection (like in water)
     
    Last edited: Sep 10, 2009
  6. Peterm

    Peterm Banned

    Messages:
    171
    Positive Ratings:
    8
    Check the sdk_skybox folder in hl2 mapsrc might help ;)
     
  7. Dr. ROCKZO

    Dr. ROCKZO L8: Fancy Shmancy Member

    Messages:
    580
    Positive Ratings:
    159
    There goes your Signature again Cameron, being useful. We really need to publicize Cubemaps as most people think that placing an env_cubemap fixes it..
     
  8. Cameron:D

    Cameron:D L6: Sharp Member

    Messages:
    363
    Positive Ratings:
    146
    People often link to the VDC page, so when I get around to regeristing there I'll add that in.