Topic: Level Help

I want to use this painting for a level, but having noting buy issues with the size:

http://vincenjones.com/images/DSC_0034.JPG

The issues I'm running into is how big it ends up if I want to cover the -37 to 37 distance. The image becomes too big, and you don't seem much.

I tried with just the image

http://vincenjones.com/images/one%20image.png
http://vincenjones.com/images/one%20image%202.png

I also tried with making a base and then part of it going up but still have the issue of it becoming too big

http://vincenjones.com/images/Two_planes_2.png
http://vincenjones.com/images/Two_planes_2.png


I did try a six sided skybox but that was even worse. Any suggestions?

Share

Thumbs up Thumbs down

2 (edited by MrPonton 2020-05-22 11:03:03)

Re: Level Help

I'd recommend running the game and stage live in play mode, pausing it like you show above, then positioning the background to the size and position you want. You might have to move it along the z-axis as well. Then end Play Mode, open the stage prefab or scene, and apply the modified transform.

https://i.imgur.com/D2kuzSZ.png

The issues if you're using a skybox is typically because the Skybox is normally designed to be rendered at 60 FOV but UFE runs around 15-20 FOV by default. So you'd want the default camera to ignore Skybox rendering, and then make a sub camera dedicated to rendering exclusively the Skybox at 60 FOV.

Also, if using 2D backgrounds for stages it's normally best to make sure your Global Config > Camera Options > Enable LookAt option to be disabled. This option will rotate the camera on the y-axis as players move on the stage when it's enabled. When It's disabled it will do a panning/transform along the x-axis.

Share

Thumbs up Thumbs down

Re: Level Help

MrPonton wrote:

The issues if you're using a skybox is typically because the Skybox is normally designed to be rendered at 60 FOV but UFE runs around 15-20 FOV by default. So you'd want the default camera to ignore Skybox rendering, and then make a sub camera dedicated to rendering exclusively the Skybox at 60 FOV.

I did what you said, but the game goes to use the second camera, no matter the settings.

I did put the main camera clipping so it would only do the characters, and then set the sub camera so it would only get the background. But like I said it only uses the sub-camera...

Share

Thumbs up Thumbs down