I'm building a virtual exhibition platform in unity. There are about 50 stalls and I used a directional light and 124 point lights light up the scene. I didn't use any real time lighting, only baked lighting is used. But at runtime frames get dropped. when I inactivate all pointlights it works smoothly. How can I optimize lights?
How to optimize lights in Unity
1.5k Views Asked by Intern At
2
There are 2 best solutions below
0
Michael Urvan
On
124 Point Lights that is a LOT of lights, but you could use Deferred Rending path on your Camera (but if you need VR I'm not sure its supported).. You can set the Point Lights to be Baked, use Baked lighting and light probes instead. Set everything that won't move in your scene to be Static objects (very top right corner box). also remember to go into Rendering -> Lighting and Generate the Lighting and look at the options presented there. Light probes video
Related Questions in UNITY-GAME-ENGINE
- Using arrow keys to rotate an object
- know object behind another object is fully visible
- Unity3d AudioSource not creatable
- Unity3d - Input.GetKey returns true more than once
- Flurry Ads on Unity3D with Prime31 plugin
- Make screenshot of DirectX window that is hidden and doesn't have focus
- Coroutine being detected as inactive despite being active
- Unity3D: Adding charged force in relation to position
- Unity - Particles emitting non-random
- 3d mouse aim camera 3rd person vertical C#
- Unity: How would I go about creating a power up system?
- Unity - Gui Button issues (Android)
- Unity3d strange Collider behaviour
- Start() function doesn't work properly after Application.LoadLevel
- Gravity works weird
Related Questions in OPTIMIZATION
- Does compiler optimize operation on const variable and literal const number?
- Optimizing for Social Leaderboards
- 3D FFT with data larger than cache
- Optimum directory structure for large number of files to display on a page
- How to make faster queries on my mysql table?
- Xib taking long time (>1s) to load. UIFont cache seems to blame
- How to speed up string comparisons in an array with a for loop?
- How to load all symbols from shared library on start up?
- Cython speed vs numpy
- Improve Speed of Piecewise Function in MATLAB
- How to check that all values are equal in array using recursion?
- PHP split string into known tokens and remaining words add to single-worded array
- Python: why is my O(n) slowing down as it progresses?
- Hint indexes to mysql on Join
- Error When Compiler Optimizations are on
Related Questions in GAME-DEVELOPMENT
- Slow down player when colliding with "dirt" on ground
- Using Neural Networks Without Training Them
- How can I write a simple real-time game loop in pure Haskell?
- JS TileMap iOS 8 and swift, incomprehensible archive?
- Line to Circle transformation
- AWT Canvas BufferStrategy and resize flickering
- Player Movement Troubles
- Cant understand how to get this collision detection to work what am i doing wrong?
- How do I simulate a button click for BattleCry?
- c# XNA 4.0 Camera zoom and sprite resizing
- Github release a specific folder
- Getting a point in the local frame of a simulated robot
- Tips for an AI for a 2D racing game
- Adding a Mysql query to a Javascript function?
- Post Streamlined: Need PLC Project Advice: Arcade Button Pre-Encoder, Remapping+Turbo+Slow Functions
Related Questions in VIRTUALIZATION
- Commit data in a mysql container
- OSX kext: Can't open IOResouces in ::start() due to owned by some other
- Android Studio - HAX kernel Module not installed
- How feasible is it to virtualise the FILE* interfaces of C?
- what is the use of nested containers and root privilege isolation
- How do I set up a virtual environment with Flask using conda?
- on reboot revert back to original state
- Host Only connection NetBSD to Windows
- Geny Motion v2.4.0. Virtualization engine not found. Plugin loading aborted
- Enabling Virtualization with no option in BIOS (Windows 8.1 basic, Samsung laptop)
- How to set dhrystone benchmark clock rate for emulator?
- an issue when trying to enable virtualization
- Generating fingerprint of virtual machines
- One way communication between vm's?
- How to automate application installation in virtual machine?
Related Questions in DIRECTIONAL-LIGHT
- Stripped shadows on collada objects
- Shadows in React-Three-Fiber working but cropped in rectangular region for no reason
- SkyShader example, get light color
- WebGL - Directional lighting without texture mapping?
- How to optimize lights in Unity
- Calculating tight ortho projection matrix for shadow mapping
- Directional light shadow in mapbox
- Shadows going through objects
- three.js light from camera straight to object
- Projection View matrix calculation for directional light shadow mapping
- Unwanted self shadowing
- What is OpenGL Default Light Position?
- LWJGL GLSL shader directional light appears inside out
- Shadows Distance problems in ThreeJS
- Understaing shadow acne better
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

You can improve your performance by doing the following,
Alternate way : Build and bake each stall separately in Blender or Maya. Then add them to unity. This way you don't need to add that many point lights and bake.