entity order problems

Blitz3D Forums/Blitz3D Beginners Area/entity order problems

Aussie(Posted 2009) [#1]
Gday all.
I am having a few problems with a fire effect disipearing beneath a water plane when it gets to a certain point on the screen. I have tryed useing entity order but it causes a bit of a slowdown. I was wandering if anyone has had this problem or if anyone can help.

Cheers. :)

Edit: It only seem to happen when i give the water plane an alpha level less than 1???

here is a screen shot where the fire renders above the water plane.


& here is a screen shot where the fire dissapears behind the water plane.


here is the code if anyone wants a look



Nate the Great(Posted 2009) [#2]
I think this is impossible to avoid unless you use the slower entityorder command. It is a problem with alpha sorting. I think it is possible to solve with messing with the camera range but maybe thats just zorder issues...


Aussie(Posted 2009) [#3]
Cheers Nate. Ill have a play around with the camera range & see what i can do, otherwize ill just go with entityorder. :)


Stevie G(Posted 2009) [#4]
Instead of using entityalpha on your water, use entityblend 3 ( additive ). This works for me and others. You may need to reduce the brightness of your water texture for this to look the way you originally wanted.


Aussie(Posted 2009) [#5]
Thanks Stevie. Works perfectly.