top of page
2024-08-30 (2).png
Writer's pictureReallyBadGames

Saturday, August 31st Devlog

I haven't been able to do much work today and I also have a lot of other things to do today so I probably won't be able to make much progress.


I'm still trying to fix two major issues. The lighting and also the gaps in the mountains. For the lighting one of the issues is probably due to light leaking which I'll be trying to fix within the next few days.


There is an easy fix to the mountains issue but that would harm performance a lot so I'd prefer to look at other options. I already have created code to adjust the size of the blocks height-wise.


I'm thinking about having a system where I detect the difference between the bottom vertex of the previous block and the top vertex of the current block. Once I get that I can find the difference between the two heights and adjust the block size accordingly.


I have tried doing other methods of measuring the distance but it just doesn't work properly. I'm not that adept at this kind of math so that makes it harder. It seems the height difference is only calculated on one axis but not the other. The mountain issue has to do with the axis that is not being calculated.


I could easily fix this by generating more layers but that creates more unnecessary blocks which means more lag. So I'm trying to find a better option.


Besides that, I also need to fix the light leaking issue. I want to work on these two issues and get them fixed before I work on anything else. I've created a new method to help me solve these problems faster since I'm moving slower than I'd like.


For the next few days, I will be trying to fix these issues. I'm not sure how long these issues will take to solve. Once I get past these issues the light leaking, mountain gaps, and the lighting issues I'm still facing I can move forward with everything else.


It might take maybe up to 5 days to fix these issues depending on my time and how long it takes for me to find solutions to these problems.


Here is an issue with the lighting. The day and night system causes jittering with the shadows which I think is due to light leaking so I'll be fixing that. I have another light issue I will discuss later but I want to fix the mountain gaps and light leaking first.




6 views0 comments

Recent Posts

See All

Opmerkingen


bottom of page