Hello, I found an interesting article here, but unfortunately my talent is not enough for programming,
nor for good English.
http://fileadmin.cs.lth.se/graphics/theses/projects/gpucd/report.pdf
If I understand that correctly, you could use shader for a pixel-perfect collision or also for a destructible area.
Only a black/white mask is queried, so you could test an entire room for collision with the player, by a negative
mask (black) of the game elements. In destructible terrain, I simply draw with black on a white background and
only the white part is rendered.
Is this already available for GameMaker or is it not possible at all? Because I didn't find anything to do with it.
Miradur
nor for good English.
http://fileadmin.cs.lth.se/graphics/theses/projects/gpucd/report.pdf
If I understand that correctly, you could use shader for a pixel-perfect collision or also for a destructible area.
Only a black/white mask is queried, so you could test an entire room for collision with the player, by a negative
mask (black) of the game elements. In destructible terrain, I simply draw with black on a white background and
only the white part is rendered.
Is this already available for GameMaker or is it not possible at all? Because I didn't find anything to do with it.
Miradur