I wonder what techniques are used in general to draw an arbitrary moving object fading path trace. Such as a sword or car for example.
Jump to content
Posted 19 January 2014 - 04:22 AM
One approach is have attractors on the start and end of your trace creating object ( such as the hilt and tip of a sword ), and create bands of geometry every frame from these attractor positions. Simplest form of that is one band being 2 verts, one for each attractor / end of the band, have a dynamic vertex buffer which you fill up with all active band vertices, from newest to oldest ( or the other way around ). You can use vertex colours for fading it out. Then render it as a tri strip, and job done