My current solution would be to just remove this flag.
This flag does not make sense for every derived scene node type and e.g. when using the deferred renderer this information can't be used due to the principle of a deferred renderer.
In case such a setting is really required, I assume that nowadays a better solution would be a material attribute which the used scene renderer interprets as best as possible. While a forward renderer would be able to process this attribute, a deferred renderer would just ignore it.
Any second thoughts?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My current solution would be to just remove this flag.
This flag does not make sense for every derived scene node type and e.g. when using the deferred renderer this information can't be used due to the principle of a deferred renderer.
In case such a setting is really required, I assume that nowadays a better solution would be a material attribute which the used scene renderer interprets as best as possible. While a forward renderer would be able to process this attribute, a deferred renderer would just ignore it.
Any second thoughts?