klepto2 Posted March 6 Posted March 6 When you set the camera far-ange to something higher than the default 1000 the layersystem is not displayed correclty anymore and start flickering when you move the camera. The bug is more visible with higher farranges but also noticable when the range is somewhere like 5k or 10k. This is a small gif to show the bug: and i have add a small sample map demonstrating the bug. The zip contains a map with a terrain and the box mdl used as a vegetation layer. Also the "CameraControls.lua" is modified so that when you press "F" the range is set to 1.0 and 100000.0 and to default when "F" is not pressed down. VegetationLayerBug.zip Quote Windows 10 Pro 64-Bit-Version NVIDIA Geforce 1080 TI
Josh Posted March 6 Posted March 6 I can produce this error by setting the viewport camera range to 0.1, 10000 in the editor code, but I do not immediately see the cause of this... Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Solution Josh Posted March 6 Solution Posted March 6 I was able to improve the camera frustum calculation to eliminate this effect. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.