Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0
-
c8405e12903e621f0ba516a614d101fa8ed56f6d
Description
There is no way to disable the default back face culling in QML.
One way to solve this could be by adding CullFace.None enum. If "CullFace
{ mode: CullFace.None }" is added to the RenderPass.renderStates list it could override any already set CullFace objects.
This is preferable to the alternative solution of allowing an empty RenderPass.renderStates list to disable face culling. Currently, setting renderStates to an empty list does nothing, which I believe is fine. In the case of a RenderPass being inherited from another, it would be unfortunate that the user would have to replicate the contents of this list, except for the CullFace object, to achieve the wanted behavior.