Newer
Older
HuangJiPC / public / static / three / src / lights / DirectionalLightShadow.js
@zhangdeliang zhangdeliang on 21 Jun 337 bytes update
import { LightShadow } from './LightShadow.js';
import { OrthographicCamera } from '../cameras/OrthographicCamera.js';

class DirectionalLightShadow extends LightShadow {

	constructor() {

		super( new OrthographicCamera( - 5, 5, 5, - 5, 0.5, 500 ) );

		this.isDirectionalLightShadow = true;

	}

}

export { DirectionalLightShadow };