spheremapped celshading

Blitz3D Forums/Blitz3D Programming/spheremapped celshading

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

Im sorry, having trouble with this he comes out all white, ive got the image the way you said, here is my code::

; Load md2 texture
orion_tex=LoadTexture( "Models\orionskin.jpg" )
celshade=LoadTexture("Models\celshade.jpg",1+64)

; Apply md2 texture to md2
EntityTexture orion,orion_tex,1,0
EntityTexture orion,celshade,1,1
EntityFX orion,1


Thoughts?