Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | David Saltares |
Hi ,
I am building a small FPS game and followed a tutorial to prevent weapons clipping through geometry. This involves having a ViewportContainer
, Viewport
and secondary Camera
setup where the camera renders a different layer than the main camera. Weapons are then put in the layer the secondary camera renders.
However, the viewport does not mix well with the main rendering, causing all sorts of artefacts. It’s as if the colour mixing was totally wrong.
Do you know what could possibly be wrong ? I have attached a lot of info about the issue and project in case that helps.
Thanks .
Video of the issue: Loom | Free Screen & Video Recording Software | Loom
Node setup walkthrough: Loom | Free Screen & Video Recording Software | Loom
Project files: GitHub - dsaltares/100-days-gamedev at issue/weapon-clipping-fix