disabling backface culling

Blitz3D Forums/Blitz3D Programming/disabling backface culling

Is there a way in blitz3d to disable the backface culling of an entity (specifically, a terrain) without having to create two of them and flip one, because that's the only thing I could think of. I remember seeing something about disabling backface culling a long time ago in the command reference, but I cannot find it now.

EntityFX Entity,16

entityfx didn't work, is there any other way?

eh?

i think if you have child meshes you need to set up a recursive routine and change each bit.
(Some terrain programs export a pivot with attached child 'alpha' layers.)

ie: (may need refining, its straight out of my head)
mesh=loadanimmesh(mymesh)
RecMeshFX (mesh,16)

;Recursive mesh modifier (gets every object in mesh)
function RecMeshFX(mesh,flagsvalue)
  if entityclass(mesh)="Mesh"
     entityfx mesh,flagsvalue
  endif
  for cc=1 to countchildren(mesh)
     chi=getchild(mesh,cc)
     RecMeshFX(chi,flagsvalue)
  next
end functon