mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
add animated spotlight and pointlight to test scene
This commit is contained in:
parent
30ced89ce3
commit
ed7ace451c
1 changed files with 69 additions and 3 deletions
|
|
@ -71,7 +71,7 @@ new SimGroup(MissionGroup) {
|
||||||
scale = "1 1 1";
|
scale = "1 1 1";
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
canSaveDynamicFields = "1";
|
canSaveDynamicFields = "1";
|
||||||
Direction = "1 1 -1";
|
direction = "1 1 -1";
|
||||||
};
|
};
|
||||||
new SimGroup(PlayerDropPoints) {
|
new SimGroup(PlayerDropPoints) {
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
|
|
@ -242,8 +242,8 @@ new SimGroup(MissionGroup) {
|
||||||
playAmbient = "1";
|
playAmbient = "1";
|
||||||
meshCulling = "0";
|
meshCulling = "0";
|
||||||
originSort = "0";
|
originSort = "0";
|
||||||
CollisionType = "Collision Mesh";
|
CollisionType = "Visible Mesh";
|
||||||
DecalType = "Collision Mesh";
|
DecalType = "Visible Mesh";
|
||||||
allowPlayerStep = "0";
|
allowPlayerStep = "0";
|
||||||
alphaFadeEnable = "0";
|
alphaFadeEnable = "0";
|
||||||
alphaFadeStart = "100";
|
alphaFadeStart = "100";
|
||||||
|
|
@ -285,5 +285,71 @@ new SimGroup(MissionGroup) {
|
||||||
canSave = "1";
|
canSave = "1";
|
||||||
canSaveDynamicFields = "1";
|
canSaveDynamicFields = "1";
|
||||||
};
|
};
|
||||||
|
new SpotLight() {
|
||||||
|
range = "10";
|
||||||
|
innerAngle = "5";
|
||||||
|
outerAngle = "45";
|
||||||
|
isEnabled = "1";
|
||||||
|
color = "1 0 0 1";
|
||||||
|
brightness = "1";
|
||||||
|
castShadows = "1";
|
||||||
|
staticRefreshFreq = "32";
|
||||||
|
dynamicRefreshFreq = "8";
|
||||||
|
priority = "1";
|
||||||
|
animate = "1";
|
||||||
|
animationType = "SpinLightAnim";
|
||||||
|
animationPeriod = "5";
|
||||||
|
animationPhase = "1";
|
||||||
|
flareScale = "1";
|
||||||
|
attenuationRatio = "0 1 1";
|
||||||
|
shadowType = "Spot";
|
||||||
|
texSize = "512";
|
||||||
|
overDarkFactor = "2000 1000 500 100";
|
||||||
|
shadowDistance = "400";
|
||||||
|
shadowSoftness = "0.15";
|
||||||
|
numSplits = "1";
|
||||||
|
logWeight = "0.91";
|
||||||
|
fadeStartDistance = "0";
|
||||||
|
lastSplitTerrainOnly = "0";
|
||||||
|
representedInLightmap = "0";
|
||||||
|
shadowDarkenColor = "0 0 0 -1";
|
||||||
|
includeLightmappedGeometryInShadow = "0";
|
||||||
|
position = "-11.3397 10.2393 5.48993";
|
||||||
|
rotation = "0.996932 0.0250098 -0.0741721 37.3757";
|
||||||
|
canSave = "1";
|
||||||
|
canSaveDynamicFields = "1";
|
||||||
|
};
|
||||||
|
new PointLight() {
|
||||||
|
radius = "10";
|
||||||
|
isEnabled = "1";
|
||||||
|
color = "0.011612 1 0.991102 1";
|
||||||
|
brightness = "1";
|
||||||
|
castShadows = "1";
|
||||||
|
staticRefreshFreq = "32";
|
||||||
|
dynamicRefreshFreq = "8";
|
||||||
|
priority = "1";
|
||||||
|
animate = "1";
|
||||||
|
animationType = "SubtlePulseLightAnim";
|
||||||
|
animationPeriod = "1";
|
||||||
|
animationPhase = "1";
|
||||||
|
flareScale = "1";
|
||||||
|
attenuationRatio = "0 1 1";
|
||||||
|
shadowType = "DualParaboloidSinglePass";
|
||||||
|
texSize = "512";
|
||||||
|
overDarkFactor = "2000 1000 500 100";
|
||||||
|
shadowDistance = "400";
|
||||||
|
shadowSoftness = "0.15";
|
||||||
|
numSplits = "1";
|
||||||
|
logWeight = "0.91";
|
||||||
|
fadeStartDistance = "0";
|
||||||
|
lastSplitTerrainOnly = "0";
|
||||||
|
representedInLightmap = "0";
|
||||||
|
shadowDarkenColor = "0 0 0 -1";
|
||||||
|
includeLightmappedGeometryInShadow = "0";
|
||||||
|
position = "-9.67408 18.3499 3.91894";
|
||||||
|
rotation = "1 0 0 0";
|
||||||
|
canSave = "1";
|
||||||
|
canSaveDynamicFields = "1";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
//--- OBJECT WRITE END ---
|
//--- OBJECT WRITE END ---
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue