Depth offset

Is there anyway to set a depth offset in Panda? I know opengl allows depth offsets, but I don’t know if panda supports them.

Try:

nodePath.setAttrib(DepthOffsetAttrib.make())

to apply an offset to nodePath. Note that depth offsets, while widely supported on modern graphics cards, are not universally supported.

David