Page MenuHome

Sculpt: Use uchar to store the sculpt mask in the GPU

Authored by Pablo Dobarro (pablodp606) on Sun, Mar 15, 12:04 AM.



Using a float to store and render the mask seems like a waste of memory
without any noticeable difference in the viewport for its use case.
After this patch, the mask and the face sets together should take the
same amount of GPU memory than only the mask in previous versions. If
that was the case of some performance issues some users reported during
viewport navigation in the sculpt mode, this should fix it.

Diff Detail

rB Blender