I am making a 2D sandbox like Terraria and Starbound. This is my game
Light fills the whole terrain, but I do not want this. I want the following:
You are probably using Directional Lighting, which illuminates the entire terrain the same way in the direction you created it. You can use Spot Lights or Point Lights, which will illuminate only the surface that you want.
Source: https://habr.com/ru/post/1694886/More articles:What is a clustered index table? - databaseCouchDB Performance: 1.6.1 vs 2.1.1 - performanceКак получить имя аргументов, переданных в блок? - crystal-langUnity - 2D shader / lighting like Terraria or Starbound - c #How to extract used byte array from ByteBuffer? - javaphp count the number of days between 2 dates when an excess of 1 hour adds another 1 day - phpHow to achieve Terraria / Starbound 2d lighting? - 2dWhy does this code cause an infinity loop when '|' is introduced in C ++? - c ++How to reset std :: cin when using? - c ++.Net Core Override Controller Route for Universal Controller - c #All Articles