This is great! Makes my programming much easier. Thanks!
I do have a question, though. I saw on another thread that you had implemented basic shaders for MiniB3D. Was that shader code generic (i.e. could be used to load any frag and vert text files for programmable shaders), or did it just implement the shaders you were using at the time. I think my next project would really benefit from toon shading, and though the shaders themselves seem somewhat easy to understand (with pretty good examples on the net of toon shading), implementing it in MiniB3D is a little beyond me...
A few of my favorite resources (to show what kind of shader I'm talking about):
http://www.clockworkcoders.com/oglsl/tutorial10.htm
http://www.lighthouse3d.com/opengl/glsl/index.php?toon
And one link to an older non-shader version (that I can't even begin to understand how to do):
http://www.gamedev.net/reference/articles/article1438.asp
Any pointers in the right direction or links to other info to help get me started? Thanks for your continued work (the Blitz community is the best; you, simonh, gman, and lots of others!)
I do have a question, though. I saw on another thread that you had implemented basic shaders for MiniB3D. Was that shader code generic (i.e. could be used to load any frag and vert text files for programmable shaders), or did it just implement the shaders you were using at the time. I think my next project would really benefit from toon shading, and though the shaders themselves seem somewhat easy to understand (with pretty good examples on the net of toon shading), implementing it in MiniB3D is a little beyond me...
A few of my favorite resources (to show what kind of shader I'm talking about):
http://www.clockworkcoders.com/oglsl/tutorial10.htm
http://www.lighthouse3d.com/opengl/glsl/index.php?toon
And one link to an older non-shader version (that I can't even begin to understand how to do):
http://www.gamedev.net/reference/articles/article1438.asp
Any pointers in the right direction or links to other info to help get me started? Thanks for your continued work (the Blitz community is the best; you, simonh, gman, and lots of others!)