In Godot 3.0.6 (Ubuntu & Win7), I try to recreate the light effect from Darkwood, but with CanvasItemMaterial -> Light Mode -> Light Only, the shown part becomes transparent.
https://drive.google.com/file/d/1H-MQSFXepG6RlVkemzYdBk3dtjLKKmHP/view?usp=sharing
I tried to use a custom shader, but it doesn't make any diffrence...
shadertype canvasitem;
void fragment() {
if(ATLIGHTPASS) {
// For all fragments in the light
COLOR = vec4(texture(TEXTURE, UV).rgb, 1.0);
}
else {
// For all other fragments
COLOR = vec4(texture(TEXTURE, UV).rgb, 0.0);
}
}
Is there a problem with the 2d lighting system or am i missing something?
Thanks in advance for any help.