• Godot HelpShaders
  • Shader question: Can you use unshaded and lights_only simultaniously?

Good day, The effect I want to achieve is an object that is invisible when no light is shined upon it (like with lights_only render mode). But not turn my sprite into a white mess so I woud like to use something like the unshaded render_mode.

I've tried stacking shaders but this sadly doesnt work. Or does anybody know a way to make the light up effect of lights_only less intense?

IIRC someone was trying to use it for a visible in the shadows but not in light kinda thing and that had it's issues but for this I think it should be doable, don't think you need the unshaded mode for it tho. Experimentation should confirm, but you can also see if maybe godotshaders.com has something for this already.

I just confirmed my email. Thanks for responding but this still doesnt move me forward..

Shouldn't the lights_only mode do exactly what you want? Given that the light's blending mode is set to mix instead of default add.

a year later