mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Merge pull request #1303 from Azaezel/alpha41/lightBright
fix light emission point for shapebaseimaged
This commit is contained in:
commit
9260250be1
1 changed files with 1 additions and 1 deletions
|
|
@ -3342,7 +3342,7 @@ void ShapeBase::submitLights( LightManager *lm, bool staticLighting )
|
||||||
image.lightInfo->setType( LightInfo::Point );
|
image.lightInfo->setType( LightInfo::Point );
|
||||||
|
|
||||||
MatrixF imageMat;
|
MatrixF imageMat;
|
||||||
getRenderImageTransform( i, &imageMat );
|
getRenderMuzzleTransform( i, &imageMat );
|
||||||
|
|
||||||
image.lightInfo->setTransform( imageMat );
|
image.lightInfo->setTransform( imageMat );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue