summaryrefslogtreecommitdiff
path: root/scene/gui/item_list.cpp
diff options
context:
space:
mode:
authorjfons <joan.fonssanchez@gmail.com>2021-01-29 16:12:50 +0100
committerjfons <joan.fonssanchez@gmail.com>2021-02-01 22:19:54 +0100
commit73e62dffb909fcf47be23d4fa056e9039b7e561f (patch)
tree018eef6473d004aac5cff523431da21a9046db7f /scene/gui/item_list.cpp
parent46de553473b4bea49176fb4316176a5662931160 (diff)
3D editor grid improvements
This commit adds a view-dependant fade to the 3D viewport grid. It fades out at steep view angles to hide the solid regions that appear far from the camera. I also included a fade to hide the grid borders. I added some improvements to the dynamic grid when the camera is in orthogonal mode. It properly handles zoom now, and the grid center is now set to the intersection point between the grid plane and the camera forward ray, keeping the grid always visible.
Diffstat (limited to 'scene/gui/item_list.cpp')
0 files changed, 0 insertions, 0 deletions