# Docu for Projection Matrix

**URL:** <https://forums.unrealengine.com/t/docu-for-projection-matrix/439227>\
**Category:** C++\
**Tags:** opengl, projection-matrix, unreal-engine, UE4, CPP, question\
**Created:** [December 10, 2018, 2:52pm UTC](https://forums.unrealengine.com/t/docu-for-projection-matrix/439227 "2018-12-10T14:52:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ba51ce2e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ba51ce2e](https://forums.unrealengine.com/u/anonymous_user_ba51ce2e)\
**Post date:** [December 10, 2018, 2:52pm UTC](https://forums.unrealengine.com/t/docu-for-projection-matrix/439227/1 "2018-12-10T14:52:33Z")

</div>

Hi,

I’m trying to use USceneCaptureComponent2D with a custom Projection Matrix. But I can’t find much docu on it.  
For OpenGL there exist several tutorials, like [song ho](http://www.songho.ca/opengl/gl_projectionmatrix.html), [george](http://kgeorge.github.io/2014/03/08/calculating-opengl-perspective-matrix-from-opencv-intrinsic-matrix) or [simek](http://ksimek.github.io/2013/06/03/calibrated_cameras_in_opengl/). Thing is I can’t figure out how to transfer it to UE4. By default UE4 uses the following matrix:

```
1 / tan(fov) 0 0 0
0 (width/height)/tan(fov) 0 0
0 0 0 1
0 0 10 0

```

I would like to add an off-center principal point and skew to it.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_684a04f5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_684a04f5](https://forums.unrealengine.com/u/anonymous_user_684a04f5)\
**Post date:** [April 29, 2019, 2:53pm UTC](https://forums.unrealengine.com/t/docu-for-projection-matrix/439227/2 "2019-04-29T14:53:05Z")

</div>

Were you able to figure this out?
