- Home /
Is it possible to set the resolution of a light's shadows via script?
I've checked all the script references, but I can't seem to find out how to change a light's shadow resolution.
I saw in a similar answer that it wasn't possible but that was well over a year ago. However, I thought I saw a system on the Asset Store that was able to adjust it. Has Unity still not added support or is there some type of work around?
To be clear I don't want to adjust it via the Quality Settings.
This is how you adjust the shadow type so I'm assuming it would be very similar.
light.shadows = LightShadows.Hard;
//Doesn't work
light.shadows = Resolution.Low;
Comment
Your answer
Follow this Question
Related Questions
Shadow resolution higher than "Very High"? 3 Answers
What are the shadow resolutions of Unity3d Dynamic Shadows? 0 Answers
Crazy Shadow Artifacts 0 Answers
Create a custom QualityLevel 1 Answer
Different quality in different computers 2 Answers