Assets of The Season
Assets updates
Weapon FOV

Weapon FOV

Updated
2024-03-05
Free
Materials
Engine version
5.1
Download type
Asset Pack
File size
36.5 MB
Registration required
Description

Material node that implements separate Weapon FOV for FPP/FPS games.

Weapon FOV is a very useful material node that improves the immersion of holding weapons in a first-person camera. This package will take your FPP camera view to industry standards without any noticeable additional cost.

 

  • Separate weapon FOV - You can set a custom field of view per weapon. Fixes the weapon stretching when changing the game FOV. Useful for calibrating weapon size on the screen independently of the camera.
  • Weapon depth priority - Weapon scale in camera Z-axis (depth). This feature fixes the intersection of weapons with walls. The Player capsule radius can be smaller and the weapons can be rendered over the environment.
  • Near clip plane - Modify the near clip plane to see more/less mesh in the camera.
  • Weapon offset - Applies a custom position of the weapon in camera space.
  • Effect blending - Implements the transition between FOV space and world space. Useful for projectiles and character body that is standing on the ground.
  • Material node - Can be customized per weapon or controlled in global material parameter collection.
  • Efficient - Calculated per-vertex, very fast no need to use the separate pass to fix problems with a weapon.
  • Zooming - Change the camera FOV when the weapon stays the same. That makes the scope zoom effect really easy to implement.
  • Sniper scope - Multiple parameters: lens refraction, aberration, overlays, etc.
  • Bullet time - bullet camera with a slow-motion effect.
  • 3D hud - Rendering meshes on screen.

 

Technical Details

Common technical issues!

  • Sometimes occlusion culling marks meshes as invisible so it is not rendered. It can be fixed by increasing the size of the bounds in the mesh component (Bounds Scale) or mesh asset (Bounds Extension).
  • This package is intended only for use in first-person camera games.
  • Meshes can't receive shadows properly

 

Materials: 5 examples of using material nodes (Weapon/Hands/Projectile)

Functions: 3 (blend, default, scope)

Target Platforms: All platforms but not for VR

 

Demo controls:

WSAD - Movement

LMB - Fire

RMB/E - Zoom mode

Mouse Wheel Up/Down - Change zoom

Q - sniper sight

 

Update 1.1

  • updated example map
  • material layer
  • zooming mode, laser

Update 1.2

  • sniper weapon scope
  • example 3d hud mesh

Update 1.3

  • bullet camera example
  • physical reactions on hit and blood
  • muzzle flash particles

 

Easy to integrate with a great Weapon Kit

 

Additional Notes: The package DEMO folder contains example content from Epic (Starter Content, Shooter Game) used only for demonstration purposes. 

Comments
Comments is not yet
Add Comment
Please register
Other interesting assets