
The PolygonOffset type sets the scale and steps to calculate depth values for polygon offsets. More...
Import Statement: | import Qt3D.Render 2.4 |
Since: | Qt 5.7 |
Instantiates: | QPolygonOffset |
Inherits: |
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.
depthSteps : real |
Holds the units that create constant depth offsets. Default value is 0.
scaleFactor : real |
Holds the scale factor used to create a variable depth offset for each polygon. Default value is 0.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: