Problem with lighting and grass :D

Discussion in 'Mapping Questions & Discussion' started by thekurnuttaja, Jan 2, 2011.

  1. thekurnuttaja

    thekurnuttaja L1: Registered

    Messages:
    27
    Positive Ratings:
    2
    Hello there, I'm currently working on a medieval KoTH map, but I have a weird problem with lighting and some props.

    Here is a picture that shows how it looks:
    [​IMG]

    And another problem is that I cant find the cool grass effect used in Degroot Keep. For me the texture is just like flat moss without the grass or flowers. And I copied the texture directly from the decompiled Degroot Keep.

    :(
     
  2. Huckle

    Huckle L4: Comfortable Member

    Messages:
    150
    Positive Ratings:
    87
    It seems like the point of origin is different for different models. Since the point of origin is what decides the lighting for the entire model, having the point in shadow will make the entire model darker.

    What you can use is a info_lighting entity and apply it to all different models and they will all be lit the same way.

    If it's just one big model, I have no clue. :)

    For the grass, you probably need to paint the alpha on a displacement (it needs to be a displacement to take alpha textures).
     
  3. Mr. Happy

    Mr. Happy L6: Sharp Member

    Messages:
    320
    Positive Ratings:
    144
    Better yes use -staticproppolies in vrad options to override origin lighting and create self shadowed lighting at each vertex.
     
  4. grazr

    aa grazr Old Man Mutant Ninja Turtle

    Messages:
    5,436
    Positive Ratings:
    3,557
    -staticproppolys should only be an option for late beta/rc version maps, due to the increased compile time (and i believe file size). It shouldn't be too much trouble throwing in a info_lighting in your sky and specifing all these trims with this lighting origin.

    As for the grass, you need to specify a detail.bsp in your map options. If you don't have the right one (alpine/desert) it wont show.
     
    • Thanks Thanks x 1
  5. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    -staticproppolys doesn't increase filesize; -staticproplighting does. If I'm wrong, yell at YM.
     
  6. thekurnuttaja

    thekurnuttaja L1: Registered

    Messages:
    27
    Positive Ratings:
    2
    Ill test these tips out, lets see if it works
     
  7. thekurnuttaja

    thekurnuttaja L1: Registered

    Messages:
    27
    Positive Ratings:
    2
    Thanks alot, guys

    [​IMG]

    I knew im going to get help here :D