Knuckle Cracker

Knuckle Cracker => Support => Topic started by: Grabz on April 05, 2018, 02:01:32 PM

Title: [CW3] Image Offset Z layer disparity between Windows and Mac versions
Post by: Grabz on April 05, 2018, 02:01:32 PM
On Windows, images are rendered over walls with Z position values lower or equal 1.

On Mac, images are rendered over walls with Z position that is 0.9 or under. 0.91-0.99 renders them under walls.

This creates a disparity between how some maps making heavy use of CRPL image cores over walls are displayed between Windows and Mac users.

Screenshot from Mac version (the selected tile is visible because Z was changed to 0.9, the rest of the tiles are 0.99 and invisible under walls)
Spoiler
(https://media.discordapp.net/attachments/369708437438988289/431511663502426113/Screen_Shot_2018-04-05_at_1.52.52_PM.png)
[close]

Screenshot from Windows (0.99 renders images over walls just fine)
Spoiler
(https://imgur.com/6AMTD3W.png)
[close]

Having not been aware of this, this pretty much means that all of the CW2.5 maps in Colonial Space are effectively broken for Mac users

Map link: https://knucklecracker.com/forums/index.php?topic=28738.0
Title: Re: [CW3] Image Offset Z layer disparity between Windows and Mac versions
Post by: knucracker on April 05, 2018, 06:28:08 PM
I wonder if that is something that would change if the game were recompiled with a different version of unity.  I could also be related to the specific version of opengl being used on the mac.  In any case, CW3 will get rebuilt with a later version of unity at some point, so it will be interesting to check this then.
Title: Re: [CW3] Image Offset Z layer disparity between Windows and Mac versions
Post by: stdout on April 05, 2018, 09:44:09 PM
Linux build exhibits the same behavior as the Mac one.
Title: Re: [CW3] Image Offset Z layer disparity between Windows and Mac versions
Post by: Karsten75 on April 05, 2018, 10:29:44 PM
For future reference, please provide a link to the specific map under discussion. That way it'll be easy to verify any future changes.
Title: Re: [CW3] Image Offset Z layer disparity between Windows and Mac versions
Post by: Grabz on April 24, 2018, 11:27:53 AM
Quote from: Karsten75 on April 05, 2018, 10:29:44 PM
For future reference, please provide a link to the specific map under discussion. That way it'll be easy to verify any future changes.
Map link added, thanks!