Rendering light trail
Hi All,
I hope that I'm posting this question in the right place.
I'm trying to add a light trail effect to moving objects. I know that the usuall trick, is to render blur/transparent textures. The problem is - how to easyly set the quad to be on the same plane as the "camera". Is there a simple method, or should I manually calculate the vertices of the quad (I do several transformations to the projection and the model/view matrices).
Thanks in advance,
Vince
I'd render the scene with no trail first, remember where each light was in SCREEN COORDINATES, change the projection matrix to an orthogonal one, then draw your trails.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement