Sign in to follow this  

Drawing Vectors for debugging

Recommended Posts

Yes, glLines is probably what you want.

i need to make them unaffected by my lighting equations.

OpenGL is a state machine, either disable your shader, disable lighting, or set the ambient light to pure white.
It is also useful to draw some lines with depth test disabled so you can see ones that would otherwise be inside a model.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this