When i use " mat.maxSimultaneousLights = 20" Windows system will appear error, Mac system is normal


Uploading: 33881637740426_.pic_hd.jpg…

Uploading: 33901637740455_.pic_hd.jpg…

When I delete "mat.maxSimultaneousLights = 20 " windows system is normal .

Here’s an explanation on why there is a limit on the number of lights you can use for a mesh at once:


when I set ‘mtl.maxSimultaneousLights = 300’, Still report the previous error :sob: ,
Do you need to set the parameters larger,eg:mtl.maxSimultaneousLights = 600

windows system still appear this error when i use your playground .

Depending on your GPU, the number of lights that can be active at once will change: decrement the value of the loop bound until it works: on my GPU it is 9.


Ok,I get it,thank you.