Car Undertray shadow at night

Discussion in 'Car Modding' started by Gijs van Elderen, Oct 22, 2016.

  1. Gijs van Elderen

    Gijs van Elderen Registered

    Joined:
    May 1, 2014
    Messages:
    1,393
    Likes Received:
    469
    I recommend to use a shader that doesn't accept light.
    Because: the "unticked omni and spot" doesn't work always as it should. It can cause flickering at night.
    If you have driven at the Nordshleife v2.01 at night you'll notice the track-lines on the GP-layout flicker. They are forgotten to be tagged with omni and spots.

    But if a T1 doesn't cause issue, you can go with that.
    I guess it's same like you do with AO undertray for renders.
    But the difficult part is make it look good while the car is in motion.
    Distance to the track surface needs to be minimal.

    I work with gJED: Alpha sorting doesn't work or isn't implemented yet. So it's at "0" for me. Changing this doesn't stick. :(

    But this undertray shadow decal is a decal on the track surface. So i would use the 1-4 track range.
    What WiZPER did made sense. Sorting at 2 = Just above tracklines.

    Anyway, You don't want to render the undertray shadow decal infront of the car window. :cool:


    To all: I didn't expect the interesse in this. So I appreciate the intressed to make this work. :)

    But keep in mind, you'll end up making a compromise between what you are used too during day time and at night when there used be nothing.
     
  2. yoss

    yoss Registered

    Joined:
    Nov 4, 2010
    Messages:
    1,022
    Likes Received:
    2,713
    done

    [​IMG]
    [​IMG]
    undertray plane need to be lowered , some view in different angle show the shadow dissapear but the way work fine
     
    Guimengo and Eddy like this.
  3. Tuttle

    Tuttle Technical Art Director - Env Lead

    Joined:
    Feb 14, 2012
    Messages:
    2,480
    Likes Received:
    775
    If u use a track sorting value, soon or later, u will get a sorting issue in those tracks using more than 2 pass. For example, if I want road edges or crackle to be rendered after stripes, and after a second transition, like a grid, you will get those decals rendered on top of the undershadow. In general, since is a car mesh, should not use any track sorting priority number. I know is a hack, but should not create false positives in track developing. :)
     
    Gijs van Elderen likes this.
  4. yoss

    yoss Registered

    Joined:
    Nov 4, 2010
    Messages:
    1,022
    Likes Received:
    2,713
    this one is without alpha sorting , so don't worry !!
    just have follow the gijs way
     
    Last edited: Dec 1, 2016
  5. Tuttle

    Tuttle Technical Art Director - Env Lead

    Joined:
    Feb 14, 2012
    Messages:
    2,480
    Likes Received:
    775
    I was not replying to u yoss, but the post above yours, so dont worry. ;)
     
    yoss likes this.
  6. yoss

    yoss Registered

    Joined:
    Nov 4, 2010
    Messages:
    1,022
    Likes Received:
    2,713
    :)
     
    Tuttle likes this.
  7. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    I guess a higher sorting value makes sense, you just don't want it to take priority over rim blur etc.
     
  8. stonec

    stonec Registered

    Joined:
    Jun 19, 2012
    Messages:
    3,399
    Likes Received:
    1,489
    In rF1 we had undercar shadows in the night visible without any sort of hacks as in image below. Can someone shed light on why it doesn't work in rF2 without editing the mods? From my understanding the dynamic shadows never work with omnis, but both rF1 and rF2 have a static undercar shadow defined for almost each mod. For the first mentioned it works, for the other it doesn't.

    [​IMG]
     
  9. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    I belive it's related to the introduction of HDR. The emissive setting of materials also behave very differently in rf2 at night - other shaders and techniques are requied now.
     
  10. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    Okay, this hack is not working, especially a problem on high downforce cars, as it follows the car body and get pushed into the ground at high speed... S397 is looking into a proper fix.
     
    T1specialist and Bjørn like this.
  11. Bjørn

    Bjørn Registered

    Joined:
    Oct 4, 2010
    Messages:
    1,821
    Likes Received:
    919
    Thanks for testing, Tomas!
     

Share This Page