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. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

Question Chunk lighting

Discussion in 'Global Illumination' started by Michaeljackson6543, Jul 17, 2023.

  1. Michaeljackson6543

    Michaeljackson6543

    Joined:
    Nov 22, 2022
    Posts:
    2
    I was wondering if anyone knew how to do a chunk lighting system similar to the one in baldis basics plus like this


    I would really appreciate it as I have been trying to figure out how to do it for a couple months now
     
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    10,977
    Is that lighting dynamic or static? Does it change? Many approaches you could take, but need more information before we take one.

    The simplest (and silliest), would be to have separate materials for each section of the wall and manually set them to darker colors as you go along? It's not efficient, but if you are going for baldi's complexity in terms of graphics, it should be fine.
     
  3. Michaeljackson6543

    Michaeljackson6543

    Joined:
    Nov 22, 2022
    Posts:
    2
    It is dynamic lighting, and it can change colour and position. This is what it looks like, and if you look closely, you can see that the big cake in the middle has parts of it changing different colours because they are in individual chunks and the cake is just one big mesh, but if it was made so that it just changed the main colour of the object, it would change the entire thing instead of the different parts and I was hoping I could get something like this.
    ezgif-1-04e20de037.gif Custom_lighting_teaser.gif