Hi,
Is there any maximum light count limit per material in glsl mode?
Thanks.
Hi,
Is there any maximum light count limit per material in glsl mode?
Thanks.
According to the code, no. There is a performance hit though because bge uses one pass per light approach so each light adds one rendering pass for the whole scene.
I just have very strange problem. On viewport everything looks ok, but when I run the game, lights starts to behave oddly. Even if 'this layer only" was checked, meshes from other layers were also getting that light. The problem was solved by duplicating the material. Thats why I thought there are light limitation on per meterial.
Thank you for the reply.