Can't use Blend modes 2/3 with fog?

Blitz3D Forums/Blitz3D Programming/Can't use Blend modes 2/3 with fog?

Rottbott(Posted 2003) [#1]
Using blend modes 2 (multiply) or 3 (add) seem to stop fog having any effect on my particle meshes.

Why?


Neochrome(Posted 2003) [#2]
i had the same problem, dont suppose your have a GForce 2 MX 64?

i had to EntityFX 1+8 (full color no fog)

to get smoke, you could use a alpha-channel png/tga?


Ross C(Posted 2003) [#3]
there's also a strange problem when you put the ambient light settings too low, particles disappear. Strange one that :)


Neochrome(Posted 2003) [#4]
hmm, Ambient light being nothing ( zero ) i pretty much rely on, hmm better re-think my maps


Loocipher(Posted 2003) [#5]
I have a Geforce 3 Ti200.

So this isn't meant to happen?

I have worked around by just disabling any particle emitters that are beyond the max fog range. It's not too pretty though.


Ross C(Posted 2003) [#6]
Use the entityfx flag to stop the particles being effected by fog. Should help you out a bit :)

@Loocipher

Surely any entity's beyond the max fog range aren't visible anyway?


Loocipher(Posted 2003) [#7]
joker, you are misunderstanding.

I know I can disable fog using entityfx. The problem is the other way round - I want fog to be enabled, but it isn't!

Surely any entity's beyond the max fog range aren't visible anyway?
Yeah, they SHOULD be. But they aren't. That's the problem!


fredborg(Posted 2003) [#8]
It's because of the way the blend modes work. The entities are actually affected by the fog, but not how you would think.

- Long explanation skipped -

Try using EntityFX nofog + EntityAutoFade instead, that usually does the trick. Just set the autofade range to the same as the fog range.