I disabled the lighting. This improved several things. The text that was invisible (black) is now visible and readable. The UI is fixed. A lot of things got better and the performance increase was significant. But obviously… it’s not magic, and there’s still more to do

This commit is contained in:
Dante Leoncini 2026-05-02 18:00:40 -03:00
parent c3120900b4
commit 52d43468b3

View file

@ -988,7 +988,9 @@ setLights(WorldLights *lightData)
out: out:
if(n > 0 || lightData->numAmbients > 0) if(n > 0 || lightData->numAmbients > 0)
glEnable(GL_LIGHTING); //pruebo a ver que tal sin luz
//glEnable(GL_LIGHTING);
glDisable(GL_LIGHTING);
else else
glDisable(GL_LIGHTING); glDisable(GL_LIGHTING);