Shader question: Can you use unshaded and lights_only simultaniously?
Asked Answered
E

3

0

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?

Ethylethylate answered 6/11, 2021 at 0:15 Comment(0)
U
0

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.

Unscrew answered 6/11, 2021 at 0:20 Comment(0)
E
0

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

Ethylethylate answered 6/11, 2021 at 15:38 Comment(0)
C
0

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.

Congruity answered 6/11, 2021 at 21:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.