disabling backface culling

Blitz3D Forums/Blitz3D Programming/disabling backface culling

Eviltoes(Posted 2007) [#1]
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.


puki(Posted 2007) [#2]
EntityFX Entity,16


Eviltoes(Posted 2007) [#3]
entityfx didn't work, is there any other way?


Eviltoes(Posted 2007) [#4]
eh?


D4NM4N(Posted 2007) [#5]
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