Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / how to make a heat map for an image.

Author
Message
Southside Games
16
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 12th Feb 2014 06:55 Edited at: 12th Feb 2014 06:57
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.

Login to post a reply

Server time is: 2026-07-06 10:36:18
Your offset time is: 2026-07-06 10:36:18