Object covered by fence sprite

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

Object covered by fence sprite

Post by Lax »

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

Lax
Orc
Posts: 451
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 26

Re: Object covered by fence sprite

Post by Lax »

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

Code: Select all

"depth_write" : false,

Post Reply