#Additional Lights Issue inside a Shader [Unity 6.2]

1 messages · Page 1 of 1 (latest)

frozen sable
#

I'm trying to create custom lighting logic inside a self written shader. But i can't figure out how to make the shader calculate every light and not the nearest one.

Here's the shader code i used as a test:

hallow geyser
frozen sable
#

Thanks i got it working in standard forward. But i'm wishing that i could do that in FORWARD+. Thanks for the help. : )

sharp sleet
frozen sable
#

I tried it that. But all it did was make the object just pure black.

frozen sable
#

I forgot to add that i wanna learn to write shaders. I'm more comfortable when seeing lines instead of nodes.

slim phoenix
frozen sable
#

Oh thanks. @slim phoenix.

#

I'll try and use shader graph. Thanks!

slim phoenix