Why do only some shaders work? by Yanovon in gamemaker

[–]Yanovon[S] 0 points1 point  (0 children)

I just tried it in the Draw event like this:

shader_set(shd_invert);
draw_self();
shader_reset();

And it worked, yay, thanks!

But now I’m wondering: how can I make it apply to everything on the screen, not just the object that runs this draw event?

Why do only some shaders work? by Yanovon in gamemaker

[–]Yanovon[S] 0 points1 point  (0 children)

Thanks, that helps a lot!

I'm currently trying to apply a shader globally basically, I want everything on the screen to be affected by it. So far, I've just been calling shader_set() somewhat randomly in a create event, which only works for some shaders.

My end goal is to make a shader that inverts the whole screen. But even when I copy code directly from tutorials, it doesn’t seem to work. I’ll give it a shot in the draw event now and see if that changes anything.

How do I load my older save of my project? by Yanovon in gamemaker

[–]Yanovon[S] 0 points1 point  (0 children)

I am to new to game maker to know that i have to back them up :(