- Home /
Question by
rafaelbarretobra · Jan 19, 2017 at 10:02 AM ·
fpsdaycycle
Low fps with day/Night cycle
I have a simple scene in my game, a village, two terrains. My fps drops dramatically when I turn on my day/night cycle which consists of two indirect lights with a simple script that makes them rotate around the center, using
void Update () {
transform.RotateAround (Vector3.zero, Vector3.right, speed * Time.deltaTime);
transform.LookAt (Vector3.zero);
}
Is there any way around this or I can't have a day/night cycle in my project?
My email - mundiproject@hotmail.com
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612105122im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
FPS bone model Question ?? 0 Answers
FPS Advance Gun Script 1 Answer
machinegun don t work 2 Answers
FPS Webplayer problem 0 Answers
GetComponent not Returning 1 Answer