Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Terrain texture not receiving light for some reason on mobile

Discussion in 'Global Illumination' started by jag45, Sep 23, 2023.

  1. jag45

    jag45

    Joined:
    Feb 11, 2017
    Posts:
    10
    I have a tarrain object that has 5 textures on it. Ive just started working on lighting for my scene. In my time with unity I've never messed with lighting much and I get some concepts and watched videos but things just don't seem to be working for my game. I am going to release it on PC and on mobile.

    There is one texture on my terrain that is creating a strange effect on the mobile side. The overall scene is darker than the PC version and I have no idea why.

    This image is from my computer in the Game scene.
    upload_2023-9-23_11-40-55.png


    This is from my phone, which I have on the Google Play Store.
    upload_2023-9-23_11-43-0.png

    I had tried baking a lightmap but it makes it look like this:
    upload_2023-9-23_11-45-21.png
    which makes my character all black then washes out the terrain.

    These are my textures for the terrain and it seems the last one on the list (dirt) is the one that is the darkest on the phone version.

    upload_2023-9-23_11-48-1.png


    Let me know if you need any more information about my scene or settings. At this point, I'm stuck and can't figure out why this is happening.
     
  2. jag45

    jag45

    Joined:
    Feb 11, 2017
    Posts:
    10
    Issue resolved. Someone replied on reddit with another forum, basically, I needed to clear the baked lightmap data from the lighting window. This fixed the issue.