Open MindVisceral opened 7 months ago
-put model last render queue; issues - draws the gun over exisiting pixels, which is inefficient -Custom Render Pass - put model first in render queue, and then stencil it so nothing gets drawn over it; issue - too complicated for our case
Possible workarounds: -render models on a separate viewport; issues - breaks shadows on models, certainly breaks bullet trails
Tried this, it indeed breaks shadows and bullet trails. Doesn't seem worth the effort to fix that. I'll try another method.
Tried this, it indeed breaks shadows and bullet trails. Doesn't seem worth the effort to fix that. I'll try another method.
On the other hand, this worked very well for Wrought Flesh. Perhaps this method is worth revisiting. Trails remain the biggest problem here.
Before I tackle this, I will attempt to add a body model rig to the Player with working IK hands and legs. This issue can be solved later.
Common issue with FPS games
Possible workarounds: -a shader??? -make the gun move out of the way when close to a surface; issues - a lot of work, possibly many edge cases -make the guns very, very tiny, but close to the Camera; issue - might break bullet trails
-render models on a separate viewport; issues - breaks shadows on models, certainly breaks bullet trails