Render Weapons always on top - Unity FPS Weapon Render Layer - SRP
У вашего броузера проблема в совместимости с HTML5
Now we are using my new asset pack Post Processing Texture Overlay for creating a custom layer. This custom render layer will render everything related to the first person view. This script will prevent clipping of weapons and that they stick in the wall.
This approach is used by all modern shooter. If you are looking for a tutorial using the old render pipeline look at jimmy vegas and weapon clipping.
His approach does not work anymore with the scriptable render pipeline, so this was my time to create a new one.
=== related stuff ===
Raised Issue: https://issuetracker.unity3d.com/issues/black-background-when-using-camera-clear-flag-depth-only-in-lwrp-only
Write a custom post process: https://github.com/Unity-Technologies/PostProcessing/wiki/Writing-Custom-Effects
Post Processing Texture Overlay (for SRP)
Asset Store: http://u3d.as/1ycW
Github: https://git.io/fjgm3
======
Become a patreon: https://www.patreon.com/ditzelgames
#ditzelgames #unity #gamedev
Become a patreon: https://www.patreon.com/ditzelgames
#ditzelgames #unity #gamedev