Allow user to name a specific light that will generate lens flare. (#3305)
Only try to use the named lens flare light, if there is one.
Otherwise, try to use the first directional light.
Add spot light example to lensflare_plugin.world
Co-authored-by: Steve Peters <email address hidden>
Signed-off-by: Steve Peters <email address hidden>
ba78508...
by
Silvio Traversaro <email address hidden>
Fix Instance() method of Singleton classes (#3269)
In particular, make sure that all the Instance() methods
of the same class always use the same instantiation.
Add detailed documentation on SingletonT.
The pre-existing model in the test world exhibits
the lens flare rendering bug without the fix in
this branch, so I added an extra model at a different
pose that does not exhibit the bug. It makes it
easier to confirm that the bug is fixed.
* Add extra cameras with occluded views
* Add another camera with box to its side that
is incorrectly occluded
Signed-off-by: Steve Peters <email address hidden>
08f01aa...
by
=?utf-8?q?Ond=C5=99ej_Svoboda?= <email address hidden>
Fix template specialization in constructors (#3295)