What we have to do is:
- Read current frame buffer content,
- Sample a noise texture using time variant texture coordinates (I modify them by adding sin(milliseconds / 1000.0f) to them),
- Add both vectors,
- Multiply everything with green colour i.e. (0.0f, 1.0f, 0.0f) vector.

Here is a demo based on your idea: Night Vision Demo.
ReplyDeleteI sample the scene at 1/4 resolution because most NVG sensors are a fairly low resolution. The blurry result helps to enhance the noise.
ReplyDelete