Details
Description
Set the BackMaterial of a QGLSceneNode and use a TwoSided light model.
Expected outcome:
The back face is drawn with the correct BackMaterial.
Actual outcome:
The back face is drawn gray no matter what BackMaterial is set.
In my opinion the bug is caused by QGLRenderSequencer::applyState(). In this function only the face Material of QGL::FrontFaces is set.
There is an simple example to show the bug. If you turn around the quad in the QGLView, then you see its gray back side, but it should have a green one.
Attachments
Issue Links
- is replaced by
-
QTBUG-25363 Back face materials
- Closed