Static dir lights work with ES2 but not with Shadel Model 5.
Hi! I'm working on a game that it's aimed for mobile and had a question about lighting. I have 3 directional lights in a scene: 1 for the sun and 2 as a sky fill. The sun dir. light is set to moveable, light intensity 8 and casts shadow. The 2 sky fill dir. light are set to static, light intensity 0.5 and don't casts shadows. (I also have global illumination set to 0). If I set the Preview Rendering Level to Shader Model 5 and build lighting, it looks like the 2 static lights are not working: And if I set it to Mobile and build lighting, they appear to work just fine: So, just to understand how all of this works, I was wondering why the 2 static lights are not working with Shader Model 5. Is there an option I might have messed with? Thanks.
I was able to recreate what you were experiencing with the workflow that you used.
First, global illumination refers to the intensity of static lighting being processed inside of your scene. It does not refer to a light being created that effects the entire world.
Think of global illumination as dimmer switch. Turned all the way down to 0 you will not see the light. Set to max you will see the full intensity of the light.
Recreate this test, or if you saved use the on you had, and set the global illumination to 1. You can set it higher but for this test 1 will do. This tells the engine to multiply all of the static light values and multiply them by 1.
answered Aug 06 '15 at 02:12 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here