- Home /
Set pixels on light cookie texture via script?
Is there any way to procedurally change specific pixels on a light cookie via script during runtime?
I can convert the cookie texture into a Texture2D and use SetPixel(), but can't find a way to change it back into a functional cookie texture for my directional light.
Comment