qskinny icon indicating copy to clipboard operation
qskinny copied to clipboard

monochrome shape nodes with QSGVertexColorMaterial

Open uwerat opened this issue 1 year ago • 0 comments

Using QSGVertexColorMaterial - instead of QSGFlatColorMaterial - is a waste of memory as the color information is added to each vertex. However using the same material for all shapes and boxes allows better batching and therefore a better render performance can be expected.

So it would be good to have a a mode in QskShapeNode, that is using QSGVertexColorMaterial .

uwerat avatar Mar 04 '23 09:03 uwerat