So I’m mainly working on an RPG, but it can get tedious and aggitating to only having one project(IMO). So in attempts to keep interest in my little RPG I decided I want to make a little FPS. I have a couple questions on two of the problems I’m not sure (yet) how to solve.
Here are the two “problems”:
-
a 3-D shooting algorithm. The way I’d want to do this is to find the center of my screen in any 3-D environment. I know how to do this if the with no camera rotations. I don’t want to use unProject I want to learn the math. If anyone knows what type of algorithm I might need to use, please lemme know :).(Screen 2-D to world 3-D) , the problem I see is if you rotate your camera on it’s Y-axis there’s no real way to tell if your looking towards the Z Plane or the X Plane…
-
Bullet holes and blood splatter on walls. I saw how TUER did it it looked like he just put a new plane object where the collision was. I find that method kind of cheesey(if that’s what he did). I was wondering if there was a way to actively change the texture of a quad smoothly at run-time? Would this be through the use of a shader(if so that’s gonna be complex)?
Any input, ideas, comments, concerns I may have would be excellent. The goal for this isn’t to have some immaculate FPS just a cheesey cube shooter or something haha.