• 3D
  • FPS weapon Camera FOV

My player camera has FOV 55 deg with keep height which is ok for mobile game background and my weapon has more distortion because it is closer to camera

can I have different camera only for weapon with less FOV? and overlay on main scene ?

need help!

You mean like render your scene and your weapon in different scenes then composite together? You might be able to use viewports for that, but I'm not sure it's a good idea for mobile games since it will likely affect performance.

@Megalomaniak Here is example

I am concer about only FOV Field of view of weapon

some viewport example i found

Is there any way to remove background keeping all direct and ambient light information? or is it ok with world environment ?

what is best practice for optimize performance?

I want to set up camera for my FPS weapon with less FOV using cull mask layer

is this right way?

I'd say viewport is certainly a valid way, but is it the most performance optimal? I'm not sure. For the background though I do believe it might take a separate environment node if going with the viewport solution.

@Megalomaniak i have managed 2nd camera with different FOV new concern is how align canvas layer texture in to center?

On the Viewport container, set the anchor to center, though that may have its own issues. You can set the anchor positions of Control nodes in the Godot editor by pressing the "Layout" button when you have a Control node selected.

Finally :3

@TwistedTwigleg by adding viewport container solved problem, Here is node tree, it is serving my purpose for now

@Megalomaniak @TwistedTwigleg Thanks for answering all my questions

I have tested this level in my android infinix note 5 stylus phone experience little bit lag after adding 2nd camera Hope there will be better way to enhance performance in future update of Godot

Proceeding for Art work it going to be a Sci - fi Environment level just Fps player walking, weapon, music and android export