UFO:Alien Invasion

Archive => Bugs prior to release 2.4 => Topic started by: MCR on February 15, 2011, 01:37:44 pm

Title: [FIXED] Problems with blended surfaces when rt lighting is turned on
Post by: MCR on February 15, 2011, 01:37:44 pm
Here are some screenshots showing the problem (first screenie shows the problem with rt turned on, second one without rt lighting, but also without normalmapping) :
Title: Re: Problems with blended surfaces when rt lighting (& normalmapping) is turned
Post by: MCR on February 15, 2011, 01:39:30 pm
More:
Title: Re: Problems with blended surfaces when rt lighting (& normalmapping) is turned
Post by: MCR on February 15, 2011, 01:51:45 pm
Here the bug tracker item:
https://sourceforge.net/tracker/?func=detail&aid=3158321&group_id=157793&atid=805242
Title: Re: Problems with blended surfaces when rt lighting (& normalmapping) is turned on
Post by: Sandro on February 16, 2011, 12:09:58 am
Looks like the same bug: http://ufoai.ninex.info/forum/index.php?topic=5782.0 (and it was mentioned at even more topics on the forum, can't remember where).
Reason is the z-fighing due to polygon offset applied to the incorrect rendering mode (should be FILL, no LINES). Here's the patch:
Title: Re: Problems with blended surfaces when rt lighting (& normalmapping) is turned on
Post by: Mattn on February 16, 2011, 06:55:02 pm
thanks a lot for the fix - it's applied to master already.
Title: Re: [FIXED] Problems with blended surfaces when rt lighting is turned on
Post by: MCR on February 17, 2011, 11:05:06 am
Good job, Sandro.  8) Thanks a lot for this fix.

Keep the patches rollin'  ;)