Im trying to create a shadow volume from extended line from each vertex. But I dont know how to draw the shadow form it. Nehe OpenGL example is very fast, but unfortunately I cant understand it. Anyone know how to draw the shadow from the extended line? The extended light is the white line you see here.
(http://omploader.org/vY3ZyMQ/untitled.PNG)
PS: I tried to use Physic engine for this, but it much too slow since my model contain too much vertex, but that kind of vertex count should be a standard for current realtime technology.
Sorry for my lack of english. I mean, how to determine which vertex I need to draw to. I guess for creating the shadow I need to modify the texture on it. Unfortunately I cannot see the Stencil buffer so I dont know wheter is it right or wrong, Im only able to see the depth texture, but retrieving depth texture for the shadow is slow.