Okay, so today I wanted to mess around with shadows in Unity, specifically with this “shadow over ban pa” thing I’d heard about. I wasn’t really sure what it was, but it sounded cool, so I jumped right in.
First, I opened up Unity and created a new project. I decided to keep it simple, so I just added a plane for the ground and a few cubes to cast some shadows. Nothing fancy, just enough to see what’s going on.
Then I started playing around with the lighting settings. I added a directional light to simulate the sun and fiddled with its intensity and direction. I quickly realized that just tweaking the default settings wasn’t going to cut it for this “shadow over ban pa” effect I was after.
So, I did some digging. I found some forum posts and tutorials talking about different ways to control shadows. This “ban pa” thing seemed to have something to do with how shadows interact with transparent objects. That’s where I figured I needed to focus.
Experimenting with Transparency
- I made one of my cubes transparent by changing its material.
- Then I started messing with the “shadow casting” and “shadow receiving” settings on both the cube and the plane.
- I noticed that the transparent cube was still casting a shadow, but it was kinda faint.
This is where things got interesting. I stumbled upon a setting called “Transparency Sort Mode” in the Graphics settings. It was set to “Default,” but I saw there were a few other options. I switched it to “Perspective” and “Custom Axis” and messed with each, to see if any changes happened.
Honestly, I’m still not 100% sure what all these settings do. But after a lot of trial and error, I managed to get something that looked pretty close to what I imagined this “shadow over ban pa” thing to be. Basically, the transparent cube was casting a shadow, but it was also letting some light through, creating this cool, layered effect. It was like the shadow was being filtered or something.
So yeah, that was my little adventure with shadows in Unity today. I still have a lot to learn, but it was fun figuring this stuff out. I wouldn’t say I’m an expert on this “shadow over ban pa” now, but at least I have a better idea of what it is and how to maybe achieve it. It’s all about playing around and seeing what works, you know?
Anyway, I hope you found this little story of my experiments somewhat helpful. Or at least mildly entertaining. If anyone out there has any tips or tricks for dealing with shadows, especially this “ban pa” type thing, feel free to chime in. I’m always up for learning more. See ya.