- Home /
Lighting a fully procedural scene
I am trying to improve the image quality of my app, the problem is that at the start of the app there is NOTHING in the scene aside from UI elements. All the environment and models are generated at runtime. without the use of any prefabs. All the meshes are created from scratch once play is hit. I am already using the PP stack, and it is improving the base image slightly, but my problem is lighting the scene. Since everything is generated at runtime there is no way of baking anything. I have searched google and the forums extensively on this topic to no avail.
So I am hoping someone can point me in the direction of any kind of lighting solution(s) for this situation.
You could use vertex lighting, or use a shader that supports lightmaps for your models.
Since you say it's an app I assume that real-time point-based lighting is out of the question.
Vertex lighting is out of the question. I need a high quality solution. AT$$anonymous$$ I am using only a directional light, but can have several point and/or spot lights in the scene once everything is built.
Your answer
![](https://koobas.hobune.stream/wayback/20220612154001im_/https://answers.unity.com/themes/thub/images/avi.jpg)