Added camera position initialisation

This commit is contained in:
Thomas Abot 2015-03-08 09:56:11 +01:00
parent 23e41332dc
commit 1ff10a02b8
2 changed files with 28 additions and 0 deletions

View File

@ -5,9 +5,13 @@ public class CameraController : MonoBehaviour {
public Vector3 targetPos;
public Quaternion targetRot;
public Transform initLocation;
// Use this for initialization
void Awake() {
transform.position = initLocation.position;
transform.rotation = initLocation.rotation;
targetPos = transform.position;
targetRot = transform.rotation;
}

View File

@ -14,12 +14,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 1
shadowDistance: 15
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 1
textureQuality: 1
anisotropicTextures: 0
antiAliasing: 0
softParticles: 0
softVegetation: 0
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
lodBias: .300000012
maximumLODLevel: 0
@ -33,12 +37,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 1
shadowDistance: 20
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 0
antiAliasing: 0
softParticles: 0
softVegetation: 0
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
lodBias: .400000006
maximumLODLevel: 0
@ -52,12 +60,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 1
shadowDistance: 20
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 1
antiAliasing: 0
softParticles: 0
softVegetation: 0
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
lodBias: .699999988
maximumLODLevel: 0
@ -71,12 +83,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 2
shadowDistance: 40
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 1
antiAliasing: 0
softParticles: 0
softVegetation: 1
realtimeReflectionProbes: 1
billboardsFaceCameraPosition: 1
vSyncCount: 1
lodBias: 1
maximumLODLevel: 0
@ -90,12 +106,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 2
shadowDistance: 70
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 4
textureQuality: 0
anisotropicTextures: 2
antiAliasing: 2
softParticles: 1
softVegetation: 1
realtimeReflectionProbes: 1
billboardsFaceCameraPosition: 1
vSyncCount: 1
lodBias: 1.5
maximumLODLevel: 0
@ -109,12 +129,16 @@ QualitySettings:
shadowProjection: 1
shadowCascades: 4
shadowDistance: 150
shadowCascade2Split: .333333343
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
blendWeights: 4
textureQuality: 0
anisotropicTextures: 2
antiAliasing: 2
softParticles: 1
softVegetation: 1
realtimeReflectionProbes: 1
billboardsFaceCameraPosition: 1
vSyncCount: 1
lodBias: 2
maximumLODLevel: 0