Author Topic: is there Z-offset options?  (Read 2269 times)

Offline MichaelJPCT

  • float
  • ****
  • Posts: 264
    • View Profile
is there Z-offset options?
« on: August 14, 2016, 01:07:17 pm »
i couldn't find any.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: is there Z-offset options?
« Reply #1 on: August 14, 2016, 01:25:32 pm »
Depends on what you mean with that...?

Offline MichaelJPCT

  • float
  • ****
  • Posts: 264
    • View Profile
Re: is there Z-offset options?
« Reply #2 on: August 14, 2016, 01:56:31 pm »
i want Z-offset (or depth-offset) to help resolve 2 (nearly) co-planar polygons, one should be seen , the other should be hidden. although moving one of them a little closer can have effect, but with Z-offset the result can be better in some cases.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: is there Z-offset options?
« Reply #3 on: August 14, 2016, 02:46:21 pm »
Then no. You have to do that in a shader. However, I think that fiddling around with depth to get something to work indicates that you are on the wrong track...