I was just wondering if I would gain speed or loose it if I disabled lights with glDisable when there isn't anything to fill their slots and then enable them again when there is, or if I should just give the unused lights some values to make them "dead".



LinkBack URL
About LinkBacks



. I was just wondering if I had a player run through a level and I was doing a lot of glDisable's and glEnable's for the lighting slots if it would be slower than just filling the lights with dead values when they weren't being used. Again, I wasn't trying to be rude. I'm just wondering how slow disabling and enabling lights is.