|
![](/i/fill.gif) |
Darren New <dne### [at] san rr com> wrote:
> How do you do a ghost or predator effect on a graphics card, like with
> opengl or directx or something like that? I.e., as a vertex/pixel shader.
I don't know the answer, but I wouldn't be surprised if the stencil buffer
is involved (probably in conjunction with the depth buffer).
The basic idea of the stencil buffer is so laughably simple that one
would hastily think that it has no practical use. In practice people have
developed incredible applications to the stencil buffer, including
dynamic shadowing, planar reflections, outline drawing and portal
rendering.
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |