You are browsing as a guest. Sign up (or log in) to start making projects!

9h 40m 21s logged

Devlog #8.1: UI and lighting

Today i have been focesing on the inviorment

UI

I have now linked up the hole UI. In the last devlog I had already shown the ui but now it also linked up properly with the game.


Day Night cycle

I am currently implementation a dynamic day/night cycle. Right now, the timing and transitions aren’t lining up the way I want them to, so i still need to do some fine tuning .


Shaders / shadows

This is where I’ve been strugeling. I’ve been trying to figure out how to implement proper 2D shadows. The issue is that the built in directional shadows in Godot aren’t really designed for top-down games. They make the sun’s shadows look infinitely long and completely distort the perspective. Every custom solution I’ve tried so far looks terrible. I’ve easily spent about 5 hours making custom shaders making a static shadow, but I’m still stuck.

If you have any experience with top down 2D lighting or custom shadow shaders in Godot, please let me know in the comments!

I could really use some help right now. The biggest problem is that the fastNoiseLite texture doesnt calculate the same in the shader as via the cpu which is also the thing that is hindering me in the ovelays.

0
8

Comments 0

No comments yet. Be the first!