Page MenuHome

3D View Grid Fade (Based on Distance to Origin)
Needs ReviewPublic

Authored by CandleComet (CandleComet) on Thu, Nov 21, 3:48 PM.

Details

Reviewers
None
Group Reviewers
EEVEE & Viewport
Summary

This code adds the ability to fade the grid so that rather than extending infinitely, it gradually fades away. The option, under the overlays drop-down, controls how far away from the origin the grid fades. Setting this to 0 will disable any fading.

Diff Detail

Event Timeline

Jeroen Bakker (jbakker) added inline comments.
source/blender/makesdna/DNA_view3d_types.h
300

Name it grid_fade

source/blender/makesrna/intern/rna_space.c
3336

I haven't tested the patch, but the description can be more precise (distance from center of floor).