Can someone please tell me why my brush does not exist?
playCam = CreateCamera()
backdrop = CreateSphere()
ScaleEntity backdrop,10,10,10
FlipMesh backdrop
backdropBrush = LoadBrush("universe.jpg",1)
BrushFX backdropBrush,1
PaintMesh backdrop,backdropBrush
When I go step by step in the debugger the value for "backdropBrush" remains zero after the LoadBrush line completes. What gives?
Thanks.
playCam = CreateCamera()
backdrop = CreateSphere()
ScaleEntity backdrop,10,10,10
FlipMesh backdrop
backdropBrush = LoadBrush("universe.jpg",1)
BrushFX backdropBrush,1
PaintMesh backdrop,backdropBrush
When I go step by step in the debugger the value for "backdropBrush" remains zero after the LoadBrush line completes. What gives?
Thanks.