[Edit: demo works as expected, I got confused ]
For a few months I’ve noticed that the RectAreaLight demo seems to be rendering inaccurately. Lately it looks like a simple crossfade between diffuse and shiny terms instead of the more natural, accurate effect it had in the past.
Current (weird/wrong) appearance:
It looks a lot like what happens when you don’t init the RectAreaLightUniformsLib, but I can see that the demo is correctly including and running the code (I think).
I’m going to try and confirm if this is a regression, and if so, from which version. Just wondering if anyone else has noticed this and if we can come up with a workaround and/or fix.
Edit: RectAreaLight is working as expected in v160, in a new scene.
So it seems like there might just a bug in the demo itself. I’ll try figure out if it’s always been like this…