Author Topic: [CW3] Image Offset Z layer disparity between Windows and Mac versions  (Read 315 times)

Grabz

  • Community Guild
  • *****
  • Posts: 83
  • Where will you be when the creeper waves hit?
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)
(click to show/hide)

Screenshot from Windows (0.99 renders images over walls just fine)
(click to show/hide)

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
« Last Edit: April 24, 2018, 11:27:39 am by Grabz »

virgilw

  • Administrator
  • *****
  • Posts: 11697
Re: [CW3] Image Offset Z layer disparity between Windows and Mac versions
« Reply #1 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.

stdout

  • Community Guild
  • *****
  • Posts: 1159
Re: [CW3] Image Offset Z layer disparity between Windows and Mac versions
« Reply #2 on: April 05, 2018, 09:44:09 pm »
Linux build exhibits the same behavior as the Mac one.

Karsten75

  • Hero Member
  • *****
  • Posts: 6524
Re: [CW3] Image Offset Z layer disparity between Windows and Mac versions
« Reply #3 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.
"Any leftover cabbage can and will be mixed with mayo"
   - Cole's Law

Grabz

  • Community Guild
  • *****
  • Posts: 83
  • Where will you be when the creeper waves hit?
Re: [CW3] Image Offset Z layer disparity between Windows and Mac versions
« Reply #4 on: April 24, 2018, 11:27:53 am »
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!