Original Post
hi, i actually implemented the daylight/skylight paper, ("A Practical Analytic Model for Daylight" by Preetham et al) my sky is always dark, i can multiply the luminance to get better results, my code looks like this: RGB_C = XYZ_to_RGB(Yxy_to_XYZ(Yxy_C)); the functions are selfexplaning, shall i clamp the colors or so to get better results?? thankx in advance tgar