# Camera UV mapping

**URL:** <https://forum.playcanvas.com/t/camera-uv-mapping/6419>\
**Category:** Help & Support\
**Created:** [March 31, 2018, 2:54am UTC](https://forum.playcanvas.com/t/camera-uv-mapping/6419 "2018-03-31T02:54:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![derickwelman](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/derickwelman/32/7121_2.png) [@derickwelman](https://forum.playcanvas.com/u/derickwelman)\
**Post date:** [March 31, 2018, 2:54am UTC](https://forum.playcanvas.com/t/camera-uv-mapping/6419/1 "2018-03-31T02:54:46Z")

</div>

Good night people,

is there any way to create a camera-based UV map for an object? Below is an example of the default mapping for a cube and on its right the form I would like to map.

 ![UV](https://forum-files-playcanvas-com.s3.dualstack.eu-west-1.amazonaws.com/original/2X/7/78fb1c2a74793492b70b167ffa34cfa7287c971a.jpg)

I even have an idea, but I also do not know if it’s possible to do it. Is there any way to create the UV mapping from the vertices of a mesh via script? If yes I could use the WorldToScreen function to map the vertices the same way they appear in the camera.
