var shadowStrength : float
Description
Strength of light's shadows
See Also: shadows property, Renderer.castShadows, Renderer.receiveShadows.
light.shadowStrength = 0.3;
using UnityEngine;
using System.Collections;
public class example :
MonoBehaviour {
void Awake() {
light.shadowStrength = 0.3F;
}
}
import UnityEngine
import System.Collections
class example(
MonoBehaviour):
def
Awake():
light.shadowStrength = 0.3F