uwerat / qskinny

A lightweight framework on top of the Qt scene graph and only few classes from Qt/Quick. It is usable from C++ and/or QML.
1.45k stars 293 forks source link

Shader for Arc shadows #423

Open uwerat opened 2 months ago

uwerat commented 2 months ago

The shader for arc shadows does not match the implementation of QskArcRenderer ( and QPainter::drawArc ) without few exceptions ( circular arcs ending at i * 90° ). We need a new shader, that interpolates orthogonally to the ellipse tangents.

uwerat commented 2 months ago

The old shader has been moved to playground/shadows. As none of the skins needs shaded arcs this issue is not necessary for the 0.0.x milestone.