You can enable and set it up like so: glEnable(GL_POLYGON_OFFSET_FILL); glPolygonOffset(factor, units); factor scales the depth slope, and units gets added ...
確定! 回上一頁