PolygonOffset QML Type▲
-
Import Statement: import Qt3D.Render 2.5
-
Inherits: RenderState
-
Instantiates:: QPolygonOffset
-
Group: PolygonOffset is part of renderstates
Detailed Description▲
A PolygonOffset type adds an offset to the fragment depth value prior to depth test and depth write. The offset can be used to avoid z-fighting when rendering polygons with very close depth values such as decals.