Added camera position initialisation
This commit is contained in:
parent
23e41332dc
commit
1ff10a02b8
|
@ -5,9 +5,13 @@ public class CameraController : MonoBehaviour {
|
||||||
|
|
||||||
public Vector3 targetPos;
|
public Vector3 targetPos;
|
||||||
public Quaternion targetRot;
|
public Quaternion targetRot;
|
||||||
|
public Transform initLocation;
|
||||||
|
|
||||||
// Use this for initialization
|
// Use this for initialization
|
||||||
void Awake() {
|
void Awake() {
|
||||||
|
transform.position = initLocation.position;
|
||||||
|
transform.rotation = initLocation.rotation;
|
||||||
|
|
||||||
targetPos = transform.position;
|
targetPos = transform.position;
|
||||||
targetRot = transform.rotation;
|
targetRot = transform.rotation;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,12 +14,16 @@ QualitySettings:
|
||||||
shadowProjection: 1
|
shadowProjection: 1
|
||||||
shadowCascades: 1
|
shadowCascades: 1
|
||||||
shadowDistance: 15
|
shadowDistance: 15
|
||||||
|
shadowCascade2Split: .333333343
|
||||||
|
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
|
||||||
blendWeights: 1
|
blendWeights: 1
|
||||||
textureQuality: 1
|
textureQuality: 1
|
||||||
anisotropicTextures: 0
|
anisotropicTextures: 0
|
||||||
antiAliasing: 0
|
antiAliasing: 0
|
||||||
softParticles: 0
|
softParticles: 0
|
||||||
softVegetation: 0
|
softVegetation: 0
|
||||||
|
realtimeReflectionProbes: 0
|
||||||
|
billboardsFaceCameraPosition: 0
|
||||||
vSyncCount: 0
|
vSyncCount: 0
|
||||||
lodBias: .300000012
|
lodBias: .300000012
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
|
@ -33,12 +37,16 @@ QualitySettings:
|
||||||
shadowProjection: 1
|
shadowProjection: 1
|
||||||
shadowCascades: 1
|
shadowCascades: 1
|
||||||
shadowDistance: 20
|
shadowDistance: 20
|
||||||
|
shadowCascade2Split: .333333343
|
||||||
|
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
|
||||||
blendWeights: 2
|
blendWeights: 2
|
||||||
textureQuality: 0
|
textureQuality: 0
|
||||||
anisotropicTextures: 0
|
anisotropicTextures: 0
|
||||||
antiAliasing: 0
|
antiAliasing: 0
|
||||||
softParticles: 0
|
softParticles: 0
|
||||||
softVegetation: 0
|
softVegetation: 0
|
||||||
|
realtimeReflectionProbes: 0
|
||||||
|
billboardsFaceCameraPosition: 0
|
||||||
vSyncCount: 0
|
vSyncCount: 0
|
||||||
lodBias: .400000006
|
lodBias: .400000006
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
|
@ -52,12 +60,16 @@ QualitySettings:
|
||||||
shadowProjection: 1
|
shadowProjection: 1
|
||||||
shadowCascades: 1
|
shadowCascades: 1
|
||||||
shadowDistance: 20
|
shadowDistance: 20
|
||||||
|
shadowCascade2Split: .333333343
|
||||||
|
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
|
||||||
blendWeights: 2
|
blendWeights: 2
|
||||||
textureQuality: 0
|
textureQuality: 0
|
||||||
anisotropicTextures: 1
|
anisotropicTextures: 1
|
||||||
antiAliasing: 0
|
antiAliasing: 0
|
||||||
softParticles: 0
|
softParticles: 0
|
||||||
softVegetation: 0
|
softVegetation: 0
|
||||||
|
realtimeReflectionProbes: 0
|
||||||
|
billboardsFaceCameraPosition: 0
|
||||||
vSyncCount: 0
|
vSyncCount: 0
|
||||||
lodBias: .699999988
|
lodBias: .699999988
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
|
@ -71,12 +83,16 @@ QualitySettings:
|
||||||
shadowProjection: 1
|
shadowProjection: 1
|
||||||
shadowCascades: 2
|
shadowCascades: 2
|
||||||
shadowDistance: 40
|
shadowDistance: 40
|
||||||
|
shadowCascade2Split: .333333343
|
||||||
|
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
|
||||||
blendWeights: 2
|
blendWeights: 2
|
||||||
textureQuality: 0
|
textureQuality: 0
|
||||||
anisotropicTextures: 1
|
anisotropicTextures: 1
|
||||||
antiAliasing: 0
|
antiAliasing: 0
|
||||||
softParticles: 0
|
softParticles: 0
|
||||||
softVegetation: 1
|
softVegetation: 1
|
||||||
|
realtimeReflectionProbes: 1
|
||||||
|
billboardsFaceCameraPosition: 1
|
||||||
vSyncCount: 1
|
vSyncCount: 1
|
||||||
lodBias: 1
|
lodBias: 1
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
|
@ -90,12 +106,16 @@ QualitySettings:
|
||||||
shadowProjection: 1
|
shadowProjection: 1
|
||||||
shadowCascades: 2
|
shadowCascades: 2
|
||||||
shadowDistance: 70
|
shadowDistance: 70
|
||||||
|
shadowCascade2Split: .333333343
|
||||||
|
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
|
||||||
blendWeights: 4
|
blendWeights: 4
|
||||||
textureQuality: 0
|
textureQuality: 0
|
||||||
anisotropicTextures: 2
|
anisotropicTextures: 2
|
||||||
antiAliasing: 2
|
antiAliasing: 2
|
||||||
softParticles: 1
|
softParticles: 1
|
||||||
softVegetation: 1
|
softVegetation: 1
|
||||||
|
realtimeReflectionProbes: 1
|
||||||
|
billboardsFaceCameraPosition: 1
|
||||||
vSyncCount: 1
|
vSyncCount: 1
|
||||||
lodBias: 1.5
|
lodBias: 1.5
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
|
@ -109,12 +129,16 @@ QualitySettings:
|
||||||
shadowProjection: 1
|
shadowProjection: 1
|
||||||
shadowCascades: 4
|
shadowCascades: 4
|
||||||
shadowDistance: 150
|
shadowDistance: 150
|
||||||
|
shadowCascade2Split: .333333343
|
||||||
|
shadowCascade4Split: {x: .0666666701, y: .200000003, z: .466666669}
|
||||||
blendWeights: 4
|
blendWeights: 4
|
||||||
textureQuality: 0
|
textureQuality: 0
|
||||||
anisotropicTextures: 2
|
anisotropicTextures: 2
|
||||||
antiAliasing: 2
|
antiAliasing: 2
|
||||||
softParticles: 1
|
softParticles: 1
|
||||||
softVegetation: 1
|
softVegetation: 1
|
||||||
|
realtimeReflectionProbes: 1
|
||||||
|
billboardsFaceCameraPosition: 1
|
||||||
vSyncCount: 1
|
vSyncCount: 1
|
||||||
lodBias: 2
|
lodBias: 2
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
|
|
Loading…
Reference in New Issue