Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: Dionysius on December 02, 2009, 04:55:25 AM

Title: Glitch with actor's eyes (z-fighting?)
Post by: Dionysius on December 02, 2009, 04:55:25 AM
I have a some glitch with main actor's eyes. Here is the demo (http://reptilesquest.com/download/demo_04-11-2009.exe) (~24Mb)
To quit from the demo press ESC, then click on the door icon, then click on the left button.

Is this Z-fighting (http://en.wikipedia.org/wiki/Z-fighting) problem? How to solve this?
Title: Re: Glitch with actor's eyes (z-fighting?)
Post by: Mnemonic on December 02, 2009, 08:32:00 PM
Well the obvious advice here is avoid placing polygons that have almost the same depth.
Also you can experiment with the near/far clipping plane distances in SceneEdit. If you keep more depth between the planes, there will be higher depth precision with lower chance of depth-fighting.
Title: Re: Glitch with actor's eyes (z-fighting?)
Post by: Dionysius on December 03, 2009, 09:14:56 AM
OK, thank you. I'll try it