• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.

Question Lightning effects game performance?

Waslikethem

Active member
Joined
Feb 22, 2023
Messages
117
Reactions
33
Does adding a lot of lightning into a scene effects the game performance? I have a big scene with 20+ lightning sources
 
If they're on, you bet they do.
Just turn on the FPS monitor and see how much.
 
Upvote 0
If the light is static...meaning both the lights and the objects they shine on are stationary, you can bake Lightmaps in Unity. These are essentially addtional textures containing lighting info for each texel.

Also be aware of the pixel light count setting in UserPrefs. Most people will have this turned to 3. If there are more in the scene, VaM will dynamically pick the 3 most important lights for each rendered object individually and ignore other lights.
 
Upvote 0
i removed all the shadows from my lightning sources, and decres the amount of light in overall, i just added in 3 minutes +15 fps... it's huge.
My average FPS now is 28-32
 
Upvote 0
Yeah, try to limit Scenes to 2 or 3 sources of light, unless you got a 4080 / 4090 / 7900 XT / 7900 XTX card (or the equivalents of the previous generation maybe), then sure you could go to 4, 5 and 6 sources even. But generally-speaking 3 sources is 'max' (for efficiency, scene lightning quality and performance balance).
 
Upvote 0
Back
Top Bottom