Quantcast
Channel: Latest Questions by Killhatch
Viewing all articles
Browse latest Browse all 27

Change fragment output color depending on pixel overlaps.

$
0
0
I'm trying to code a fragment shader that outputs color in the range of cold (dark blue) to hot (white, reds, yellows) depending on how many times the current fragment has been rendered to by the same mesh's shader. Basically, the more the model's pixels, the warmer the color (in the overlapping pixels) should be.

Viewing all articles
Browse latest Browse all 27

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>