FE_BUMP!!

Blitz3D Forums/Blitz3D Programming/FE_BUMP!!

Oster(Posted 2012) [#1]


I have a question, how I can put a personalized mix FragMotion, or Max to a model created for Blitz3D.

The example shows a model FASTEXT which the mixture was applied in the 3D modeling program, and I honestly do not know how.

Greetings.


Yue(Posted 2012) [#2]
Function SetNewBlend_TextureModel (mesh)
	
	If EntityClass(mesh)="Mesh" Then
		q = CountSurfaces(mesh)
		For i = 1 To q
			sf = GetSurface(mesh,i)
			b = GetSurfaceBrush( sf )
			t0 = GetBrushTexture(b,0) ; Texture Normal (Blue) Layer 0
			
			
			b1 = CreateBrush()
			TextureBlend t0, FE_BUMPLUM ; new Blend here :)	
			
			FreeBrush b		
		Next
		
	EndIf
End Function


Last edited 2012

Last edited 2012