You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ofLight.enable() calls ofEnableLighting(), butofLight.disable() does not call ofDisableLighting(), which seems counter intuitive to me, as it means disabling a light, but then drawing additional geometry you don't want lit, requires a manual ofDisableLighting() call, even if you .. just disabled your light?
For sanity / completeness and grammar, I think this is a bug.
The text was updated successfully, but these errors were encountered:
Im an idiot, if you push / pop lights they'd disable one another. You'd have to manage state to fix this. Ugh. Stylistically this drives me nuts, but yea, that was dumb.
ofLight.enable() calls ofEnableLighting(), butofLight.disable() does not call ofDisableLighting(), which seems counter intuitive to me, as it means disabling a light, but then drawing additional geometry you don't want lit, requires a manual ofDisableLighting() call, even if you .. just disabled your light?
For sanity / completeness and grammar, I think this is a bug.
The text was updated successfully, but these errors were encountered: