Hi,
How to achieve this black and white effect?
Would it be possible (or best) to create a texture having the size of the screen, or place a billboard it in front of the camera, or models and ground have a special texture, or ... I don't know. On a real video you can see the gunner switch quickly between normal and night view like on the image below. It might be a thermal camera as bodies are close to white, like the copter here.
What do you think?
Yeah seems like a shader would be the easiest option (if you know how to do shaders!) and then you could add in other cool effects rather than just black and white like making certain objects glow a bit or something.
You should be able to render the entire scene to a render texture, render that texture to a quad with a shader to turn color values into a scalar value, then render that quad over the entire screen.
But you are in luck, everything but the shader has been done for you with XEffects (Go look it up in project announcements).
rogerborg wrote:Every time someone learns to use a debugger, an angel gets their wings.
XEffects has screen space filters, though there's no code for the one you're looking for. if there's demand for these XEffect filters maybe someone could write one up and post them here later.
Thank you for the replies.
This is what i got for now, without effects
FPS are voluntary blocked to 32, otherwise they go beyond 500 FPS even when shooting.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.