Hello.
I'm tiring to make a grit effect for the camera of my game. The idea is bright areas of the screen will show the grit were darker areas would not. The thing is I'm not sure how to make a heat map from what the camera can see and how to use it as a heat map for the grit.
The camera angle for my game is top down. And what I want to do is use a base image for the heat map. I'm thinking of a gradient starting from the right and covering the right 75% of the screen.
The image is kind of what I'm going for. The black lines being walls and the yellow being the heat map image.
Thanks.
I've been looking though shaders but can't seem to find out how to do such a thing. Any help would be greatly appreciated.