Noob help - All my reflective textures have pink chequers in them.

Discussion in 'Mapping Questions & Discussion' started by garywoo, Jul 11, 2008.

  1. garywoo

    garywoo L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    I just can't get rid of them, for example i have attached a small 1 CP map and the control point model has these squares on it, please download it and see.

    I don't have any fancy entities in, just the ones to make the CP work and the player spawns.

    Thanks in advance :cool1:
     
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    What you need is to put an env_cubemap somewhere in your map. Anywhere.
     
  3. Hawk

    Hawk L7: Fancy Member

    Messages:
    419
    Positive Ratings:
    212
  4. garywoo

    garywoo L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    I don't want it to be HDR because i haven't compiled with HDR, does that change anything?
     
  5. Jazz

    Jazz L5: Dapper Member

    Messages:
    240
    Positive Ratings:
    23
    No it doesn't, it says you can only do HDR if you have cubemaps. That doesn't mean you can't have cubemaps without HDR, it just means that if you want to put HDR (which you don't) than you NEED to have the cubemaps in first.
     
  6. Laz

    Laz L7: Fancy Member

    Messages:
    461
    Positive Ratings:
    34
    cubemaps tell reflective surfaces what to reflex, your map should have cubemaps throughout them, as they also control reflections on the player weapon and stuff. especially in areas of high contrast. so you dont have your gun reflecting lots of light in a dark room (or vice versa)

    put the cubemaps at about eye height, gives the best effect.
     
  7. garywoo

    garywoo L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    so the building cubmaps routine happens in game, and does that save the changes to the .bsp so i can give the map to a server and everyone will have no problems with pink squares?
     
  8. garywoo

    garywoo L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    Ok i have put env_cubmaps in each room of my map at eye level. then i did this:

    Code:
    mat_specular 0
    buildcubemaps
    mat_hdr_level 0 (to go to LDR)
    map mapname (to reload map)
    buildcubemaps
    mat_hdr_level 2 (to go back to HDR)
    map mapname (to reload map)
    mat_specular 1
    
    and restarted the server.

    The capture point no longer has any pink colour in it but the windows do.
    [​IMG]

    before i did the building cubemaps routine, everything was fine (no pink anywhere)

    what should i do now, or what have i done wrong?
     
  9. garywoo

    garywoo L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    ok, i removed all but one env_cubemap in the center room in my map and compiled it again. then i did the cubemap routine i posted above. there is still a faint amount of pink on the glass and CP model.

    [​IMG]
    [​IMG]

    This is confusing the hell outta me :/
     
  10. Demitri Omni

    Demitri Omni L2: Junior Member

    Messages:
    53
    Positive Ratings:
    3
    Make sure you don't have ANY leaks, otherwise water and some models will continue to do the missing texture crap.
     
  11. MangyCarface

    aa MangyCarface Mapper

    Messages:
    1,616
    Positive Ratings:
    1,275
    You're doing it wrong. Do what you did before but when you restart the server, mat_reloadallmaterials
     
  12. Hawk

    Hawk L7: Fancy Member

    Messages:
    419
    Positive Ratings:
    212
    If you rename your map file, it breaks the connections to the cubemaps. Make sure the end product is the same name as what you compiled.