Add ZDRay light intensity support
This commit is contained in:
parent
38f15881bf
commit
f360457899
1 changed files with 1 additions and 1 deletions
|
|
@ -313,7 +313,7 @@ void DoomLevelMesh::CreateLightList(DoomLevelMeshSurface* surface, FLightNode* n
|
|||
meshlight.Origin = { (float)pos.X, (float)pos.Y, (float)pos.Z };
|
||||
meshlight.RelativeOrigin = meshlight.Origin; // ?? what is the difference between this and Origin?
|
||||
meshlight.Radius = (float)light->GetRadius();
|
||||
meshlight.Intensity = 1.0f;
|
||||
meshlight.Intensity = light->target->Alpha;
|
||||
if (light->IsSpot())
|
||||
{
|
||||
meshlight.InnerAngleCos = (float)light->pSpotInnerAngle->Cos();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue