Hi, just getting started with Panda3d and python in general. So far learning python has been a breeze and I love that. Haven’t messed with panda much yet but was hoping for some guidance for some long term goals. Hope one of you gurus can help.
The game I want to make eventually I think will require some sort of shadow system. I think it will be unique in that it will need 2 separate systems. One will act as visibility and other will be standard shadows from lights. It’s hard for me to put into words so here is a sketch that may help get my point across.
So the camera is a top down style view. Anything not in line of sight of the character is the red area. The gray area are shadows from the lights in the map.
I’m imagining the player acting as a specialized light source to black out areas he can’t see while rest remains visible. This visible area is then lit by the lights in the map which can cast the regular shadows. The point is so you don’t know what’s around a corner until you can see it. It also should have an interesting visual effect if I can pull it off.
Do I have the right idea? Is there a better way to render only areas in line of sight and have only the map lights be using a shadow system? This is obviously out of my league for the moment but I’m just trying to get an idea what I need to aim to learn. Will this require modifying the panda3d source or can this all be done through python scripts and other means?
Any insight is much appreciated.