|
"float sunIntensity(float zenithAngleCos)",
|
|
"float sunIntensity(float zenithAngleCos)",
|
|
"return EE * max(0.0, 1.0 - pow(e, -((cutoffAngle - acos(zenithAngleCos))/steepness)));",
|
|
"return EE * max(0.0, 1.0 - pow(e, -((cutoffAngle - acos(zenithAngleCos))/steepness)));",
|