Rename SourceRadius to SoftShadowRadius

This commit is contained in:
nashmuhandes 2024-06-15 18:08:37 +08:00
commit 1a89307ee7
17 changed files with 30 additions and 30 deletions

View file

@ -135,7 +135,7 @@ void AddLightToList(FDynLightData &dld, int group, FDynamicLight * light, bool f
spotDirY = float(-negPitch.Sin());
spotDirZ = float(-Angle.Sin() * xzLen);
}
float sourceRadius = light->GetSourceRadius();
float softShadowRadius = light->GetSoftShadowRadius();
float *data = &dld.arrays[i][dld.arrays[i].Reserve(16)];
data[0] = float(pos.X);
@ -152,7 +152,7 @@ void AddLightToList(FDynLightData &dld, int group, FDynamicLight * light, bool f
data[11] = lightType;
data[12] = spotInnerAngle;
data[13] = spotOuterAngle;
data[14] = sourceRadius;
data[14] = softShadowRadius;
data[15] = 0.0f; // unused
}