Rename SourceRadius to SoftShadowRadius
This commit is contained in:
parent
1f8c617e4f
commit
1a89307ee7
17 changed files with 30 additions and 30 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue