How would one go about writing a pixel shader like this one in XNA 4.0?
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
|
Go to the shaders section of Microsoft's App Hub XNA samples and start poking around. The bloom sample demonstrates a similar effect. To achieve the effect from the video you would want to render the highlights to a buffer, which you then would clear gradually (using a semi-transparent quad), rather than clearing it completely each frame. (Or you might bounce it between buffers, with a shader that does the appropriate fall-off.) |
|||
|
|
|
|||
|
|