The first image shows the mouse is not on the chair, while the second image shows the mouse placed on the chair. An outline shader has been added to the second image. I don't understand why this is happening—gpu_set_alphatestenable
is set to true
.
Viewing post in Crystal - 2D Lighting Engine comments
See: 2. When a transparent object passes over another, it occludes
"If you are using shader_set(),
you may have to do the alpha test manually within the fragment shader. This is because GameMaker does not add the DoAlphaTest()
function to the shader internally"