Techniques for brightness adjustment