This commit is contained in:
Ian Curtis 2017-08-03 11:05:04 +00:00
parent 3fc28159eb
commit 1d338877fc

View file

@ -141,7 +141,7 @@ void main()
// Need a minimum clamp // Need a minimum clamp
lightIntensity = max(lightIntensity,0.0); lightIntensity = max(lightIntensity,0.0);
// Upper clamp is optional, so games will drive brightness beyond 100% // Upper clamp is optional, some games will drive brightness beyond 100%
if(intensityClamp) { if(intensityClamp) {
lightIntensity = min(lightIntensity,1.0); lightIntensity = min(lightIntensity,1.0);
} }