Author Topic: "2-Sided" Sprites stopped working in 3.0.0x  (Read 2173 times)

6foot3foot

  • Guest
"2-Sided" Sprites stopped working in 3.0.0x
« on: September 23, 2013, 05:56:50 PM »
In 2.7.0 I had a playing card image, which had 2 sprites connected to a game object, They had different sorting orders, so when I rotated the parent you'd see the face of the card, or the back.  Now with 3.0.0(c) You only see 1 of the images, regardless of the rotation.  (Using same prefab as in 2.7.0).  Changing sorting order, or even the Z depth makes no difference.

This is using just the default shaders, etc, like in 2.7.0.  Any idea on how to make it go again?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: "2-Sided" Sprites stopped working in 3.0.0x
« Reply #1 on: September 24, 2013, 09:40:03 AM »
Z has no effect in 3.0, and the drawing order is consistent regardless of rotation. If one sprite is drawn after the other, it will still be drawn after the other even when you rotate the window. To change this behaviour, change the depths.

6foot3foot

  • Guest
Re: "2-Sided" Sprites stopped working in 3.0.0x
« Reply #2 on: September 24, 2013, 04:01:33 PM »
Tried that first, it didn't help, it overwrites them.  I think was due to culling, so I swapped out for an echologin shader which was 1 sided (was blank when rotated) that way each side of the card had a show / invisible side.  It worked, just a note if other people have the same issue.  (other shaders would work as well, I just used echo's as I had them).