public override void Initialize(RenderContext context) { base.Initialize(context); pointGroup = new PointLightShaderGroupData(context, this); spotGroup = new PointSpotShaderGroupData(context); }
public PointSpotShaderGroupData(RenderContext renderContext, PointLightShaderGroupData pointLightGroup) : base(renderContext, null) { ShaderSource = new ShaderClassSource("LightClusteredSpotGroup", pointLightGroup.ClusterSize); }
public LightClusteredPointGroupRenderer() { pointGroup = new PointLightShaderGroupData(this); spotGroup = new PointSpotShaderGroupData(pointGroup); SpotRenderer = new LightClusteredSpotGroupRenderer(this); }