Desaturate a portion of the room?

Geoff Jones

Member
Hi guys, I was wondering if it were possible to desaturate a portion of the room. for example having a square patch or a gradient of the rooms saturation lowered. This may be some kind of overlay over the room, im guessing.

Thanks, you guys always very helpful :)
 
C

CoderJoe

Guest
this is probably possible with shaders although I'm not quite sure how it would work in just part of the room. You would have to know what is in that section and have those objects draw with the shader I guess. I would highly recommend learning how to use shaders (google Gamemaker studio shaders for tutorials). They are super useful and are fast too.

Another way you could do this though is use blending (which is essentially a shader). Sprites have a blend variable that can be changed. Messing around with that might help.

Hope this was helpful in some way!
 
Top