# How I work with Function "Calculate Projection Matrix"

**URL:** <https://forums.unrealengine.com/t/how-i-work-with-function-calculate-projection-matrix/598628>\
**Category:** Virtual Production\
**Tags:** unreal-engine, UE5-0, question\
**Created:** [July 6, 2022, 6:03pm UTC](https://forums.unrealengine.com/t/how-i-work-with-function-calculate-projection-matrix/598628 "2022-07-06T18:03:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_0e4f53b51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0e4f53b51](https://forums.unrealengine.com/u/anonymous_user_0e4f53b51)\
**Post date:** [July 6, 2022, 6:03pm UTC](https://forums.unrealengine.com/t/how-i-work-with-function-calculate-projection-matrix/598628/1 "2022-07-06T18:03:35Z")

</div>

Hello community,

I am trying to adjust the projection matrix of a BP camera for a parallax effect.

I have found the function “Calculate Projection Matrix”. Does anyone have an idea how to work with it? And what the output should be connected to?

Thanks a lot!

 ![Screenshot 2022-07-06 195558](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/b/0/8b04c3d7124612b031b28e9d8489fc5c8a2b3713.jpeg)

---

<div class="post-metadata">

**Author:** ![Husky211](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/husky211/32/1193324_2.png) [@Husky211](https://forums.unrealengine.com/u/Husky211)\
**Post date:** [July 7, 2022, 4:29am UTC](https://forums.unrealengine.com/t/how-i-work-with-function-calculate-projection-matrix/598628/2 "2022-07-07T04:29:04Z")

</div>

😶‍🌫️

 ![UEForum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/0/3/003ac3de6287638647107efb4c5cf61effaa2027.png)  
maybe u want to do some kind of custom frustum culling 🤫

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0e4f53b51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0e4f53b51](https://forums.unrealengine.com/u/anonymous_user_0e4f53b51)\
**Post date:** [July 7, 2022, 9:54am UTC](https://forums.unrealengine.com/t/how-i-work-with-function-calculate-projection-matrix/598628/3 "2022-07-07T09:54:41Z")

</div>

Hello Husky!

That is a very good approach! Thanks for your answer!  
My final goal is to implement this parallax (see video below) and this discussion in a simple blueprint, since I have no C++ experience:

[Howto modify the projection matrix - Unreal Engine / Programming & Scripting - Unreal Engine Forums](https://forums.unrealengine.com/t/howto-modify-the-projection-matrix/287457)

If that is even possible. How do you see this?

If I understand it correctly, the blueprint always goes from left to right, from input to output.  
My idea would be based on your answer:  
Get Camera View → “Calculations between desired view projection offset and minimal view info projection offset” → calculate projection matrix → Get … plane

However, after that I think a set function would have to come. Something like “Set Camera View” to distort the view. But I can’t find a set function.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/4/4/c44427626e15c8ec7720e419aa7c56105131e0cd.png)

[(536) Off axis projection in Unreal 4 - YouTube](https://www.youtube.com/watch?v=-foNLFnrNRc&list=PLfY5wlb75yTa-bCtEawdoJjbpvbFZQQ-Z&index=14)

Many greetings!
