Edit 2: I figured out how to fix it. Exit from Steam. Don't just close the window. You need to fully exit from the program. Then follow these instructions: https://www.reddit.com/r/SteamController/comments/zu05wc/steam_overlay_and_windows_desktop_scaling/ Then reopen Steam and you'll be able to use your monitor's full native resolution, even if your desktop is scaled over 100%. That will also place the see-through leaves in the right place. You can use the see-through leaves if you switch to the beta branch. I'm going to leave the default branch as-is until I can figure out how to break free from the desktop scaling problem without additional configuration.
*******************************
Edit 1: Nevermind. It's not working. It works on my own development build, but not in the Steam version. In the Steam version, the see-through section is in totally the wrong location. In a possibly related problem, I can't run the Steam version of the game at full resolution if my desktop is scaled to 150%, but my development version will run at full resolution regardless of desktop scaling. I'm not sure what's going on there. It's past midnight here so I'm rolling back the update and I'll try fixing this all in the morning.
*******************************
So I've spent the last few days working on a feature that I thought would be pretty easy to implement. You can now see your character when you walk under tree leaves.
I had to do a lot of testing at different resolutions and aspect ratios, and windowed and fullscreen, and I think the effect should show up correctly on all displays.
But there are a few things that I think I still need to work on and I'd like to get your feedback.
The way the effect works is by altering the leaves' transparency mask, which is basically an outline of what's visible and what's not visible. That had the unintended consequence of messing up the shadows, and when the leaves cast shadows, the trees would flicker. I thought that looked really bad, so for now the leaves are not going to cast shadows.
I'm going to keep working on this feature, and I'll try to figure out a good way to make the shadows and the see-through effect work at the same time. But for now, what do you think? If I hadn't pointed out the shadows to you, would you have noticed? Are the missing shadows really obvious and you would rather have shadows than the ability to see through the leaves?
For now, this effect can only be seen on the large trees that are mostly on the edges of maps. I can also apply this same effect to the smaller colorful trees around the world, but they will also lose their shadows. Do you want this effect on the smaller trees?
When you walk behind trees, you still see the branches. I can make the branches disappear too, but I kind of like the way that you can still tell you're behind a tree when you can see the branches. And if I make the branches disappear then they too will stop casting shadows.
So to sum up, this ended up being a very large undertaking, and it's still a little rough. I'd love to hear your feedback on it so far.
In addition to seeing through the leaves, I also changed the Garrucha's damage scaling, so it scales with Bronze instead of White.
