#【solve】How can I fix this?

1 messages · Page 1 of 1 (latest)

winter vapor
#

After I use GameUI.SetCameraDistance(2000) to raise the camera height, black bars appear on the screen. How can I fix this?

pale whale
#

this is your camera far z clip plane appearing, due to the angle of your camera and the far z clip plane being set relatively low

#

you can change the far z setting in the lightinfo entity in your map

#

I would not set the far z clip plane value to high, as it's supposed to be there to increase performance by clipping everything outside its distance. so if you have a particuarly detailed map, it will cause lag

winter vapor
odd thistle
#

env_fog_controller

#

or in lua code, SetCameraZRange ,iirc

pale whale
#

dota_ent_lightinfo entity

#

or in the fog controller, yea

winter vapor
winter vapor