====== Physically Based Sky ====== Physically Based Sky uses the Hosek-Wilkie 2012 source code and the Smith-Duffett-Zwart 2011 Practical Astronomy code to generate dynamic texture maps of a physically based sky for a physical location, date, and time. It generates pixel maps ready to be uploaded into OpenGL. ==== PhysicallyBasedSky ==== === Members === * ''generatedCubeMap : Image'' * ''generatedCylMap : Image'' * ''generatedSphMap : Image'' === Methods === * ''public SetLocation(latitude : number, longitude : number) : void'' * ''public SetLocalDate(day, month, year, isdst, timeOffset) : void'' * ''public SetLocalTime(hh, mm, ss, ss_frac) : void'' * ''public ComputeSunFromLocale() : void'' * ''public SetTurbidity(T) : void'' * ''public SetSunPosition(azimuth, altitude) : void'' * ''public SetGroundAlbedo(r, g, b) : void'' * ''public ComputeCubeMap(resolution) : void'' * ''public ComputeCylMap(width, height) : void'' * ''public ComputeSphMap(width, height) : void''