Hello, does anyone know of an easy way to toggle off a directional light and all its parameters/ methods, hardshadows, etc. to all my materials and objects?
I need to be able to toggle it off for testing on slower devices where shadows just aint happening;) since my material are spread all over, and my objects too, in my code, I was wondering if I can turn off the light from one line of code, I know its asking a lot, but there are some pretty slick people here. otherwise I’ll have to organize my code better, and iterate through all that stuff and remove em,
Thanks for any suggestions-
andy