R
RealityShifter
Guest
In game maker 1.4 I would change the colors of a sprite using a shader I'd cyle through each color I wanted to change by drawing the same surface over on to of itself with the shader applied for each color. I can't seem to do that in GM2 because when you draw a surface on to itself it looks screwy.
drawing a sprite to a surface then drawing the surface looks great.
taking that surface and drawing it onto itself....
Example:
surface_set_target(test_color_surf);
draw_surface(test_color_surf,0,0);
surface_reset_target();
Now the drawn surface will have a bunch of mini copies of the surface all over it.
I'll let yoyo know about the bug, but I think I'm going crazy. This is one surface bug of many im finding and I'm starting to think it's my project in general that's messed up. Can someone else duplicate this issue?
drawing a sprite to a surface then drawing the surface looks great.
taking that surface and drawing it onto itself....
Example:
surface_set_target(test_color_surf);
draw_surface(test_color_surf,0,0);
surface_reset_target();
Now the drawn surface will have a bunch of mini copies of the surface all over it.
I'll let yoyo know about the bug, but I think I'm going crazy. This is one surface bug of many im finding and I'm starting to think it's my project in general that's messed up. Can someone else duplicate this issue?