Simple Alpha Problem?

Blitz3D Forums/Blitz3D Programming/Simple Alpha Problem?

Thanks for the info guys.

I've just got back to this after a hard drive crash -.-

I can get the mesh to alpha using Stevie G's suggestion...I guess the problem is I am using vertex colours...didn't realise this would break entity alpha =/

Function alphamesh(mesh%,alpha#)

For surf=1 To CountSurfaces(mesh%)
	thissurf=GetSurface (mesh%,surf)
		For v=0 To CountVertices(thissurf)-1
		red#=VertexRed#(thissurf,v)
		green#=VertexGreen#(thissurf,v)
		blue#=VertexBlue#(thissurf,v)
		VertexColor (thissurf,v,red#,green#,blue#,alpha#)
	Next 
Next 

If CountChildren(mesh%)>0
For child=1 To CountChildren (mesh%)
	alphamesh(GetChild(mesh%,child),alpha#)
Next 
EndIf

End Function 


Cheers.