Anyone know anything about entityvisible() as im trying to create lights with flared textures. But not to have them clipped by the Z buffer. What i want to do is this (this is not the actual code, just to get the idea):
if entityvisible (camera,lightsource)
entityorder lighttexture,-1
else
entityorder lighttexture,1
it works and draws the flare in front, but entityvis seems to ignore any objects in the way and still apears in front.
Does it only work for collision objects?? WHY WHY WHY WHY wont it work!!!!! :(
if entityvisible (camera,lightsource)
entityorder lighttexture,-1
else
entityorder lighttexture,1
it works and draws the flare in front, but entityvis seems to ignore any objects in the way and still apears in front.
Does it only work for collision objects?? WHY WHY WHY WHY wont it work!!!!! :(