Object covered by fence sprite

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
Post Reply
Lax
Gnome
Posts: 388
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 9

Object covered by fence sprite

Post by Lax » Thu Jun 20, 2019 3:28 pm

Hi,

I'm using Ogre2.2 and encounted a strange behavior.
The player is covered by the fence sprite, but the background image not.
See picture:
Image

Has somebody any idea, why this happens? With Ogre2.1 I had no such behavior.

Best Regards
Lax
0 x

Lax
Gnome
Posts: 388
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 9

Re: Object covered by fence sprite

Post by Lax » Thu Aug 08, 2019 2:14 pm

Ok, I found a fix, I created a new json for transparent objects and set in the macroblock:

Code: Select all

"depth_write" : false,
0 x

Post Reply