Object covered by fence sprite

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Post Reply
Lax
Hobgoblin
Posts: 583
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 50

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

http://www.lukas-kalinowski.com/Homepage/?page_id=1631
Please support Second Earth Technic Base built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd1 ... b97b79be62

Lax
Hobgoblin
Posts: 583
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 50

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,

http://www.lukas-kalinowski.com/Homepage/?page_id=1631
Please support Second Earth Technic Base built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd1 ... b97b79be62

Post Reply