|
|
|
|
|
|
|
|
|
|
private void SetShaderKeywords(CommandBuffer cmd, ref LightData lightData) |
|
|
|
{ |
|
|
|
List<VisibleLight> visibleLights = lightData.visibleLights; |
|
|
|
int mainLightIndex = lightData.mainLightIndex; |
|
|
|
int vertexLightsCount = lightData.totalAdditionalLightsCount - lightData.pixelAdditionalLightsCount; |
|
|
|
|
|
|
|
CoreUtils.SetKeyword(cmd, LightweightKeywords.AdditionalLightsText, lightData.totalAdditionalLightsCount > 0); |
|
|
|