How to enable shadows on decal roads?

Discussion in 'Content Creation' started by aljowen, Sep 28, 2013.

  1. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    On a map that i am making shadows are not being cast onto the roads. How would i fix this?

    Thanks
     

    Attached Files:

    • screenshot_00015.jpg
  2. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    Sorry for bumping this, but i still haven't figured it out. Anyone?
     
  3. LJFHutch

    LJFHutch
    Expand Collapse
    Environment Artist
    BeamNG Team

    Joined:
    Aug 4, 2012
    Messages:
    667
    Check the official materials, I'm pretty sure that's z-depth.
     
  4. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    I had to add this to the material file:
    Code:
    translucentZWrite = "1";
    Thank you for pointing me to the correct place!
     
  5. LSDMT420

    LSDMT420
    Expand Collapse

    Joined:
    Aug 23, 2013
    Messages:
    386
    Afraid I'm not sure what would cause this. I added a decal road and a tree on my map to check, and the shadow renders fine. try toggling a few options in the terrain settings for your level, are you using a scatersky or sun and skybox? Using default decal roads and trees it works for me, so that would make me think the problem is something else in your terrain.

    Screenshot (18).jpg

    Edit: oops a little late it seems lol
     
  6. Holland

    Holland
    Expand Collapse

    Joined:
    May 23, 2013
    Messages:
    982
    I'm not to sure either, I mean I think this happened to me before, but all I did it remove the skybox and sun, and added both new ones and it worked just fine for me.
     
  7. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    It is probably because i had created my own road texture. But the map looks so much better with shadows on the roads.
    screenshot_00016.jpg
     
  8. Holland

    Holland
    Expand Collapse

    Joined:
    May 23, 2013
    Messages:
    982
    Wow a WHOLE lot better, but why is the grass like orange?:p
     
  9. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    Because of a radioactive sludge spill :p
     
    #9 aljowen, Oct 25, 2013
    Last edited by a moderator: Oct 21, 2015
  10. Holland

    Holland
    Expand Collapse

    Joined:
    May 23, 2013
    Messages:
    982
    Can't see the video.:confused:
     
  11. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    Youtube made it private, even though i told it to make it public. :/

    Should be good now.
     
  12. Holland

    Holland
    Expand Collapse

    Joined:
    May 23, 2013
    Messages:
    982
    Very good work here! I know it does get kinda sicking using the same textures every time one makes a map. But your doing a great job making you own.;) Are you currently making the grass texture?
     
  13. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    The grass texture was made from a photo of grass i took in Scotland when i was bored on holiday, then i edited it in photoshop elements so that the sides matched.
    The rock image was taken about 500m away from the grass, its actually set into the beach. Then put it into photoshop and did more complex things with it.

    Here are the originals, taken with my now ancient (smart phone terms) galaxy s2. Feel free to use them if you want, im not going to post the textures yet because they are not finished. But i plan to release them as a free texture set when i am done.
     

    Attached Files:

    • Grass [Original].jpg
    • [000845].jpg
  14. Holland

    Holland
    Expand Collapse

    Joined:
    May 23, 2013
    Messages:
    982
    That's great! I'm glad someone is making their own textures for their maps! Now do you plan to have grass like this?

    (imported from here)
     
  15. aljowen

    aljowen
    Expand Collapse

    Joined:
    Oct 21, 2012
    Messages:
    1,677
    Hopefully, it will just be really hard to make.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice