mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Source changes needed for Linux build.
This commit is contained in:
parent
109a766748
commit
d2700f881c
16 changed files with 73 additions and 27 deletions
|
|
@ -34,7 +34,7 @@
|
|||
#include "materials/baseMatInstance.h"
|
||||
#include "scene/sceneManager.h"
|
||||
#include "scene/sceneRenderState.h"
|
||||
#include "scene/zones/SceneZoneSpace.h"
|
||||
#include "scene/zones/sceneZoneSpace.h"
|
||||
#include "lighting/lightManager.h"
|
||||
#include "math/mathUtils.h"
|
||||
#include "shaderGen/shaderGenVars.h"
|
||||
|
|
@ -42,6 +42,7 @@
|
|||
#include "core/stream/bitStream.h"
|
||||
#include "math/mathIO.h"
|
||||
#include "materials/shaderData.h"
|
||||
#include "core/module.h"
|
||||
|
||||
// Used for creation in ShadowMapParams::getOrCreateShadowMap()
|
||||
#include "lighting/shadowMap/singleLightShadowMap.h"
|
||||
|
|
@ -545,8 +546,15 @@ void LightingShaderConstants::_onShaderReload()
|
|||
init( mShader );
|
||||
}
|
||||
|
||||
MODULE_BEGIN( ShadowMapParams )
|
||||
MODULE_INIT_BEFORE( LightMapParams )
|
||||
MODULE_INIT
|
||||
{
|
||||
ShadowMapParams::Type = "ShadowMapParams" ;
|
||||
}
|
||||
MODULE_END;
|
||||
|
||||
const LightInfoExType ShadowMapParams::Type( "ShadowMapParams" );
|
||||
LightInfoExType ShadowMapParams::Type( "" );
|
||||
|
||||
ShadowMapParams::ShadowMapParams( LightInfo *light )
|
||||
: mLight( light ),
|
||||
|
|
|
|||
|
|
@ -287,7 +287,7 @@ public:
|
|||
virtual ~ShadowMapParams();
|
||||
|
||||
/// The LightInfoEx hook type.
|
||||
static const LightInfoExType Type;
|
||||
static LightInfoExType Type;
|
||||
|
||||
// LightInfoEx
|
||||
virtual void set( const LightInfoEx *ex );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue