- Home /
Is Vertex Lighting still computed if no lights are in the scene?
Quick question about vertex lighting in vertex lit shaders, or even surface shaders for that matter...
Let's say I only use lights to bake my Lightmaps, but in-game, all lights are turned off/deleted, will the shader still computer vertex lighting at runtime and be slower then a UNLIT shader?
I understand that if I have realtime lights in my scene at runtime, the lighting will be computed and the shader will be slower then an UNLIT shader, but if I don't have ANY lights in my scene at runtime, does this still hold true?
Thanks for your time! Stephane
Your answer
Follow this Question
Related Questions
how to make a single object lit differently by 2 lights source of same kind 0 Answers
How do I incorporate per-vertex lighting data into a surface shader? 0 Answers
Switching shader Lighting On/Off from script 1 Answer
Implementing Custom Vertex Lighting Shader 1 Answer
[ShaderGraph] How can I prevent lights overlapping in intensity? 0 Answers