leezer3 / OpenBVE

OpenBVE- A free train simulator
http://www.openbve-project.net
275 stars 52 forks source link

broken sky when using object based background and max zoon out #732

Open adfriz opened 2 years ago

adfriz commented 2 years ago

Description

strange clipping on sky object when the FOV is too wide

Reproduction

replace a sky texture background with object and max the zoom out

Route

using a demo route from documentation pages

Train

any train

Logs

no logs

Related information

leezer3 commented 2 years ago

Now that's interesting. The viewing frustrum is clipping out those corners.

Something must be interacting somewhere in the scaling; This was originally designed / tested with somewhat larger (500m+) skyboxes, as per BVE5.