Original Post
I'm talking about the tutorial recently added in GDNet. In this page the author explains how to suppress LDR values,so you don't blend the whole scene,just the pixels that are above 1.The way he does it,is:If one of the color components is >1,then keep the whole color,else return 0.This is kind of weird.If we had (0.8,0.8,0.8),the program would dismiss it,but if we had(1.2,0.8,0.8),it would keep the whole color,not just the red channel.I thought the proper way to do it was to subtract 1 from all components and clamp to 0. Does anyone knows about this and can explain to me why the author's way is correct?