public DirectionalLightShaderGroupData(DirectionalLightShaderGroup group, ILightShadowMapShaderGroupData shadowGroupData) : base(shadowGroupData) { countKey = group.CountKey; lightsKey = group.LightsKey; lights = new DirectionalLightData[StaticLightMaxCount]; }
public DirectionalLightShaderGroupData(DirectionalLightShaderGroup group, ILightShadowMapShaderGroupData shadowGroupData) : base(shadowGroupData) { countKey = group.CountKey; directionsKey = group.DirectionsKey; colorsKey = group.ColorsKey; lightDirections = new Vector3[StaticLightMaxCount]; lightColors = new Color3[StaticLightMaxCount]; }