|
Strength of light's shadows
See Also: shadows property, Renderer.castShadows, Renderer.receiveShadows.
// make light's shadows very faint
light.shadowStrength = 0.3;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
light.shadowStrength = 0.3F;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
light.shadowStrength = 0.3F