EntityFX

Blitz3D Forums/Blitz3D Beginners Area/EntityFX

for the flags:

you have 3 options when using flags really. The example you gave is '16 + 1' which is the first way. This basically does a calculation and gives the result '17' being 16+1=17.

This means 'disable backface culling' + 'full-bright'

To get this same effect your 3 ways of doing it are:

EntityFX mesh,17

EntityFX mesh,1+16


;or predefining all the effects as readable variables.
Const FX_FullBright% = 1
Const FX_DisableBackface% = 16

EntityFX mesh, FX_DisableBackface + FX_FullBright


These all use the number '17' which is then what Blitz uses to work out the mixture of effects you want.