|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
import { DirectionalLight as TDirectionalLight, Group, MathUtils, Matrix3, Matrix4, Object3D, Vector2, Vector3 } from "three";
|
|
|
|
|
import { Group, MathUtils, Matrix3, Matrix4, Object3D, DirectionalLight as TDirectionalLight, Vector2, Vector3 } from "three";
|
|
|
|
|
import { UpdateDraw } from "../../Common/Status";
|
|
|
|
|
import { equaln, equalv3 } from "../../Geometry/GeUtils";
|
|
|
|
|
import { RenderType } from "../../GraphicsSystem/RenderType";
|
|
|
|
@ -16,7 +16,7 @@ export class DirectionalLight extends Light
|
|
|
|
|
{
|
|
|
|
|
protected _Intensity: number = 50; //强度
|
|
|
|
|
//光源源角度 0-50
|
|
|
|
|
@AutoRecord LightSourceAngle = 0.5357;
|
|
|
|
|
@AutoRecord LightSourceAngle = 0.5;
|
|
|
|
|
//源软角度角度
|
|
|
|
|
@AutoRecord LightSourceSoftAngle = 0;
|
|
|
|
|
|
|
|
|
|