# Display with non-square pixels

**URL:** <https://forums.unrealengine.com/t/display-with-non-square-pixels/396767>\
**Category:** Rendering\
**Tags:** aspect-ratio, unreal-engine, question\
**Created:** [June 29, 2017, 12:20pm UTC](https://forums.unrealengine.com/t/display-with-non-square-pixels/396767 "2017-06-29T12:20:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_ebcf83e9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ebcf83e9](https://forums.unrealengine.com/u/anonymous_user_ebcf83e9)\
**Post date:** [June 29, 2017, 12:20pm UTC](https://forums.unrealengine.com/t/display-with-non-square-pixels/396767/1 "2017-06-29T12:20:15Z")

</div>

I am trying to support device with non square pixels.  
Display has aspect 16:9, but resolution is 1920x540. Even aspect is 16:9, image is rendered in 32:9 aspect, because it keeps pixel aspect 1. Constrain aspect is not solution too, because it adds only black stripes and keep pixel aspect 1.

Is there easy way to force pixel aspect different from 1?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_ebcf83e9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_ebcf83e9](https://forums.unrealengine.com/u/anonymous_user_ebcf83e9)\
**Post date:** [July 24, 2017, 10:45am UTC](https://forums.unrealengine.com/t/display-with-non-square-pixels/396767/2 "2017-07-24T10:45:58Z")

</div>

I followed [this path](https://answers.unrealengine.com/questions/65003/howto-modify-the-projection-matrix.html), but because ULocalPlayer::CalcSceneView() is virtual in 4.16 engine I implemented CalcSceneView() in derived class instead of reimplementing Draw() method.
