a sprite over all

Posted By: JoGa

a sprite over all - 11/08/11 21:41

Hey!

Does somebody know, if the possibility exist to render a sprite over all?
Some easy lite-c - function I didn't noticed or something like that?
It should be like the ZNEAR-Flag:
So if the Sprite penetrate the wall, anyhow the wall should be behind the sprite.
But the camera is not near, so I think I can't use ZNEAR.
Has anybody some idea?
Here is a picture to demonstrate the problem:
The dotted way is border, till the sprite should be visible.

Posted By: Superku

Re: a sprite over all - 11/08/11 21:45

Why didn't you try ZNEAR?
It's probably the easiest solution, have a look at "d3d_near_sprites", too.
Posted By: JoGa

Re: a sprite over all - 11/08/11 23:34

okay, worked. Didn't know d3d_near_sprites. Thanks, workes perfect!
© 2024 lite-C Forums