mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Moved VR module from core to a regular module, as not all games are necessarily going to use VR.
Also corrected some of the default posteffect settings for the levels.
This commit is contained in:
parent
db29b9b0a2
commit
bfb0c48616
|
|
@ -24,8 +24,6 @@ function CoreModule::onCreate(%this)
|
|||
ModuleDatabase.LoadExplicit( "Core_Lighting" );
|
||||
ModuleDatabase.LoadExplicit( "Core_SFX" );
|
||||
ModuleDatabase.LoadExplicit( "Core_PostFX" );
|
||||
ModuleDatabase.LoadExplicit( "Core_VR" );
|
||||
ModuleDatabase.LoadExplicit( "Core_VR" );
|
||||
ModuleDatabase.LoadExplicit( "Core_ClientServer" );
|
||||
|
||||
%prefPath = getPrefpath();
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
function Core_VR::onCreate(%this)
|
||||
{
|
||||
exec("./scripts/oculusVR.cs");
|
||||
}
|
||||
|
||||
function Core_VR::onDestroy(%this)
|
||||
{
|
||||
}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
$PostFXManager::Settings::ColorCorrectionRamp = "core/images/null_color_ramp.png";
|
||||
$PostFXManager::Settings::ColorCorrectionRamp = "core/postFX/images/null_color_ramp.png";
|
||||
$PostFXManager::Settings::DOF::BlurCurveFar = "";
|
||||
$PostFXManager::Settings::DOF::BlurCurveNear = "";
|
||||
$PostFXManager::Settings::DOF::BlurMax = "";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
$PostFXManager::Settings::ColorCorrectionRamp = "core/images/null_color_ramp.png";
|
||||
$PostFXManager::Settings::ColorCorrectionRamp = "core/postFX/images/null_color_ramp.png";
|
||||
$PostFXManager::Settings::DOF::BlurCurveFar = "";
|
||||
$PostFXManager::Settings::DOF::BlurCurveNear = "";
|
||||
$PostFXManager::Settings::DOF::BlurMax = "";
|
||||
|
|
|
|||
9
Templates/Modules/vr/VR.cs
Normal file
9
Templates/Modules/vr/VR.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
function VR::onCreate(%this)
|
||||
{
|
||||
exec("./scripts/oculusVR.cs");
|
||||
}
|
||||
|
||||
function VR::onDestroy(%this)
|
||||
{
|
||||
}
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<ModuleDefinition
|
||||
ModuleId="Core_VR"
|
||||
ModuleId="VR"
|
||||
VersionId="1"
|
||||
Description="Module that implements the core engine-level setup for the game."
|
||||
ScriptFile="Core_VR.cs"
|
||||
ScriptFile="VR.cs"
|
||||
CreateFunction="onCreate"
|
||||
DestroyFunction="onDestroy"
|
||||
Group="Core">
|
||||
Group="Game">
|
||||
</ModuleDefinition>
|
||||
Loading…
Reference in a new issue