Vertex colours

BlitzMax Forums/MiniB3D Module/Vertex colours

Robb(Posted 2010) [#1]
Does MiniB3D support vertex colours? I found a specification of the B3D format online that mentions it, but I cant remember seeing a function relating to it.

I'm just wondering because I am trying to blend two textures based on vertex colour (old trick, but with some GLSL trickery to make it look a little nicer)


jkrankie(Posted 2010) [#2]
Don't know if you can do it in code (haven't tried), but you can certainly export .b3d files with vertex colours and see then appear in your program.

Cheers
Charlie


ima747(Posted 2010) [#3]
VertexColor() is probably what you want in code. I haven't played with it but it's on my list of stuff to get to :0) There was a post a while back regarding vertex colors and some nice effects you can create with them.


Kryzon(Posted 2010) [#4]
There's this thread... http://blitzbasic.com/Community/posts.php?topic=89327