0 votes

I have a few particle effects I have tinkered with as part of spell attacks in my game. My game also involves using light occlusion and canvas modulate to create darkness and shadows.
I don't want the particles darkened by the modulation and I also don't like how they the light affects their colours. I would rather the particles were independent of lighting completely. Is there a way to do this?

I tried making them the child of a CanvasLayer node but this caused them to disappear completely.

in Engine by (26 points)

Making it a child of the CanvasLayer on the world node made it show up finally, but the positioning was all messed up. I still need a better way to sort it out.

1 Answer

+3 votes
Best answer

I would rather the particles were independent of lighting completely. Is there a way to do this?

Select your particle-node in the scene-tree and (in the inspector) add a material (CanvasItem > Material > New CanvasItemMaterial) and set "Light mode" to "Unshaded"

by (10,311 points)
selected by

Thanks, that's perfect.

Thank you for the tip, simple and effective, save me a lot of work.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.