Jase217
Member
This is probably a simple thing to do but I'm just not sure how to do it.
Say I have a vertex buffer that I want draw with a tint of red, something like doing this:
But this doesn't work, I read somewhere that I would have to use a shader? I'm not sure how though, I've never used them before. I've tried playing around with a shader trying to learn how to do this, but I can't figure it out.
I don't want to just set colour information for the vertices as I would like to be able to tint the entire model on the fly. Does anyone know how to do this?
Say I have a vertex buffer that I want draw with a tint of red, something like doing this:
Code:
draw_set_colour(c_red);
vertex_submit(currentModel,pr_trianglelist,tex);
draw_set_colour(c_white);
I don't want to just set colour information for the vertices as I would like to be able to tint the entire model on the fly. Does anyone know how to do this?