In only this specific scenario, I get an odd bug- the situation is described as follows:
-DX11 mode
-Any kind of first-person mode
-Using a weapon in first-person
The problem is that the shadows on the screen, not geometric shadows, but shadows that are already in screen space, end up on the weapon and geometric shadows are not accurately calculated on the weapon. For instance, say there is a tree in the distance that casts a shadow on the ground. If my gun (in screen space, a 2d set of pixels) intersects the shadow (also in screen space) then there is a black line across the gun. It is extremely annoying, and I'm wondering how I would fix it.
I know of a trick used in old FPS games, where depth-sorting is turned off for the weapons so that it won't look like it's going through walls if your standing next to a wall, and I'm thinking perhaps they do this in the UDK?
This does not happen in DX9 mode, this does not happen in any other view than first-person, and it does not happen on other things other than the weapons. How can I fix this?
If the problem needs further description, or a screenshot perhaps, I would be happy to provide.
Thank you in advance for whomever can help.



Reply With Quote




Thanks in advance!


Bookmarks