GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.35k stars 1.2k forks source link

Terrain shadow wiggle issue #2376

Open theblooopz opened 5 years ago

theblooopz commented 5 years ago

https://thumbs.gfycat.com/BluePointedHarborporpoise-mobile.mp4

Just putting this here so no one forgets. It's apparently a problem with current development head using this terrain and probably similar terrains with high peaks.

Azaezel commented 5 years ago

further digging around on that showed replication only at sub-200 unit shadow max distances. so far the only 200 value found in stock at least was https://github.com/GarageGames/Torque3D/blob/development/Templates/Full/game/art/terrains/materials.cs#L49 though going off reports, fiddling with that made no difference, so will need to keep digging.

theblooopz commented 4 years ago

Returning back to this I'm pretty sure it's an AAK issue. What's happening is that the CameraGoalFollower is being treated as the player so when the camera moves the shadow appears to wiggle because it's orienting relative to the camera rather than the player.

theblooopz commented 4 years ago

Maybe not...